kingosticks / mopidy-tunein

Mopidy extension for playing music from tunein
Apache License 2.0
65 stars 14 forks source link

TuneInPlayback now based on StreamPlaybackProvider #22

Closed digrix closed 8 years ago

digrix commented 8 years ago

I tried to base TuneInPlayback on StreamPlaybackProvider as ZenithDK proposed mopidy/mopidy#1250 (comment) and it works.

I looked also on the other classes (StreamBackend and StreamLibraryProvider), but it does not make much sense for me to extend these classes. For example StreamBackend in its __init__() constructs StreamPlaybackProvider, which we don't want. And StreamLibraryProvider also does nothing useful for tunein plugin.