CC-2919: Media Monitor: recorded show doesn't show on library after
recording is done - fixed - extra fix: Airtime wasn't updating file when updating metadata Conflicts: airtime_mvc/application/controllers/LibraryController.php
This commit is contained in:
parent
bf15b4cf0d
commit
dcda08e17a
4 changed files with 23 additions and 4 deletions
|
@ -125,7 +125,7 @@ class AirtimeMetadata:
|
|||
self.logger.debug("Saving %s to file", key)
|
||||
self.logger.debug(value)
|
||||
if isinstance(value, basestring) and (len(value) > 0):
|
||||
airtime_file[self.airtime2mutagen[key]] = unicode(value, "utf-8")
|
||||
airtime_file[self.airtime2mutagen[key]] = api_client.encode_to(value, 'utf-8')
|
||||
elif isinstance(value, int):
|
||||
airtime_file[self.airtime2mutagen[key]] = str(value)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue