• 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 error 2

Status
Not open for further replies.

Stu Barbs

Member
Operating System: Windows 64bit
hardware: Amd Phenom 1100T 16GB - Chrome Browser also tried Edge and IE
SinusBot Version: 0.9.15
TS3 Version: 3.0.19.4
Config file below.


Problem Description
Sorry to lean on you, I would rather be self sufficient.
I set up youtube-dl and happily used it for a gaming session without issue. Both on the upload screen and in TS3.
The next time I fired up sinusbot, I tried again and each time it just gives the message "error, youtube-dl not available" in the upload screen however you try to use this function.
I am a bit lost where to go.

The "read me first" readme on this forum says set debug to 10 in the config file, but I cannot work out where the output goes - it does not make any difference in the UI. Perhaps it is ignoring my config file?

I am in WINDOWS btw.

Thanks
Stu

Code:
TS3Path = "E:\\Program Files (x86)\\SinusBot-15\\TeamSpeak 3 Client\\ts3client_win64.exe"
ListenHost = "0.0.0.0"
DataDir = "E:\\Program Files (x86)\\SinusBot-15\\data\\"
ListenPort = 8087
LocalPlayback = false
EnableLocalFS = false
MaxBulkOperations = 300
LogLevel = 10
EnableProfiler = false
YoutubeDLPath = "E:\\Program Files (x86)\\SinusBot-15\\youtube-dl.exe --no-check-certificate"
EnableDebugConsole = false
UploadLimit = 83886080
RunAsUser = 0
RunAsGroup = 0
InstanceActionLimit = 6
UseSSL = false
SSLKeyFile = ""
SSLCertFile = ""
Hostname = ""
SampleInterval = 60
StartVNC = false
EnableWebStream = false
LogFile = ""
LicenseKey = "uYdVNfCBvqYF/gz5qjAwN6VSl4xjrvuEYpuH30AV+iA="
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

[Themes]
  Default = ""

[SpeechRecognition]
  Enable = false

[FFmpeg]
  UserAgent = "SinusBot (0.9.15-4ff41c0)"

[DAV]
  Enable = false

[XServer]
  Delay = 0
  Debug = false
 

mxschmitt

Moderator
Staff member
is awesome!
V.I.P.
is uber awesome!
Contributor
Insider
Remove the No-check-certificate parameter
 

Stu Barbs

Member
oh ffs ... it's that simple!! Can you explain what happened? When I set this up last week ago it had SSL errors unless I used that switch?

THANK YOU!
 

Stu Barbs

Member
I think I understand .. no idea why it worked last week. I thin kin windows there is no "default config file" for youtube-dl
 

Stu Barbs

Member
hi, I am probably being thick but I am not sure what you mean. Feel free to move this to solved if you have had enough or expand if you feel like humouring me ;)
 

Stu Barbs

Member
Oh I see. the %Appdata% thing. Last week it did not work so I have to do as above ... fair enough things change. Thanks
 

Virdana

New Member
Alright, so I've followed pretty much everything that has been written here in order to solve my problem, though I couldn't get the youtube DL working.
The plugin itself is installed in /usr/local/bin/
The Config has the right path
The Diagnose Script told me it's found, BUT it can't verify the version.

Here is the detailed output from the script:

Code:
==========================================================
SINUSBOT RELATED
SYSTEM INFORMATION
 - Operating System: Debian GNU/Linux 8.7 (jessie)
 - OS x64 check: OK
 - Kernel: Linux 3.16.0-4-amd64 x86_64
 - Load Average: 0.72 0.65 0.61
 - Uptime: 430 days, 4 hours, 27 minutes, 42 seconds
 - OS Updates: 0 (well done!)
 - OS Missing Packages: None (v1)
 - OS APT Last Update: 29.04.2017 04:03:28 CEST +02:00:00
 - Bot Start Script: not found
 - DNS resolution check: sinusbot.com resolved to 104.18.41.220 -> OK
 - HTTPS check with IPv4 mode: SUCCESS [Connection was established to sinusbot.com]
 - HTTPS check with IPv6 mode: FAILED  [Failed connecting to sinusbot.com]
 - CPU:
    Architecture:          x86_64
    CPU(s):                8
    Thread(s) per core:    1
    Core(s) per socket:    1
    Socket(s):             8
    Model name:            Intel(R) Xeon(R) CPU E5-2680 v4 @ 2.40GHz
    CPU MHz:               2397.222
    Hypervisor vendor:     KVM
    Virtualization type:   full
 - RAM: 16.48 GB/23.59 GB in use (69%)
 - SWAP: 0 B/3.80 GB in use (0%)
 - DISK: 42.27 GB/63.32 GB in use (66%)
 - Package versions:
   > libglib: 2.42.1-1+b12.42.1-1+b1

BOT INFORMATION
 - Status: not running
 - Webinterface: port locally reachable (Port: 8087)
 - Binary: /opt/ts3soundboard/ts3bot (MD5 Hash: 3b2c7f99a3b0a358e7d328079c4fa8b8)
 - Version:
 - TS3 Plugin: installed (md5 hash match)
   - Bot Plugin: db9ca817116ad2a1d5f1efa4aabae409
   - TS3 Client: db9ca817116ad2a1d5f1efa4aabae409
 - Config:
   - LogLevel = 10 (debug log active)
   - TS3Path = /opt/ts3soundboard/TeamSpeak3-Client-linux_amd64/ts3client_linux_amd64 (Version 3.0.18.2)
   - YoutubeDLPath = /usr/local/bin/youtube-dl (does exist, version: )
 - Installed scripts: scripts folder not found (using < v0.9.9?)

OTHER INFORMATION
 - Report date: 29.04.2017 16:28:14 CEST +02:00:00 (timezone: Europe/Berlin)
 - TeamSpeak 3 Version: 3.0.18.2 (vulnerable! outdated!)
 - youtube-dl Version:
 - DiagScript version: 0.5.1
==========================================================
 

Virdana

New Member
/usr/local/bin/youtube-dl: Line1: 302: Command not found

Which is confusing, as i used the pip installation method and already did an upgrade too
 

irgendwr

no longer active, "retired" staff member
is awesome!
V.I.P.
is uber awesome!
Contributor
Insider
/usr/local/bin/youtube-dl: Line1: 302: Command not found

Which is confusing, as i used the pip installation method and already did an upgrade too
just install it manually:
Code:
sudo wget https://yt-dl.org/downloads/latest/youtube-dl -O /usr/local/bin/youtube-dl
sudo chmod a+rx /usr/local/bin/youtube-dl
 

Virdana

New Member
That fixed the problem, so apparently the pip installation didn't work properly

Thank you kindly for the hilariously fast help.
 
Status
Not open for further replies.
Top