• 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 not working, linux

Status
Not open for further replies.

KifKick

Member
Hi, i installed Youtube DL from: https://rg3.github.io/youtube-dl/download.html
Used commands without curl, and I configurated my config.ini http://paste.ubuntu.com/11823499/
Log from console: http://scr.hu/0sl7/9d94p
SS from web-panel: http://scr.hu/0sl7/4kl32
Why YT-DL not work?
Sorry for my English. :p
 

Raphraph

Donor
is awesome!
Contributor
Insider
Go into your config.ini and set the "LogLevel" to 10
Then try again and post the console output here again please. :)
 

helma27

New Member
When i do this, http://pastebin.com/KguB5Ngj
i got permission problem, and a lot of another error.. but bot can still running..
but, when i do the exact method like above, i got this error on my console:
<blockquote>
2015/07/05 05:54:34 youtube-dl checking...
2015/07/05 05:54:34 exit status 127 youtube-dl not found</blockquote>
 

flyth

is reticulating splines
Staff member
Developer
Contributor
Add youtube-dl itself:

YoutubeDLPath = "/usr/local/bin/youtube-dl"
 

flyth

is reticulating splines
Staff member
Developer
Contributor
Does /usr/local/bin/youtube-dl exist? Is it executable?
 

helma27

New Member
Here's my setting:
s9MKY4y.png
http://prntscr.com/7p0khf < screenshot link
My config : http://pastebin.com/QqFKsrtX
 

flyth

is reticulating splines
Staff member
Developer
Contributor
Looks okay, try to run it via:
/usr/local/bin/youtube-dl
 

helma27

New Member
you mean run it while we're on folder "/usr/local/bin/youtube-dl"?
Sorry for a lot of asking..
 

flyth

is reticulating splines
Staff member
Developer
Contributor
Use your PuTTy to run it from the console :)
 

helma27

New Member
Omg, it worked after i read through this issue https://github.com/rg3/youtube-dl/issues/3908
and
$ sudo apt-get install youtube-dl
$ sudo youtube-dl --update
$ cat /usr/bin/youtube-dl
$ sudo wget https://yt-dl.org/latest/youtube-dl -O /usr/local/bin/youtube-dl
$ sudo chmod a+x /usr/local/bin/youtube-dl
$ hash -r

Big thanks Mr. flyth :D
 

helma27

New Member
Well, i try on my BOT Server is working greatly (which is about to expire), and i decided to move to my TeamSpeak server, but when i install it on my TeamSpeak Server, it shows:
___ ___ _ _ _ _ ___ ___ ___ _____ BETA
/ __|_ _| \| | | | / __| _ )/ _ \_ _|
\__ \| || .` | |_| \__ \ _ \ (_) || |
|___/___|_|\_|\___/|___/___/\___/ |_|

(C) 2013-2015 Michael Friese. All rights reserved.

2015/07/10 07:53:33 b871c12a INFO Initializing bot://b871c12a-7261-41a0-bb0b-f e2453063ec1
2015/07/10 07:53:33 b871c12a e55c5e87 INFO Loaded
2015/07/10 07:53:33 FFmpeg/avcodec v3675236; license: LGPL version 2.1 or later; 494 codecs
2015/07/10 07:53:33 FFmpeg/avformat v3674980; license: LGPL version 2.1 or later ; 139 formats
2015/07/10 07:53:33 youtube-dl checking...
2015/07/10 07:53:33 youtube-dl version compatible, support enabled
2015/07/10 07:53:33 RadioStation data loaded
2015/07/10 07:53:34 Imported radio stations << Stopped here...

But sometimes i got:
2015/07/10 08:04:44 22655dba 9c6b6ac6 INFO TSClient quit.

Did i miss something?
My Server was Ubuntu 15.04 x86_64
 

helma27

New Member
<blockquote>
2015/07/10 08:33:16 b871c12a INFO Initializing bot://b871c12a-7261-41a0-bb0b-f e2453063ec1
2015/07/10 08:33:16 b871c12a e55c5e87 INFO Loaded
2015/07/10 08:33:16 FFmpeg/avcodec v3675236; license: LGPL version 2.1 or later; 494 codecs
2015/07/10 08:33:16 FFmpeg/avformat v3674980; license: LGPL version 2.1 or later ; 139 formats
2015/07/10 08:33:16 youtube-dl checking...
2015/07/10 08:33:17 youtube-dl version compatible, support enabled
2015/07/10 08:33:17 RadioStation data loaded
2015/07/10 08:33:17 Imported radio stations
2015/07/10 08:33:30 b871c12a e55c5e87 DEBUG Could not delete from Notifications no such table: Notifications
2015/07/10 08:33:30 b871c12a e55c5e87 DEBUG Could not insert into Notifications -Tableno such table: Notifications
2015/07/10 08:33:30 b871c12a e55c5e87 DEBUG Could not delete from Notifications no such table: Notifications
2015/07/10 08:33:30 b871c12a e55c5e87 DEBUG Could not insert into Notifications -Tableno such table: Notifications
2015/07/10 08:33:30 b871c12a e55c5e87 INFO Starting instance ts3server://23.22 7.190.164?port=9987&nickname=Mawar&password=&channel=&channelpassword=
2015-07-10 08:33:30.842568|INFO | | | TeamSpeak 3 Client 3.0.1 6 (2014-08-04 13:42:43)
2015-07-10 08:33:30.842649|INFO | | | SystemInformation: Linux 2.6.32-042stab104.1 #1 SMP Thu Jan 29 12:58:41 MSK 2015 x86_64 Binary: 64bit
Assertion '!e->dead' failed at pulse/mainloop.c:254, function mainloop_defer_ena ble(). Aborting.
2015/07/10 08:33:30 b871c12a e55c5e87 INFO TSClient quit.
2015/07/10 08:33:47 b871c12a e55c5e87 DEBUG Storing configuration.
</blockquote>
 

helma27

New Member
Oh, i dont know why it working right now :D
But at first, the default instances isn't running, but when i create the second instances, it running...
But now, both are working :D
 

Raphraph

Donor
is awesome!
Contributor
Insider
Great! Don't hesitate on commenting again, if it's not working in the next time.
 
Status
Not open for further replies.
Top