Ts3audiobot: Youtube link issue

Created on 8 May 2017  路  6Comments  路  Source: Splamy/TS3AudioBot

Hello,
When I launch music with a youtube link, the music stops at a random position but not at the end.
An idea ?

[16:03:47]  Debug: MB Got message from Luzzbe: !play [URL]https://www.youtube.com/watch?v=87gWaABqGYs[/URL]
[16:03:47]  Debug: SM User Luzzbe created session with the bot
[16:03:47]  Debug: AdminCheck called!
[16:03:47]  Debug: QC GetClientServerGroups called
[16:03:48]  Debug: YT avail codecs: hd720 @ MP4, medium @ WEBM, medium @ MP4, small @ ThreeGP, small @ ThreeGP, audio/mp4; codecs="mp4a.40.2" @ M4A, audio/webm; codecs="vorbis" @ WEBM, audio/webm; codecs="opus" @ WEBM, audio/webm; codecs="opus" @ WEBM, audio/webm; codecs="opus" @ WEBM, 
[16:03:48]Warning: TH Web error: [403] Forbidden
[16:03:48]  Debug: YT Ruined!
[16:03:52]  Debug: YT Saved!
[16:03:52]  Debug: AF stop old
[16:03:52]  Debug: AF ar start: Youtube ID:87gWaABqGYs
[16:03:52]  Debug: AF set volume: 10
[16:05:25]Warning: SongStoppedHook could not play Next: No next song could be played

Sorry my English is very bad

bug missing info

Most helpful comment

Ok so I added a little workaround, which tries to reconnect when losing connection before the song ends. You (probably) will hear a little break, mostly between not noticable and half a second, but it should not completely stop.

All 6 comments

I'm experiencing the same problem since few days, I'm looking into it

This seems to be a problem with ytdl/youtube/and mostly ffmpeg. I'd advise you to keep your ffmpeg updated. Also if you use a distro like ubuntu where the repo packages are updated very slowly consider getting the latest static build from here: https://www.johnvansickle.com/ffmpeg/
For the future I'll see if I can add a auto-reconnect feature with ffmpeg

Thank you very much for your answer. For ffmpeg I use the windows executable.

Ok so I added a little workaround, which tries to reconnect when losing connection before the song ends. You (probably) will hear a little break, mostly between not noticable and half a second, but it should not completely stop.

I test this now thank you very much!

Hey, can please provide feedback if the issue still persists or close the issue if the update fixed the problem.
This would help me to keep in view which issues are still relevant.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

lgund picture lgund  路  6Comments

Najsr picture Najsr  路  3Comments

Splamy picture Splamy  路  4Comments

GooG2e picture GooG2e  路  8Comments

bennetgallein picture bennetgallein  路  4Comments