Deprecated: Use of "parent" in callables is deprecated in /var/www/html/forum/src/vendor/league/flysystem-eventable-filesystem/src/EventableFilesystem.php on line 431
  • If you need help or want to discuss things, you now can also join us on our Discord Server!
  • A first preview of the unlimited version of SinusBot can be found in the Upcoming Changes thread. A version for Windows will follow, but we don't have a release date, yet.

Radio Reset

DrWarpMan

Well-Known Member
Contributor
Insider
When I play any radio, it often stops after X hours (for ex. 12) and I would like to have a script or something that after "stopping" or every hour, would reset the radio, (stop it and start it) is there something like this?

Thanks.
 

DrWarpMan

Well-Known Member
Contributor
Insider
And can it be made via script? I found "playURL" but idk how to play it through that.
 

DrWarpMan

Well-Known Member
Contributor
Insider
Anybody knows if "playURL" function can start a radio stream? and if, then how.
 

irgendwr

no longer active, "retired" staff member
is awesome!
V.I.P.
is uber awesome!
Contributor
Insider
playURL is only for playing internal track url's as mentioned in the documentation.
Try using media.yt()
 

irgendwr

no longer active, "retired" staff member
is awesome!
V.I.P.
is uber awesome!
Contributor
Insider
When I play any radio, it often stops after X hours (for ex. 12) and I would like to have a script or something that after "stopping" or every hour, would reset the radio, (stop it and start it) is there something like this?
You could also set the stream to play on idle:
1536408675930.png
This way the stream will be started again when it stops.
 
Top