• Hey Guest, we're evolving the future of TeaSpeak.
    You're invited to join the discussion here!

Completed TeaSpeak Music Bot won't play

Status
Not open for further replies.

DrN00bish

Well-known member
Could you provide which system you're running on and version of TeaSpeak?

also please try running ffmpeg -version and youtube-dl --version


Edit:
Apparently while doing some searching on google it seems like this might be a known issue with ffmpeg and might be fixed with recompiling or installing the gitversion of ffmpeg... I haven't tested this though so it's a shot in the dark.
 
Last edited:

Filiposd

Active member
YTDL is sh*t! downloads video! Not just the sound... makes a mess on disk!
you turn on 5 videos YT urls.. And you have busy 1 - 6 GB on disk cache's ..
 
Last edited:

Bidi

Active member
Hy guys, i try to start music bot and play an folder

.mbot player ffmpeg muzic

And i get this: Missing required provider!
But if i use stream it works :|
 
Last edited:

WolverinDEV

TeaSpeak Team
Staff member
Administrator
Seems like youtube dl isnt loading.
Please check the first few lines of your log.

YTDL is sh*t! downloads video! Not just the sound... makes a mess on disk!
you turn on 5 videos YT urls.. And you have busy 1 - 6 GB on disk cache's ..
Im not using YT-DL to download stuff, just for resolving the stream url's
 

DrN00bish

Well-known member
YTDL is sh*t! downloads video! Not just the sound... makes a mess on disk!
you turn on 5 videos YT urls.. And you have busy 1 - 6 GB on disk cache's ..
I disagree. It might be used to download the videos yes but it can also as well be used to just download the audio track only.

RTFM and you'd get something like an example: youtube-dl --extract-audio --audio-format mp3 --audio-quality 0 -o "%(title)s.%(ext)s" "youtube.somevid.link"

https://github.com/rg3/youtube-dl/blob/master/README.md#readme -> Post-processing Options

Edit:
Or you could try the: youtube-dl -F some-youtube-link
That would return the different formats this video has an example would return something like:
Code:
youtube-dl -F https://www.youtube.com/watch?v=wxEUBmcm53s
[youtube] wxEUBmcm53s: Downloading webpage
[youtube] wxEUBmcm53s: Downloading video info webpage
[youtube] wxEUBmcm53s: Extracting video information
[youtube] wxEUBmcm53s: Downloading js player vflbOM9Vw
[info] Available formats for wxEUBmcm53s:
format code  extension  resolution note
249          webm       audio only DASH audio   57k , opus @ 50k, 1.24MiB
250          webm       audio only DASH audio   76k , opus @ 70k, 1.64MiB
140          m4a        audio only DASH audio  128k , m4a_dash container, mp4a.40.2@128k, 3.04MiB
171          webm       audio only DASH audio  147k , vorbis@128k, 3.19MiB
251          webm       audio only DASH audio  148k , opus @160k, 3.23MiB
160          mp4        256x144    144p   23k , avc1.4d400c, 30fps, video only, 237.86KiB
278          webm       256x144    144p   38k , webm container, vp9, 30fps, video only, 511.03KiB
242          webm       426x240    240p   45k , vp9, 30fps, video only, 513.21KiB
133          mp4        426x240    240p   51k , avc1.4d4015, 30fps, video only, 479.88KiB
134          mp4        640x360    360p  101k , avc1.4d401e, 30fps, video only, 733.08KiB
243          webm       640x360    360p  111k , vp9, 30fps, video only, 1.09MiB
135          mp4        854x480    480p  140k , avc1.4d401f, 30fps, video only, 862.94KiB
244          webm       854x480    480p  161k , vp9, 30fps, video only, 1.17MiB
136          mp4        1280x720   720p  188k , avc1.4d401f, 30fps, video only, 1.13MiB
247          webm       1280x720   720p  297k , vp9, 30fps, video only, 4.30MiB
137          mp4        1920x1080  1080p  299k , avc1.640028, 30fps, video only, 1.69MiB
248          webm       1920x1080  1080p  473k , vp9, 30fps, video only, 8.19MiB
17           3gp        176x144    small , mp4v.20.3, mp4a.40.2@ 24k
36           3gp        320x180    small , mp4v.20.3, mp4a.40.2
43           webm       640x360    medium , vp8.0, vorbis@128k
18           mp4        640x360    medium , avc1.42001E, mp4a.40.2@ 96k
22           mp4        1280x720   hd720 , avc1.64001F, mp4a.40.2@192k (best)
then you could easily just download the desired format directly like: youtube-dl -f 140 https://www.youtube.com/watch?v=wxEUBmcm53s
 
Last edited:

riksha

Active member
I am running Ubuntu 16 with latest TeaSpeak build.
Looks like somehow it fixed itself, maybe reinstalling ffmpeg fixed it but I can't run now streaming services.
It just says: Queueing stream <link>
 

Bidi

Active member
I dont understand at all.

.mbot yt url - works
.mbot stream url - works

.mbot player FFMpeg ./muzica/andhim - Hausch.mp3 - not working
.mbot player FFMpeg ./muzica/andhim - Hausch - not working

Same error

<10:04:12> "Im a music bot!": An error occurrent while trying to replay the next song! (Failed to initialize player. (Could not spawn new ffmpeg process.
Message: Could not get metadata tag (FFMpeg: No such file or directory
)
Additional error:
FFMpeg: No such file or directory

))

.mbot player ffmpeg ./muzica/andhim - Hausch.mp3 - not working
.mbot player ffmpeg ./muzica/andhim - Hausch - not working

Missing required provider!
 

Fearitself

Active member
Uding "yt": "Got an error while trying to load next song: Could not resolve 'YouTube' provider!"
Using "stream": "Could not resolve FFMpeg provider!"
 

WolverinDEV

TeaSpeak Team
Staff member
Administrator
Please post the first few log lines of your server :)
There is a detailed description why these providers fail to load!
 

yamano

TeaSpeak Team
Staff member
TeaTeam
**But ".mbot yt url" not working...
Staying in queue... not playing..
Just the ".mbot stream url" is working for me.
 
Status
Not open for further replies.