CC-3849: PlaylistLibrary->Edit Metadata: The deletion of metadata entries has no effect after saving
-fixed
This commit is contained in:
parent
e3bacba39b
commit
c521e3c545
1 changed files with 5 additions and 3 deletions
|
@ -97,10 +97,12 @@ class AirtimeMetadata:
|
|||
|
||||
if value is not None:
|
||||
value = unicode(value)
|
||||
else:
|
||||
value = unicode('');
|
||||
|
||||
if len(value) > 0:
|
||||
self.logger.debug("Saving key '%s' with value '%s' to file", key, value)
|
||||
airtime_file[self.airtime2mutagen[key]] = value
|
||||
#if len(value) > 0:
|
||||
self.logger.debug("Saving key '%s' with value '%s' to file", key, value)
|
||||
airtime_file[self.airtime2mutagen[key]] = value
|
||||
|
||||
airtime_file.save()
|
||||
except Exception, e:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue