Open Sephiara opened 5 years ago
Please update youtubedl and for more debug please enable the debug or trace mode :)
Please update youtubedl and for more debug please enable the debug or trace mode
is all the newest version and debug is on
Should i'll try the trace mode now?
yes :)
folgendes passiert nun nach der Eingabe von .mbot yt link Schlau werde ich nicht daraus.
[2019-01-01 22:05:00] [DEBUG] 4 | Having command "mbot". [2019-01-01 22:05:00] [DEBUG] 4 | Argument: 'yt' [2019-01-01 22:05:00] [DEBUG] 4 | Argument: 'https://youtu.be/60ItHLz5WEA' [2019-01-01 22:05:00] [TRACE] 4 | Sending json: {"command":"notifytextmessage","data":[{"invokerid":"1","invokername":"Im a music bot!","invokeruid":"music#9eHQzCOUURYk9JG","msg":"Queueing video https://youtu.be/60ItHLz5WEA","target":"4","targetmode":"2"}],"triggers":null,"type":"command"} [2019-01-01 22:05:00] [TRACE] 4 | Sending json: {"command":"error","data":[{"id":"0","msg":"ok","return_code":"17"}],"triggers":null,"type":"command"} [2019-01-01 22:05:00] [TRACE] 4 | New web message read! Message {"type":"command","command":"sendtextmessage","data":[{"targetmode":2,"target":4,"msg":".mbot yt https://youtu.be/60ItHLz5WEA","return_code":"17"}],"flags":[]} [2019-01-01 22:05:00] [DEBUG] [Music] [YT-DL] Executing video query command "youtube-dl -v --no-check-certificate -s --print-json --get-thumbnail https://youtu.be/60ItHLz5WEA}" [2019-01-01 22:05:00] [TRACE] 4 | Sending json: {"command":"notifyclientupdated","data":[{"clid":"1","player_state":"1"}],"triggers":null,"type":"command"} [2019-01-01 22:05:00] [TRACE] 4 | Sending json: {"command":"notifymusicplayersongchange","data":[{"bot_id":"19","song_description":"","song_id":"2","song_invoker":"2","song_length":"0","song_loaded":"0","song_thumbnail":"","song_title":"","song_url":"https://youtu.be/60ItHLz5WEA"}],"triggers":null,"type":"command"} [2019-01-01 22:05:01] [TRACE] QUERY | [93.205.148.156:62681] Got query command [2019-01-01 22:05:01] [DEBUG] GEN | [WebRTC][1][AudioStream::process_rtcp_data] Got RTCP packet of type 200 and length 1536 [2019-01-01 22:05:04] [TRACE] [Music] [YT-DL] Got command execution debug: [2019-01-01 22:05:04] [TRACE] [Music] [YT-DL] [debug] System config: [] [2019-01-01 22:05:04] [TRACE] [Music] [YT-DL] [debug] User config: [] [2019-01-01 22:05:04] [TRACE] [Music] [YT-DL] [debug] Custom config: [] [2019-01-01 22:05:04] [TRACE] [Music] [YT-DL] [debug] Command-line args: ['-v', '--no-check-certificate', '-s', '--print-json', '--get-thumbnail', 'https://youtu.be/60ItHLz5WEA}'] [2019-01-01 22:05:04] [TRACE] [Music] [YT-DL] [debug] Encodings: locale UTF-8, fs utf-8, out UTF-8, pref UTF-8 [2019-01-01 22:05:04] [TRACE] [Music] [YT-DL] [debug] youtube-dl version 2017.05.18.1 [2019-01-01 22:05:04] [TRACE] [Music] [YT-DL] [debug] Python version 3.5.3 - Linux-4.9.0-8-amd64-x86_64-with-debian-9.6 [2019-01-01 22:05:04] [TRACE] [Music] [YT-DL] [debug] exe versions: ffmpeg 3.2.12-1, ffprobe 3.2.12-1, rtmpdump 2.4 [2019-01-01 22:05:04] [TRACE] [Music] [YT-DL] [debug] Proxy map: {} [2019-01-01 22:05:04] [TRACE] 4 | Sending json: {"command":"notifymusicplayersongchange","data":[{"bot_id":"19","song_id":"0"}],"triggers":null,"type":"command"} [2019-01-01 22:05:07] [DEBUG] GEN | [WebRTC][1][AudioStream::process_rtcp_data] Got RTCP packet of type 200 and length 1536
Well of cause there is some stuff merged together, but after some cleanup:
[2019-01-01 22:05:00] [DEBUG] [Music] [YT-DL] Executing video query command "youtube-dl -v --no-check-certificate -s --print-json --get-thumbnail https://youtu.be/60ItHLz5WEA}"
[2019-01-01 22:05:04] [TRACE] [Music] [YT-DL] Got command execution debug:
[2019-01-01 22:05:04] [TRACE] [Music] [YT-DL] [debug] System config: []
[2019-01-01 22:05:04] [TRACE] [Music] [YT-DL] [debug] User config: []
[2019-01-01 22:05:04] [TRACE] [Music] [YT-DL] [debug] Custom config: []
[2019-01-01 22:05:04] [TRACE] [Music] [YT-DL] [debug] Command-line args: ['-v', '--no-check-certificate', '-s', '--print-json', '--get-thumbnail', 'https://youtu.be/60ItHLz5WEA}']
[2019-01-01 22:05:04] [TRACE] [Music] [YT-DL] [debug] Encodings: locale UTF-8, fs utf-8, out UTF-8, pref UTF-8
[2019-01-01 22:05:04] [TRACE] [Music] [YT-DL] [debug] youtube-dl version 2017.05.18.1
[2019-01-01 22:05:04] [TRACE] [Music] [YT-DL] [debug] Python version 3.5.3 - Linux-4.9.0-8-amd64-x86_64-with-debian-9.6
[2019-01-01 22:05:04] [TRACE] [Music] [YT-DL] [debug] exe versions: ffmpeg 3.2.12-1, ffprobe 3.2.12-1, rtmpdump 2.4
[2019-01-01 22:05:04] [TRACE] [Music] [YT-DL] [debug] Proxy map: {}
Well, but the important point is that you've not pasted everything :/ This is just standard yt-dl stuff. Could you may post a lager section?
edit
May found the reason:
Did you noticed the small }
at the end of the url? Littlebit tricky.
(['-v', '--no-check-certificate', '-s', '--print-json', '--get-thumbnail', 'https://youtu.be/60ItHLz5WEA}']
Are you using the newest version of the server? And as well of the provider libraries?
May found the reason: Did you noticed the small } at the end of the url? Littlebit tricky.
No, i didn't post this string in the url.
Are you using the newest version of the server? And as well of the provider libraries?
Yes, no updates are possible. apt-get update and atp-get upgrade on debian 9 stretch.
YT-dl is removed and fresh installed, no updates are possible.
@Sephiara do you still need help? > try update from this: https://youtube-dl.org/downloads/latest/youtube-dl ;) - wget it to : /usr/sbin/ or where it normal need to be placed. ;)
Special thanks @MikkelDK, but still not working. I'll give up and can live without a music bot...sinusbot working fine :)
Have you tried to update to 1.3.0?
Not at time. I dont wanna try any more. Musicbot is not important for me. But i want to update the TeaServer in the next days and will testing if it´s possible to play yt single song video links.
Command: .mbot yt LINK 4 min video Error: Got an error while trying to load next song: Malformed response (to small)
Same Message is in the logfile:
[DEBUG] 2 | Having command "mbot". [DEBUG] 2 | Argument: 'yt' [DEBUG] 2 | Argument: '[URL]https://youtu.be/nfZ0kZUeFUo?list=RDnfZ0kZUeFUo[/URL]' [DEBUG] 2 | [Permission] Value test result for test type 1. [DEBUG] 2 | [Permission] Permission: i_client_music_play_power Required value: -2 Gained value: 75 Force required: 1 Channel: Musik Codec maximal Result: 1 [DEBUG] [Music] [YT-DL] Executing video query command "youtube-dl -v --no-check-certificate -s --print-json --get-thumbnail https://youtu.be/nfZ0kZUeFUo?list=RDnfZ0kZUeFUo}" [ERROR] [Music] [YT-DL] Malformed response (response to small!) [DEBUG] [Music] [YT-DL] Response: [DEBUG] 2 | [Property] Changed property in db key: client_month_online_time value: 3840 [[DEBUG] 2 | [Property] Changed property in db key: client_total_online_time value: 3840 [DEBUG] 2 | [Property] Changed property in db key: client_month_online_time value: 1358 [DEBUG] 2 | [Property] Changed property in db key: client_total_online_time value: 1358 [DEBUG] 2 | [Property] Changed property in db key: client_month_online_time value: 120 [DEBUG] 2 | [Property] Changed property in db key: client_total_online_time value: 120