• If you need help or want to discuss things, you now can also join us on our Discord Server!

youtube.dl not working

zoffin

New Member
youtube-dl seems not to work for me. The webinterface just says youtube-dl not available. The bot however responds with ✅ done! after receiving my command.

The command works fine in my terminal - also for the correct user wich is "sinusbot" in my case.
1598525740307.png

I also should have set the location correctly in my config.ini.
1598526374894.png

I did notice my command gets logged with the [URL] tags around the YouTube link but I don't know if that's correct and if not how I can get around this problem.

TS3 client version: 3.5.3
SinusBot version: 1.0.0-beta.10-202ee4d
OS: Amazon Linux 2
Kernel: Linux 4.14.186-146.268.amzn2.x86_64
youtube-dl: 2020.07.28
==================================================================================================================================

2020-08-27 11:16:26.205113|INFO | | |TeamSpeak Client 3.5.3 (2020-05-06 09:07:50)
2020-08-27 11:16:26.205247|INFO | | |SystemInformation: Linux 4.14.186-146.268.amzn2.x86_64 #1 SMP Tue Jul 14 18:16:52 UTC 2020 x86_64 Binary: 64bit
2020-08-27 11:16:26.205324|INFO | | |Using hardware aes
2020-08-27 11:16:26.234032|DEBUG |PulseAudio | |connected to pulse audio server -
2020-08-27 11:16:26.243180|INFO |ClientUI | |Unable to create an Open GL context.
2020-08-27 11:16:26.243469|ERROR |RevocationListCache| |Failed to import revocation list from cache
2020-08-27 11:16:26.297861|INFO |Addons | |Checking for addon updates...
2020-08-27 11:16:26.307745|INFO |Plugins | |Loading plugin: libclientquery_plugin_linux_amd64.so
2020-08-27 11:16:26.312630|INFO | | |successfully downloaded revocation list for accounting
2020-08-27 11:16:26.313150|INFO |Query | |listening on 127.0.0.1:25639
2020-08-27 11:16:26.313270|INFO |Plugins | |Loading plugin: libsoundbot_plugin.so
2020-08-27 11:16:26.350129|INFO | | |successfully downloaded revocation list for myteamspeak id
2020-08-27 11:16:26.444149|INFO | | |*** Time [MAINWINDOW]: 162
2020-08-27 11:16:26.444400|INFO | | |*** Time [INIT]: 162
2020-08-27 11:16:26.448306|INFO |ClientUI | |Failed to init text to speech engine
2020-08-27 11:16:26.448474|INFO |ClientUI | |Qt version: 5.12.1
2020-08-27 11:16:26.448549|INFO |ClientUI | |Using configuration location: /home/sinusbot/ts3soundboard/data/ts3/5774bcc5-ea45-4966-8f7f-363251e88cc7/61cee829-4de6-4b5a-b92d-5d7362599331/settings.db
2020-08-27 11:16:26.745083|INFO |ClientUI | |ts3server: 127.0.0.1?port=6666&nickname=Lobbyknecht&password=&channel=&channelpassword=
2020-08-27 11:16:26.745703|INFO |ClientUI |1 |Connect to server: 127.0.0.1
2020-08-27 11:16:26.746109|INFO |ClientUI |1 |Initiating connection: 127.0.0.1:6666
2020-08-27 11:16:26.778741|DEVELOP |PktHandler |1 |Puzzle solve time: 2
2020-08-27 11:16:26.790693|INFO |ClientUI |1 |Connect status: Connecting
2020-08-27 11:16:26.791784|INFO |ClientUI |1 |Connect status: Connected
2020-08-27 11:16:26.797161|INFO |ClientUI |1 |Connect status: Establishing connection
2020-08-27 11:16:26.837788|INFO |ClientUI |1 |Connect status: Connection established
2020-08-27 11:16:26.944667|INFO |Bookmarks | |Collecting autoconnect bookmarks
2020-08-27 11:16:26.945143|INFO |ClientUI | |Last update check was: Sat Jan 1 00:00:01 2022
2020-08-27 11:16:26.945319|INFO | | |Statistics report: First run, report later in 1-30 days
2020-08-27 11:16:26.945444|INFO | | |Statistics report: Setting next report date to: Mon Aug 31 11:16:26 2020
2020-08-27 11:16:27.444835|INFO |Newsticker | |Newsticker next check: Sat Jan 1 00:00:01 2022
2020-08-27 11:16:37.925628|INFO |Newsticker | |Newsticker next check: Sat Jan 1 00:00:01 2022
2020-08-27 11:16:38.062058|INFO |ClientUI |1 |Ignored text message by MrZoffin: !yt https://www.youtube.com/watch?v=7Z8HPl51v0c
2020-08-27 11:16:38.064877|INFO |ClientUI |1 |Ignored text message by Lobbyknecht: ✅ done! 2
2020-08-27 11:16:47.864405|INFO |ClientUI |1 |Ignored text message by MrZoffin: !yt https://www.youtube.com/watch?v=7Z8HPl51v0ca
2020-08-27 11:16:47.867167|INFO |ClientUI |1 |Ignored text message by Lobbyknecht: ✅ done! 2
2020-08-27 11:16:47.925105|INFO |Newsticker | |Newsticker next check: Sat Jan 1 00:00:01 2022
2020-08-27 11:16:57.925386|INFO |Newsticker | |Newsticker next check: Sat Jan 1 00:00:01 2022
2020-08-27 11:17:07.924986|INFO |Newsticker | |Newsticker next check: Sat Jan 1 00:00:01 2022
2020-08-27 11:17:17.924774|INFO |Newsticker | |Newsticker next check: Sat Jan 1 00:00:01 2022
2020-08-27 11:17:27.925139|INFO |Newsticker | |Newsticker next check: Sat Jan 1 00:00:01 2022
2020-08-27 11:17:37.925474|INFO |Newsticker | |Newsticker next check: Sat Jan 1 00:00:01 2022
2020-08-27 11:17:47.925169|INFO |Newsticker | |Newsticker next check: Sat Jan 1 00:00:01 2022
TS3Path = "/home/sinusbot/ts3client/ts3client_linux_amd64"
ListenHost = "0.0.0.0"
DataDir = "/home/sinusbot/ts3soundboard/data/"
ListenPort = 8087
LocalPlayback = false
EnableLocalFS = false
MaxBulkOperations = 300
LogLevel = 3
EnableProfiler = false
YoutubeDLPath = "/bin/youtube-dl"
EnableDebugConsole = false
EnableInternalCommands = false
AllowStreamPush = false
UploadLimit = 83886080
RunAsUser = 0
RunAsGroup = 0
ExternalFileBase = ""
InstanceActionLimit = 6
UseSSL = false
SSLKeyFile = ""
SSLCertFile = ""
Hostname = ""
HostnameMask = ""
SampleInterval = 60
StartVNC = false
EnableWebStream = false
LogFile = ""
LicenseKey = "XXXXXXXXXXXXXXXXXXXXXXXX"
IsProxied = false
DenyStreamURLs = []
Pragma = 0
UserAgent = ""

[YoutubeDL]
BufferSize = 524288
MaxDownloadSize = 419430400
MaxDownloadRate = 104857600
MaxSimultaneousChunkDownloads = 6
CacheStreamed = false
TimeoutSingleDownloader = 0
TimeoutMultiDownloader = 0
ChunkSize = 3145728
YoutubeDLPath = "/bin/youtube-dl"

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

[StreamRewrites]

[Scripts]
Debug = false
AllowReload = false
EnableTimer = false
DisableLegacyEvents = false
EnableTimer = false
DisableLegacyEvents = false
DevMode = false
ScriptTimeout = 5

[Themes]
Default = ""

[SpeechRecognition]
Enable = false

[FFmpeg]
UserAgent = "SinusBot (1.0.0-beta.10-202ee4d)"
WaitTime = 0

[DAV]
Enable = false

[XServer]
Delay = 0
Debug = false

[SHMem]
Enable = false
Size = 0
Delay = 0
Interval = 0

[RadioStations]
URL = ""
UpdateInterval = 0

[TTS]
Enabled = false
 

Lala Sabathil

Donor
is awesome!
is uber awesome!
Contributor
Insider
Do not override the permission of bin files!
Maybe set chmod +x
And in this case it's under /bin/!
 

Similar threads

Top