Please tick all applicable boxes.
python --version on the command line)update scriptWhich version are you using?
master version (1.9.7)review versionWhat type of issue are you creating?
Would like to have MusicBot play from a stream when no music is in the queue. When a song is requested, close the stream and play the song immediately. Once the queue is done, attempt to re-connect to the stream.
Examples of features could be:
Example !help:
```
Usage:
!autostream {on/off/song_link} [save]
Automatically enqueues a media stream when no songs are playing.
Replaces autoplaylist in favor of automatically playing a stream when no songs are in the queue. See {}stream for more info.
I'm really proud of this suggestion. Being able to load from stream URL's instead of autoplaylist seems like a wonderful idea.
!stream is compatible with my favorite online FM radio, so I would like it to always play their stream. But I also would like users to join and play their own music, especially when I'm offline.
This command would allow me to use a preset stream URL that would automatically play when no other song is being used, similar to how autoplaylist.txt works. The only exception is that when a user requests a song, the stream is immediately closed and the bot plays their requested song.
+1 would love this. I can't set the radio stream to auto play at the moment.
It seems you can have it stream twitch by putting it in the autoplaylist file, but because it recognises it as a track it will play forever until you use !skip.
Considering the issue with #1947, I'd imagine this would help? Instead of playing through the autoplaylist, loading video after video, the user could use autostream to buffer some radio music until youtube stops being dumb.
@SylveonBottle or just use other services.
On another note, this is kinda implemented in #1973 (it have autostream but it does not work like how this request described). It also allows queueing local entries so you do not have to worry about getting banned from these services at all.
Most helpful comment
+1 would love this. I can't set the radio stream to auto play at the moment.