• If you need help or want to discuss things, you now can also join us on our Discord Server!
  • A first preview of the unlimited version of SinusBot can be found in the Upcoming Changes thread. A version for Windows will follow, but we don't have a release date, yet.

Youtube DL Problem

Status
Not open for further replies.

Dimarzio

Donor
is awesome!
I use sinusbot for 1 year and i got no problems, but today the !yt command stop working i dont know why.
when i use !yt link it just say downloading but doesnt play the song. If i go to Upload in my sinusbot panel and add the link then Add Job it appears the link but it shows this message:

unable to download video data: urlopen error [Errno 99] Cannot assign requested address

I try everything on my config.ini i read the FAQ but nothing helps

TS3Path = "/home/sinusbot/TeamSpeak3-Client-linux_amd64/ts3client_linux_amd64"
ListenHost = "0.0.0.0"
DataDir = "/home/sinusbot/data/"
ListenPort = 8087
LocalPlayback = false
EnableLocalFS = false
MaxBulkOperations = 300
LogLevel = 10
EnableProfiler = false
YouTubeDLPath = "/usr/local/bin/youtube-dl"
EnableDebugConsole = false
UploadLimit = 83886080
RunAsUser = 0
RunAsGroup = 0
InstanceActionLimit = 6
UseSSL = false
SSLKeyFile = ""
SSLCertFile = ""
Hostname = ""
SampleInterval = 60
StartVNC = false
EnableWebStream = false
LogFile = ""
LicenseKey = "UAVgaGrLBG8hY1sBemgQHAlm4E0rYmun1oUtJm/7TEM="
IsProxied = false
DenyStreamURLs = []
Pragma = 0

[YouTubeDL]
BufferSize = 524288
MaxDownloadSize = 419430400
MaxDownloadRate = 104857600
CacheStreamed = false

[TS3]
AvatarMaxWidth = 0
AvatarMaxHeight = 0

[StreamRewrites]

[Scripts]
AllowReload = false
EnableTimer = false

[SpeechRecognition]
Enable = false

[FFmpeg]
UserAgent = "SinusBot (0.9.12.3-5b7c0cd)"

[DAV]
Enable = false

[XServer]
Delay = 0
Debug = false
 

DerSandmann

Helping Hand
A Way to install and Update the Youtube-dl is this one:

Code:
apt-get install python-pip
pip install youtube_dl

and update

Code:
pip install youtube_dl --upgrade



And try to update your sinusbot/ts3bot there some better and newer one
 

Dimarzio

Donor
is awesome!
i already have the latest version of youtube dl, idk if my sinusbot is at the latest version but i have this one SinusBot (0.9.12.3-5b7c0cd)
 

Dimarzio

Donor
is awesome!
Nope i just install it watching this tutorial
and everything works good just when i use !yt command it says downloading but nothing happens
 

DerSandmann

Helping Hand
ok try to reinstall the bot and the youtube-dl and try it

or lock if the bot/youtube-dl have the rights to download
 

Dimarzio

Donor
is awesome!
Ok i fix it the problem was the YouTubeDLPath = "/usr/local/bin/youtube-dl" i just change it to this YoutubeDLPath = "/usr/local/bin/youtube-dl" and this one [YouTubeDL] to this [YoutubeDL] is downloading and running perfectly thanks for your time :)
 
Status
Not open for further replies.
Top