mopidy / mopidy-soundcloud

Mopidy extension for playing music from SoundCloud
https://mopidy.com/ext/soundcloud/
MIT License
183 stars 58 forks source link

Streams should play forever if necessary #70

Open prayerslayer opened 8 years ago

prayerslayer commented 8 years ago

(I will just leave this here, because I’d really like to have it. But no idea how this feature request relates to Mopidy's architecture, ie how much it relies on the concept of a directory/tracklist containing a finite number of files/tracks.)

Currently when I access SC streams via this extension I get either 10 (Stream) or 25 (Explore) tracks. These are played and that’s it. Party’s over. Can we somehow preload the next n tracks and append them to the tracklist?

I suppose we can't do it here as it’s only an interface to get tracks from SC without a notion of a currently playing track and so forth, but would it maybe somehow fit in a separate (frontend) extension? How would we know which stream to fetch from? Can we get it via the directory URI of a track in the tracklist?

Please advise :smiley:

adamcik commented 8 years ago

Sounds like you are looking for https://github.com/mopidy/mopidy/issues/620

prayerslayer commented 8 years ago

Hmm, this is probably The Right Way to do it, yes, but I want it now-ish. If you would have to think of a terrible hack that still works, what would that be?