Closed DoMaxiHa closed 4 years ago
Now the Template Bot is playing over Channel. But not whispering. (Yes, it has Whisper Rights)
Thanks for all the information in your issue :)
You have to activate whisper mode with !whisper subscription
, then you can subscribe yourself with !subscribe
or your channel with !subscribe channel
and unsubscribe with !unsubscribe
.
Hey Flakebi,
thanks for your awsner.
Yes I did activate the whisper mode with !whisper subscription
.
But for some reason it wont play. Only voice to channel is working.
Like i said. The default template bot. plays music over whisper just fine.
I do not really know what the problem here is
This comes out in the console
20:25:26.9668| INFO|0| User Asczery | Dominik requested: !whisper sub
20:25:30.3981| INFO|0| User Asczery | Dominik requested: !play [URL]http://wdr-edge-201a.fra-lg.cdn.addradio.net/wdr/1live/live/mp3/128/stream.mp3[/URL]
20:25:30.5976| WARN|0| AudioLogEntry could not be created!
20:28:36.5430|FATAL|| Critical program error!
That should not happen. Can you please post your version (!version
) and the relevant part of ts3audiobot.log
? It contains the stacktrace.
Hello, thanks for your awnser.
Ofcourse
Version: 0.11.0 Branch: master CommitHash: c7e44e4dfd5d5240cd5d8cbe4fa1f20a0315aca4
2020-03-29 20:25:05.0097| INFO|0|Bot.OnMessageReceived User Asczery | Dominik requested: !play [URL]https://github.com/Splamy/TS3AudioBot/wiki/Plugins[/URL]
2020-03-29 20:25:05.4423| INFO|0|PlayManager.StopInternal Song queue ended: No next song could be played.
2020-03-29 20:25:26.9668| INFO|0|Bot.OnMessageReceived User Asczery | Dominik requested: !whisper sub
2020-03-29 20:25:30.3981| INFO|0|Bot.OnMessageReceived User Asczery | Dominik requested: !play [URL]http://wdr-edge-201a.fra-lg.cdn.addradio.net/wdr/1live/live/mp3/128/stream.mp3[/URL]
2020-03-29 20:25:30.5976| WARN|0|HistoryManager.LogAudioResource AudioLogEntry could not be created!
System.Exception: Track name is empty
2020-03-29 20:28:36.5430|FATAL||LoggerImpl.Write Critical program error!
System.ObjectDisposedException: Cannot access a closed file.
at System.IO.FileStream.ValidateReadWriteArgs(Byte[] array, Int32 offset, Int32 count)
at System.IO.FileStream.Read(Byte[] array, Int32 offset, Int32 count)
at System.IO.Stream.<>c.<BeginReadInternal>b__40_0(Object <p0>)
at System.Threading.Tasks.Task`1.InnerInvoke()
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
--- End of stack trace from previous location where exception was thrown ---
at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot)
--- End of stack trace from previous location where exception was thrown ---
at System.IO.Stream.EndRead(IAsyncResult asyncResult)
at System.Threading.Tasks.TaskFactory`1.FromAsyncTrimPromise`1.Complete(TInstance thisRef, Func`3 endMethod, IAsyncResult asyncResult, Boolean requiresSynchronization)
--- End of stack trace from previous location where exception was thrown ---
at System.Diagnostics.AsyncStreamReader.ReadBufferAsync()
2020-03-29 20:35:25.3911| INFO|0|Bot.OnMessageReceived User Asczery | Dominik requested: !sub
2020-03-29 21:33:03.8335| INFO|1|Bot.OnMessageReceived User Asczery | Dominik requested: !whisper off
2020-03-29 21:33:08.1133| INFO|1|Bot.OnMessageReceived User Asczery | Dominik requested: !whisper subscription
2020-03-29 21:33:19.7212| INFO|0|Bot.OnMessageReceived User Asczery | Dominik requested: !unsub
2020-03-29 21:33:23.5269| INFO|1|Bot.OnMessageReceived User Asczery | Dominik requested: !play [URL]http://wdr-edge-2015.fra-lg.cdn.addradio.net/wdr/1live/live/mp3/128/stream.mp3[/URL]
2020-03-29 21:33:26.9638| INFO|1|Bot.OnMessageReceived User Asczery | Dominik requested: !sub
2020-03-29 21:33:36.2604| INFO|1|Bot.OnMessageReceived User Asczery | Dominik requested: !whisper
2020-03-29 21:33:38.9466| INFO|1|Bot.OnMessageReceived User Asczery | Dominik requested: !whisper list
2020-03-29 21:33:44.4268| INFO|1|Bot.OnMessageReceived User Asczery | Dominik requested: !whisper channel
2020-03-29 21:33:46.3135| INFO|1|Bot.OnMessageReceived User Asczery | Dominik requested: !sub
2020-03-29 21:33:47.7260| INFO|1|Bot.OnMessageReceived User Asczery | Dominik requested: !unsub
2020-03-29 21:33:49.2492| INFO|1|Bot.OnMessageReceived User Asczery | Dominik requested: !whisper off
2020-03-29 21:33:51.1241| INFO|0|Bot.OnMessageReceived User Asczery | Dominik requested: !sub
2020-03-29 21:40:23.5400| INFO|0|Bot.OnMessageReceived User Pascal | PROHQUA requested: !sub
2020-03-29 21:41:09.2953| INFO|0|Bot.OnMessageReceived User Pascal | PROHQUA requested: !vol 50
2020-03-29 22:07:37.5948| INFO|0|Bot.OnMessageReceived User Pascal | PROHQUA requested: !unsub
2020-03-29 22:22:32.3666| INFO|0|Bot.OnMessageReceived User Asczery | Dominik requested: !version
Copied a bit more so you guys can see what I did before and after the trace.
Due to inactivity closed. Expected more.
lol, well sorry for taking a few days break of a free project. our dedicated 24/7 team will get to you immediately. But seriously, you can bump a thread if we maybe forgot it, or just be patient, I'm not always in in the mood for tech support or programming either and have other things I want to fill my day with.
Well, hey. Nothing against you as the dev or the Support Team. I just felt a bit curious about the long Response time. After Flakebi didnt awser after nearly a week later.
I know what you are talking about. So, I reopen this, so you guys might give me another Chance :)
We've retried everything exactly as you did and everything worked. The last idead I had is maybe, check that your client identity doesn't has an too high required whisper power https://share.splamy.de/20/04/ts3client_win64_2020-04-06_22-50-06.png
Btw you can check if the bot correctly registered you with !whisper list
Hey @Splamy Thanks for your awnser.
Hmm that is interesting. Because the bot itself has enough rights to do things.
What I find interesting is, that when I use !whister voice
when it's playing in whisper Mode, it will change to voice over channel. However, If it is not playing and I change it and play something it automatically will go back to whisper Mode.
Maybe it is just a massive misconfiguration, or the something else is broken. I will reinstall the bot and see if he Problem persists.
Thanks for your help and work.
I will leave this open and will awnser later to tell you if the problem was solved.
Regards.
Ps: Now I didnt awnser for over a week. Sorry about that :)
In your config, you have
[audio]
# …
send_mode = "whisper"
Is far is I remember, the audio mode gets set everytime something starts playing, that’s why it always switches back to whisper mode.
Okey thanks for your awnser. I will leave only 1 bot for the moment. And will test and try.
Thanks for your help. I will reopen another Issue when I encounter any Problems.
Regards
-closed
Hello,
I am relatively now to this bot. So please excuse if I cause any trouble. :D I began to setup mutliple Instances of the bot. Used !bot connect To let it connect to my Server, then !bot save to save it.
Now if I connect the Template bot and want to play some music. It does not play music at all. Not from youtube or anything else. (But sets the description and avatar)
The default one that connects on startup plays music just fine.
Am I doing anything wrong ? / Do I miss something ?
Regards
This is my 'Template Config'