fix playback status
This commit is contained in:
parent
2eee4c390c
commit
0c32d13e6f
1 changed files with 2 additions and 2 deletions
|
@ -44,9 +44,9 @@ class Module(core.module.Module):
|
||||||
spotify_iface.Get("org.mpris.MediaPlayer2.Player", "PlaybackStatus")
|
spotify_iface.Get("org.mpris.MediaPlayer2.Player", "PlaybackStatus")
|
||||||
)
|
)
|
||||||
if playback_status == "Playing":
|
if playback_status == "Playing":
|
||||||
self.__pause = "\u25B6"
|
|
||||||
else:
|
|
||||||
self.__pause = "\u258D\u258D"
|
self.__pause = "\u258D\u258D"
|
||||||
|
else:
|
||||||
|
self.__pause = "\u25B6"
|
||||||
self.__song = self.__format.format(
|
self.__song = self.__format.format(
|
||||||
album=str(props.get("xesam:album")),
|
album=str(props.get("xesam:album")),
|
||||||
title=str(props.get("xesam:title")),
|
title=str(props.get("xesam:title")),
|
||||||
|
|
Loading…
Reference in a new issue