PEP 8 (I'm bored): now_playing
This commit is contained in:
parent
45e0a13cf5
commit
1d46cde704
@ -94,11 +94,11 @@ class NowPlaying(IntervalModule):
|
||||
"pos": 0,
|
||||
"volume": int(get_prop("Volume") * 100),
|
||||
|
||||
"title":currentsong.get("xesam:title", ""),
|
||||
"title": currentsong.get("xesam:title", ""),
|
||||
"album": currentsong.get("xesam:album", ""),
|
||||
"artist": ", ".join(currentsong.get("xesam:artist", "")),
|
||||
"song_length": TimeWrapper((currentsong.get("mpris:length") or 0) / 1000**2),
|
||||
"song_elapsed": TimeWrapper((get_prop("Position") or 0) / 1000**2),
|
||||
"song_length": TimeWrapper((currentsong.get("mpris:length") or 0) / 1000 ** 2),
|
||||
"song_elapsed": TimeWrapper((get_prop("Position") or 0) / 1000 ** 2),
|
||||
"filename": "",
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user