i3pystatus/i3pystatus/spotify.py
Thiago Kenji Okada 5e3434bd29 Remove playerctl module
Playerctl uses the exactly same interface as now_playing, however it
depends on a external binary dependency instead of dbus-python. And
now_playing is more feature complete and follows the standard set by
other modules (like the mpd module), while playerctl used an alien
configuration.

Spotify module used to depend on playerctl. Actually, playerctl was the
whole spotify module. So now it uses now_playing. I don't know if
spotify only works with playerctl, however in theory if depends on the
same dbus interface implemented on now_playing. Needs testing.
2017-01-13 20:55:13 -02:00

9 lines
194 B
Python

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