Deprecated: Use of "parent" in callables is deprecated in /var/www/html/forum/src/vendor/league/flysystem-eventable-filesystem/src/EventableFilesystem.php on line 431
  • 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.

Help with youtube - dl

Status
Not open for further replies.

BigVictorio

New Member
Hey guys :D,

few days ago was released a new version of youtube dl. I am new at sinusbot and i tried to download new version of youtube-dl. I install new version like this
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
but after this yt-dl not working i use this
Code:
sudo pip install --upgrade youtube_dl

Tutorial how i install new yt-dl update
https://rg3.github.io/youtube-dl/download.html
After installing yt-dl with
Code:
sudo pip install --upgrade youtube_dl
a yt-dl can download songs, but only no copyrighted like NoCopyrightSongs. All songs with copyright return this error :
<17:06:57> "Music Bot": Download failed for https/www.youtube.com/watch?v=KlujizeNNQM; file not found
Bot returns message without : and one / .
Signature extraction failed: Traceback (most recent call last)

How can i fix this? Thanks for reply.

Of coure, here is Log with logscript.sh
Code:
==========================================================
SINUSBOT RELATED
SYSTEM INFORMATION
- Operating System: Ubuntu 14.04.5 LTS
- OS x64 check: OK
- Kernel: Linux 3.13.0-24-generic x86_64
- Load Average: 1.38 0.80 0.45
- Uptime: 26 days, 18 hours, 59 minutes, 48 seconds
- OS Updates: 13 (updates available!)
- OS Missing Packages: None (v1)
- OS APT Last Update: 12.01.2017 06:36:37 CET +01:00:00
- Bot Start Script: not found
- DNS resolution check: google.com -> OK
- CPU:
    Architecture:          x86_64
    CPU(s):                1
    Thread(s) per core:    1
    Core(s) per socket:    1
    Socket(s):             1
    CPU MHz:               1699.998
    Hypervisor vendor:     VMware
    Virtualization type:   full
- RAM:  B/994.05 MB in use (%)
- SWAP:  B/ B in use (%)
- DISK: 10.58 GB/7.18 GB in use (147%)
- Package versions:
   > libglib: 2.40.2-0ubuntu1

BOT INFORMATION
- Status: running (PIDs: 15471 15470, User: root)
- Webinterface: port locally reachable (Port: 80)
- Binary: /opt/ts3soundboard/sinusbot (MD5 Hash: 0005c8c289b99913844c9f761dbb50e9)
- Version: 0.9.16-10f0fad
- TS3 Plugin: installed (md5 hash match)
   - Bot Plugin: 28b54596e19937601df973b709aa0667
   - TS3 Client: 28b54596e19937601df973b709aa0667
- Config:
   - LogLevel = 3
   - TS3Path = /opt/ts3soundboard/TeamSpeak3-Client-linux_amd64/ts3client_linux_amd64 (Version 3.0.18.2)
   - YoutubeDLPath = not set (does exist anyway, version: 2017.01.08)
- Installed scripts: advertising.js; aloneMode.js; Away Mover.js; Away Mover.js.store; badchan.js; bookmark.js; come.js; come.js.store; covatar.js; dev.js; Digital Clock.js; Digital Clock.js.store; followme.js; idle.js; metadata.js; norecording.js; rememberChannel.js; showcase.js; sound.js; welcometext.js

OTHER INFORMATION
- Report date: 12.01.2017 17:14:41 CET +01:00:00 (timezone: Europe/Rome)
- TeamSpeak 3 Version: 3.0.18.2
- youtube-dl Version: 2017.01.08
- DiagScript version: 0.4.6
==========================================================
 
Last edited:

mxschmitt

Moderator
Staff member
is awesome!
V.I.P.
is uber awesome!
Contributor
Insider
Change
Code:
YoutubeDLPath=""
To
Code:
YoutubeDLPath="/usr/local/bin/youtube-dl"
In your config.ini
 

BigVictorio

New Member
After a while watching on config.ini i saw that i have in config twice a line
"YoutubeDLPath="""
. Can i add a path for all two lines and restart sinusbot?

Code:
  GNU nano 2.2.6                                       File: config.ini

TS3Path = "/opt/ts3soundboard/TeamSpeak3-Client-linux_amd64/ts3client_linux_amd64"
YouTubeDLPath = "/usr/local/bin/youtube-dl" #Here 1 Line
ListenHost = "0.0.0.0"
DataDir = "/opt/ts3soundboard/data/"
ListenPort = 80
LocalPlayback = false
EnableLocalFS = false
MaxBulkOperations = 300
LogLevel = 3
EnableProfiler = false
YoutubeDLPath = "" #Here 2 Line
EnableDebugConsole = false
UploadLimit = 83886080
RunAsUser = 0
RunAsGroup = 0
InstanceActionLimit = 6
UseSSL = false
SSLKeyFile = ""
SSLCertFile = ""
Hostname = ""
SampleInterval = 60
StartVNC = false
EnableWebStream = false
LogFile = ""
LicenseKey = "CENSORED"
IsProxied = false
DenyStreamURLs = []
Pragma = 0

[YoutubeDL]
 

BigVictorio

New Member
Actually bot cant still play copyrighted songs

My config:
Code:
TS3Path = "/opt/ts3soundboard/TeamSpeak3-Client-linux_amd64/ts3client_linux_amd64"
YoutubeDLPath="/usr/local/bin/youtube-dl"
ListenHost = "0.0.0.0"
DataDir = "/opt/ts3soundboard/data/"
ListenPort = 80
LocalPlayback = false
EnableLocalFS = false
MaxBulkOperations = 300
LogLevel = 3
EnableProfiler = false
EnableDebugConsole = false
UploadLimit = 83886080
RunAsUser = 0
RunAsGroup = 0
InstanceActionLimit = 6
UseSSL = false
SSLKeyFile = ""
SSLCertFile = ""
Hostname = ""
SampleInterval = 60
StartVNC = false
EnableWebStream = false
LogFile = ""
LicenseKey = "censored"
IsProxied = false
DenyStreamURLs = []
Pragma = 0

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

[TS3]
  AvatarMaxWidth = 0
  AvatarMaxHeight = 0
  AllowGIF = false

[StreamRewrites]

[Scripts]
  AllowReload = false
  EnableTimer = false

[Themes]
  Default = ""

[SpeechRecognition]
  Enable = false

[FFmpeg]
  UserAgent = "SinusBot (0.9.15-b20cc30)"

Log after reboot sinusbot:

Code:
root@root:/opt/ts3soundboard# screen -x sinusbot
2017/01/12 19:04:01 7f6971b4 2c4d9acd INFO   New connection status 3; Error 0
2017/01/12 19:04:01 7f6971b4 2c4d9acd INFO   User joined the channel
2017/01/12 19:04:01 7f6971b4 2c4d9acd INFO   User joined the channel
2017/01/12 19:04:01 7f6971b4 2c4d9acd INFO   User joined the channel
2017/01/12 19:04:01 7f6971b4 2c4d9acd INFO   TS |INFO    |ClientUI      |1  |Connect status: Connection established
2017/01/12 19:04:01 7f6971b4 2c4d9acd INFO   TS |INFO    |PermManager   |   |Loading permissions from cache
2017/01/12 19:04:01 X [MAIN] New connection
2017/01/12 19:04:01 7f6971b4 35ec3a27 INFO   TS |INFO    |              |   |*** Time [MAINWINDOW]: 140
2017/01/12 19:04:01 7f6971b4 35ec3a27 INFO   TS |INFO    |              |   |*** Time [INIT]: 140
2017/01/12 19:04:01 7f6971b4 35ec3a27 INFO   TS |INFO    |ClientUI      |   |Failed to init text to speech engine
2017/01/12 19:04:01 7f6971b4 35ec3a27 INFO   TS |INFO    |ClientUI      |   |Qt version: 5.5.0
2017/01/12 19:04:01 7f6971b4 35ec3a27 INFO   TS |INFO    |ClientUI      |   |Using configuration location: /opt/ts3soundboard/data//ts3/7f6971b4-1691-47b1-bf04-46bc80df4774/35ec3a27-13b5-4b2a-b925-e0b14b6150ce/settings.db
2017/01/12 19:04:01 7f6971b4 2c4d9acd INFO   New connection status 4; Error 0
2017/01/12 19:04:01 7f6971b4 2c4d9acd INFO   TS |INFO    |ClientUI      |   |Last update check was: Sun Jan 1 00:00:01 2017
2017/01/12 19:04:01 7f6971b4 2c4d9acd INFO   TS |INFO    |ClientUI      |   |Checking for update
2017/01/12 19:04:01 7f6971b4 2c4d9acd INFO   TS |INFO    |Update        |   |Checking for updates...
2017/01/12 19:04:01 7f6971b4 2c4d9acd INFO   TS |INFO    |Update        |   |Check license version: 1
2017/01/12 19:04:01 7f6971b4 2c4d9acd INFO   TS |INFO    |LicenseViewer |   |License language: en
2017/01/12 19:04:01 7f6971b4 2c4d9acd INFO   TS |INFO    |LicenseViewer |   |Found cached license for version 1 and language en
2017/01/12 19:04:01 7f6971b4 35ec3a27 INFO   TS |INFO    |ClientUI      |   |ts3server: 127.0.0.1?port=9987&nickname=VOJTA%20%C4%8CONKA&password=&channel=&channelpassword=
2017/01/12 19:04:01 7f6971b4 35ec3a27 INFO   TS |INFO    |ClientUI      |1  |Connect to server: 127.0.0.1
2017/01/12 19:04:01 7f6971b4 35ec3a27 INFO   TS |INFO    |ClientUI      |1  |Blacklist check ok
2017/01/12 19:04:01 7f6971b4 35ec3a27 INFO   TS |INFO    |ClientUI      |1  |Initiating connection: 127.0.0.1:9987 127.0.0.1
2017/01/12 19:04:01 7f6971b4 35ec3a27 INFO   TS |INFO    |PreProSpeex   |1  |Speex version: 1.2rc1
2017/01/12 19:04:01 7f6971b4 35ec3a27 INFO   TS |DEVELOP |PktHandler    |   |Puzzle solve time: 4
2017/01/12 19:04:02 7f6971b4 35ec3a27 INFO   TS |INFO    |ClientUI      |1  |Connect status: Connecting
2017/01/12 19:04:02 7f6971b4 35ec3a27 INFO   New connection status 1; Error 0
2017/01/12 19:04:02 7f6971b4 35ec3a27 INFO   TS |INFO    |ClientUI      |1  |Connect status: Connected
2017/01/12 19:04:02 7f6971b4 35ec3a27 PLUGIN [aloneMode] Starting AloneMode...
2017/01/12 19:04:02 7f6971b4 35ec3a27 INFO   New connection status 2; Error 0
2017/01/12 19:04:02 7f6971b4 35ec3a27 INFO   TS |INFO    |ClientUI      |1  |Connect status: Establishing connection
2017/01/12 19:04:02 7f6971b4 35ec3a27 INFO   New connection status 3; Error 0
2017/01/12 19:04:02 7f6971b4 35ec3a27 PLUGIN [aloneMode] Starting AloneMode...
2017/01/12 19:04:02 7f6971b4 35ec3a27 INFO   TS |INFO    |ClientUI      |   |Last update check was: Sun Jan 1 00:00:01 2017
2017/01/12 19:04:02 7f6971b4 35ec3a27 INFO   TS |INFO    |ClientUI      |   |Checking for update
2017/01/12 19:04:02 7f6971b4 35ec3a27 INFO   TS |INFO    |Update        |   |Checking for updates...
2017/01/12 19:04:02 7f6971b4 35ec3a27 INFO   TS |INFO    |ClientUI      |1  |Connect status: Connection established
2017/01/12 19:04:02 7f6971b4 35ec3a27 INFO   TS |INFO    |PermManager   |   |Loading permissions from cache
2017/01/12 19:04:02 7f6971b4 35ec3a27 INFO   New connection status 4; Error 0
2017/01/12 19:04:02 7f6971b4 35ec3a27 INFO   TS |INFO    |Update        |   |Check license version: 1
2017/01/12 19:04:02 7f6971b4 35ec3a27 INFO   TS |INFO    |LicenseViewer |   |License language: en
2017/01/12 19:04:02 7f6971b4 35ec3a27 INFO   TS |INFO    |LicenseViewer |   |Found cached license for version 1 and language en
2017/01/12 19:04:02 [GENERAL/YTDL   ] INFO   youtube-dl version compatible, support enabled
2017/01/12 19:04:02 [GENERAL/!!!!!!!] NOTICE You may now configure and launch the bots from the webinterface. http://0.0.0.0:80
2017/01/12 19:04:02 [GENERAL/RADIO  ] INFO   RadioStation data loaded
2017/01/12 19:04:03 [GENERAL/RADIO  ] INFO   Imported radio stations
2017/01/12 19:04:05 7f6971b4 2c4d9acd INFO   CHAT 2 [user @ user] < !yt [URL]https://www.youtube.com/watch?v=ZVoNgOyHWgg[/URL] > / OK
2017/01/12 19:04:05 7f6971b4 2c4d9acd INFO   PRIVATE-CHAT [PAŤO MIRGA] Downloading https://www.youtube.com/watch?v=ZVoNgOyHWgg
2017/01/12 19:04:09 7f6971b4 2c4d9acd INFO   PRIVATE-CHAT [PAŤO MIRGA] Download failed for https://www.youtube.com/watch?v=ZVoNgOyHWgg; file not found
 
Status
Not open for further replies.
Top