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
This commit is contained in:
parent
7e3d25eeaa
commit
5e9aec93a8
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