• 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.

[GUIDE] Youtube-dl problems?

Status
Not open for further replies.

Idler

Member
If anyone gets the issue "Signature extraction failed", here is a fix for Linux:

1. Connect to your VPS via SSH or open up a terminal

2. Type sudo youtube-dl --update

3. Restart the bot

Should work.
 

Halis

Member
[root@desktop ~]# youtube-dl --update
Usage: youtube-dl [OPTIONS] URL [URL...]

youtube-dl: error: You must provide at least one URL.
Type youtube-dl --help to see a list of all options.

[root@desktop ~]# sudo youtube-dl --update
Usage: youtube-dl [OPTIONS] URL [URL...]

youtube-dl: error: You must provide at least one URL.
Type youtube-dl --help to see a list of all options.


Didn't work. I use Centos 6.7(final) 64-Bit system.
 

Niggolo

Helping Hand
$ youtube-dl -U
Updating to version 2015.12.23 ...
ERROR: no write permissions on /usr/local/bin/youtube-dl
Ignore the permission lol im not using the root now XD

What OS are oyu using?
 

Halis

Member
[root@desktop etc]# youtube-dl -U
It looks like you installed youtube-dl with a package manager, pip, setup.py or a tarball. Please use that to update.

I am using centos 6.7 (final) 64-Bit
 

Halis

Member
I solved this problem. youtube-dl is old version. So I removed this version and again install.

#remove youtube-dl
yum remove youtube-dl

#install pip command for youtube-dl #(http://sharadchhetri.com/2014/05/30/install-pip-centos-rhel-ubuntu-debian/)
yum install -y python-pip

#install youtube-dl #(https://rg3.github.io/youtube-dl/download.html)
wget https://yt-dl.org/downloads/2015.12.23/youtube-dl -O /usr/local/bin/youtube-dl
chmod a+rx /usr/local/bin/youtube-dl
pip install --upgrade youtube_dl

And this problem is solved.
 

Halis

Member
Yes, thank you Niogglo :) But still I have a problem. I can't add language pack. I add tr.json file in "data/locales" but didn't work, I didn't see in personal settings / Languege. I can see only german and english. How can I solve it ?
 

Halis

Member
I reboot, but sill didn't work.

I didn't edit tr.json file. Only download from sinusbot.com and upload in my vds.
 

Niggolo

Helping Hand
Hm I'm not sure.... Also I'm about to go sleep, if you don't solve it, I will help tomorrow

Last version of sinusbot? also the bot is not fully compatible with centos if I'm not wrong

Bye
 

Halis

Member
Ok thank you Niggolo.

my config.ini

TS3Path = "/opt/ts3soundboard/TeamSpeak3-Client-linux_amd64/ts3client_linux_amd64"
ListenHost = "127.0.0.1"
DataDir = ""
ListenPort = 8087
LocalPlayback = false
SecretKey = [166, 66, 84, 77, 121, 91, 126, 35, 69, 238, 242, 80, 78, 254, 166, 43, 176, 25, 254, 65, 38, 207, 79, 78, 60, 101, 216, 120, 3, 101, 36, 83]
EnableLocalFS = false
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 = ""
MTU = 1500
SampleInterval = 100
StartVNC = false
EnableMulticastMetadata = false
EnableWebStream = false

[StreamRewrites]
 
Status
Not open for further replies.
Top