9and3r / mopidy-touchscreen

Extension for displaying track info and controlling Mopidy from a touch screen using PyGame/SDL
Apache License 2.0
45 stars 24 forks source link

Mopidy 1.0 compatibility #1

Closed jodal closed 9 years ago

jodal commented 9 years ago

Mopidy 1.0 release is right around the corner. We've changed some of the Core API to prepare for future changes, like gapless playback.

It looks like Mopidy-Touchscreen use core.playback.change_track() at https://github.com/9and3r/mopidy-touchscreen/blob/master/mopidy_touchscreen/tracklist.py#L35, which is no longer public. I didn't make a pull request as I'm not sure exactly how the extension works and what's the best replacement. One suggestion is simply to use core.playback.play(self.tracks[post]) instead.

When you fix this, please make sure to update the extension's dependency to Mopidy in setup.py to Mopidy >= 1.0.

jodal commented 9 years ago

The on_error_step argument has been removed from play(), so you'll need to remove that too.