mpris: Correcting get_CanGoPrevious to get() the future instead of passing it.
The failure was invisible to testcases
This commit is contained in:
parent
7af86d65ac
commit
21f3a8784a
@ -414,7 +414,7 @@ class MprisObject(dbus.service.Object):
|
||||
def get_CanGoPrevious(self):
|
||||
if not self.get_CanControl():
|
||||
return False
|
||||
tl_track = self.core.playback.current_tl_track
|
||||
tl_track = self.core.playback.current_tl_track.get()
|
||||
return (
|
||||
self.core.tracklist.previous_track(tl_track).get() !=
|
||||
tl_track)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user