Merge pull request #1210 from ZyX-I/fix-1207
Only convert clementine title and album if they are true
This commit is contained in:
commit
61f0542946
|
@ -237,10 +237,14 @@ else:
|
|||
return
|
||||
if not info:
|
||||
return
|
||||
album = out_u(info.get('xesam:album'))
|
||||
title = out_u(info.get('xesam:title'))
|
||||
album = info.get('xesam:album')
|
||||
title = info.get('xesam:title')
|
||||
artist = info.get('xesam:artist')
|
||||
state = _convert_state(status)
|
||||
if album:
|
||||
album = out_u(album)
|
||||
if title:
|
||||
title = out_u(title)
|
||||
if artist:
|
||||
artist = out_u(artist[0])
|
||||
return {
|
||||
|
|
Loading…
Reference in New Issue