core: Avoid use of deprecated property
This commit is contained in:
parent
cd83084804
commit
e67e4c2c6e
@ -626,7 +626,7 @@ class TracklistController(object):
|
||||
|
||||
def _mark_played(self, tl_track):
|
||||
"""Internal method for :class:`mopidy.core.PlaybackController`."""
|
||||
if self.consume and tl_track is not None:
|
||||
if self.get_consume() and tl_track is not None:
|
||||
self.remove({'tlid': [tl_track.tlid]})
|
||||
return True
|
||||
return False
|
||||
|
||||
Loading…
Reference in New Issue
Block a user