bjarneo / Pytify

A CLI application for controlling Spotify
MIT License
741 stars 40 forks source link

Moving all platform specific functionality into its own class. #10

Closed Newky closed 9 years ago

Newky commented 9 years ago

All platform specific behaviour is isolated in its own class. cli.py uses the get_spotipy_class_by_platform to decide which to use. Also fixed the dbus interface previous on Linux. It was previously using self.interface.Prev() but this fails out. It is actually Previous(). I was using this website to determine this: http://www.frandieguez.com/blog/2010/11/playing-with-d-bus-interface-of-spotify-for-linux/

Newky commented 9 years ago

@bjarneo Awesome work on this, hope some of this is useful :)

bjarneo commented 9 years ago

Looks nice. I like it. Thanks for great pull request :)

Thanks for the link. Perhaps I should expand the application now :)