TS3AudioBot
TS3AudioBot copied to clipboard
bot randomly stops streaming
Describe the bug I'm using the bot to stream some web radio on my teamspeak 3 server. The bot worked fine for several month, however i recently updated to the dotnet core 3.1 version of TS3AudioBot as support for 2.2 will eventually be dropped. Since then, the bot started to seemingly randomly stop playing music. Previously, the bot played fine for days or even month without interrupting. Now it just goes quiet after some time (few minutes to some hours) and you need to type the !play command to get the music back playing.
To Reproduce
Play some web radio for a longer period of time and it will stop eventually.
Example stream: http://streams.ilovemusic.de/iloveradio5.mp3
Version
Version: 0.12.0
Branch: master
CommitHash: 768c186742bff87ea2c13a02f5fe1da5462ceb97
Platform OS: Debian 10 64bit .NET: Dotnet core 3.1.408 TS3AudioBot: Latest dotnetcore3.1 release
Log
20:50:46.9918| INFO|2| Song queue ended: No next song could be played.
20:51:46.4448| WARN|0| Previous resend tick didn't finish
20:51:46.4411| WARN|0| Previous resend tick didn't finish
20:52:58.7040| INFO|2| Song queue ended: No next song could be played.
20:55:10.4254| INFO|2| Song queue ended: No next song could be played.
20:57:22.0856| INFO|2| Song queue ended: No next song could be played.
20:59:33.7227| INFO|2| Song queue ended: No next song could be played.
21:01:45.2616| INFO|2| Song queue ended: No next song could be played.
21:03:56.9751| INFO|2| Song queue ended: No next song could be played.
21:06:08.6314| INFO|2| Song queue ended: No next song could be played.
21:08:20.2288| INFO|2| Song queue ended: No next song could be played.
21:09:34.4426| WARN|1| Previous resend tick didn't finish
21:10:31.8292| INFO|2| Song queue ended: No next song could be played.
21:12:43.4507| INFO|2| Song queue ended: No next song could be played.
I tried to use the onidle and onconnect events in the bot toml, but it seems to not trigger automatically unless you rejoin the channel.
[events]
#Called when the bot is connected.
onconnect = "!play http://streams.ilovemusic.de/iloveradio5.mp3"
#Called when the bot does not play anything for a certain amount of time.
onidle = "!xecute (!play http://streams.ilovemusic.de/iloveradio5.mp3) (!vol 25)"
#Specifies how long the bot has to be idle until the 'onidle' event gets fired.
#You can specify the time in the ISO-8601 format "PT30S" or like: 15s, 1h, 3m30s
idletime = "30s"
#Called when the last client leaves the channel of the bot. Delay can be specified
onalone = "!stop"
#Specifies how long the bot has to be alone until the 'onalone' event gets fired.
#You can specify the time in the ISO-8601 format "PT30S" or like: 15s, 1h, 3m30s
alone_delay = "30s"
#Called when the bot was alone and a client joins his channel. Delay can be specified.
onparty = "!play"
#Specifies how long the bot has to be alone until the 'onalone' event gets fired.
#You can specify the time in the ISO-8601 format "PT30S" or like: 15s, 1h, 3m30s
party_delay = "0s"
I also tried to run it on another debian machine with dotnet 3.1 to rule out issues with the host, but the issue was present there too. Any help appreciated. Thank you :)
I am having the same issue too. Isn't there any fix yet? @Flakebi @Splamy