gst1: Replace TagList() with TagList.new_empty()

This commit is contained in:
Stein Magnus Jodal 2015-09-02 21:30:32 +02:00
parent 6c9e2d4d34
commit ee51983cfd

View File

@ -743,7 +743,7 @@ class Audio(pykka.ThreadingActor):
:param track: the current track
:type track: :class:`mopidy.models.Track`
"""
taglist = Gst.TagList()
taglist = Gst.TagList.new_empty()
artists = [a for a in (track.artists or []) if a.name]
# Default to blank data to trick shoutcast into clearing any previous