i3pystatus/i3pystatus/spotify.py
Giancarlo Razzolini db14a88fc9
spotify: Fix the spotify module (#773)
The now_playing module does not use player_name anymore so the spotify module is broken.
Change it to use player so it works correctly.
2020-02-26 23:24:55 +01:00

9 lines
189 B
Python

from i3pystatus.now_playing import NowPlaying
class Spotify(NowPlaying):
"""
Get Spotify info using dbus interface. Based on `now_playing`_ module.
"""
player = "spotify"