kingosticks / mopidy-tunein

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

Stop inheriting from StreamPlaybackProvider #28

Closed kingosticks closed 8 years ago

kingosticks commented 8 years ago

https://github.com/mopidy/mopidy/pull/1447 introduces changes to StreamPlaybackProvider which makes it incompatible with what we try and reuse it for. As a quick fix this PR 'borrows' the specific _unwrap_stream function we were utilising. In doing so we also now make use of Mopidy's internal API which is a bad idea; this API is subject to change without warning and we won't complain if/when this happens. We should therefore aim to revisit this at some point and fix is properly.