CC-2633: added new encode_to()

- added encode_to() to api_client
- replaced .encode() with new encode_to()
This commit is contained in:
James 2011-08-05 14:40:03 -04:00
parent a199585cb9
commit 8995e828ff
10 changed files with 54 additions and 33 deletions

View file

@ -131,7 +131,7 @@ class ShowRecorder(Thread):
self.logger.info("time: %s" % time)
name = time+"-"+self.show_name
artist = "Airtime Show Recorder".encode('utf-8')
artist = api_client.encode_to("Airtime Show Recorder",'utf-8')
#set some metadata for our file daemon
recorded_file = mutagen.File(filepath, easy=True)