Various short bugfixes

thomasvs/morituri#139
This commit is contained in:
JoeLametta
2015-11-29 16:25:38 +01:00
parent c29da6cb97
commit 9ade743d63
4 changed files with 25 additions and 6 deletions

View File

@@ -479,7 +479,7 @@ class Program(log.Loggable):
# gst-python 0.10.15.1 does not handle unicode -> utf8 string
# conversion
# see http://bugzilla.gnome.org/show_bug.cgi?id=584445
if self.metadata and self.metadata.various:
if self.metadata and not self.metadata.various:
ret["album-artist"] = albumArtist.encode('utf-8')
ret[gst.TAG_ARTIST] = trackArtist.encode('utf-8')
ret[gst.TAG_TITLE] = title.encode('utf-8')