fix playback status

This commit is contained in:
LtPeriwinkle 2020-06-24 12:15:32 -07:00
parent 2eee4c390c
commit 0c32d13e6f

View file

@ -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")),