erdnap1234
New Member
Operating System: Linux Debian 8
SinusBot Version: 0.9.15-b20cc30
TS3 Version: 3.0.19.4
Problem Description
Whenever trying to use youtube-dl via sinusbot webinterface or chatcommands in teamspeak it just gives me "error" as response in the webinterface. Taking a look into it, in putty I see "DEBUG youtube-dlquit".
Assuming the mistake(s) is on the side of youtube-dl I have to say it works fine if I use it in putty without the bot.
As start command im using the following:
SinusBot Version: 0.9.15-b20cc30
TS3 Version: 3.0.19.4
Problem Description
Whenever trying to use youtube-dl via sinusbot webinterface or chatcommands in teamspeak it just gives me "error" as response in the webinterface. Taking a look into it, in putty I see "DEBUG youtube-dlquit".
Assuming the mistake(s) is on the side of youtube-dl I have to say it works fine if I use it in putty without the bot.
As start command im using the following:
Code:
screen -s bot ./sinusbot start
Code:
___ ___ _ _ _ _ ___ ___ ___ _____ BETA
/ __|_ _| \| | | | / __| _ )/ _ \_ _|
\__ \| || .` | |_| \__ \ _ \ (_) || |
|___/___|_|\_|\___/|___/___/\___/ |_|
Version: 0.9.15-b20cc30
(C) 2013-2016 Michael Friese. All rights reserved.
2016/12/09 21:45:10 [GENERAL/SCRIPTS] INFO Loading ScriptPlugin advertising.js
2016/12/09 21:45:10 [GENERAL/SCRIPTS] INFO Loading ScriptPlugin aloneMode.js
2016/12/09 21:45:10 [GENERAL/SCRIPTS] INFO Loading ScriptPlugin badchan.js
2016/12/09 21:45:10 [GENERAL/SCRIPTS] INFO Loading ScriptPlugin bookmark.js
2016/12/09 21:45:10 [GENERAL/SCRIPTS] INFO Loading ScriptPlugin covatar.js
2016/12/09 21:45:10 [GENERAL/SCRIPTS] INFO Loading ScriptPlugin dev.js
2016/12/09 21:45:10 [GENERAL/SCRIPTS] INFO Loading ScriptPlugin followme.js
2016/12/09 21:45:10 [GENERAL/SCRIPTS] INFO Loading ScriptPlugin idle.js
2016/12/09 21:45:10 [GENERAL/SCRIPTS] INFO Loading ScriptPlugin metadata.js
2016/12/09 21:45:10 [GENERAL/SCRIPTS] INFO Loading ScriptPlugin norecording.js
2016/12/09 21:45:10 [GENERAL/SCRIPTS] INFO Loading ScriptPlugin rememberChannel.js
2016/12/09 21:45:10 [GENERAL/SCRIPTS] INFO Loading ScriptPlugin showcase.js
2016/12/09 21:45:10 [GENERAL/SCRIPTS] INFO Loading ScriptPlugin sound.js
2016/12/09 21:45:10 [GENERAL/SCRIPTS] INFO Loading ScriptPlugin welcometext.js
2016/12/09 21:45:10 X [MAIN] Starting up fake x-server...
2016/12/09 21:45:10 c70db429 INFO Loading instances
2016/12/09 21:45:10 c70db429 INFO Loading instance://862f863b-1b4f-45ab-a84b-fe7152be1503
2016/12/09 21:45:10 c70db429 862f863b INFO Initialization complete
2016/12/09 21:45:10 [GENERAL/FFMPEG ] INFO FFmpeg/avcodec v3741798; license: LGPL version 2.1 or later; 81 codecs
2016/12/09 21:45:10 [GENERAL/FFMPEG ] INFO FFmpeg/avformat v3742052; license: LGPL version 2.1 or later; 143 formats
2016/12/09 21:45:10 [GENERAL/YTDL ] INFO youtube-dl checking...
2016/12/09 21:45:16 [GENERAL/YTDL ] INFO youtube-dl version compatible, support enabled
2016/12/09 21:45:16 [GENERAL/!!!!!!!] NOTICE You may now configure and launch the bots from the webinterface. http://0.0.0.0:8087
2016/12/09 21:45:16 [GENERAL/RADIO ] INFO RadioStation data loaded
2016/12/09 21:45:16 [GENERAL/RADIO ] INFO Imported radio stations
2016/12/09 21:46:40 c70db429 INFO JOBS-ADD [admin] https://www.youtube.com/watch?v=YlUKcNNmywk OK
2016/12/09 21:46:41 c70db429 DEBUG youtube-dlquit
Code:
TS3Path = "/opt/ts3soundboard/TeamSpeak3-Client-linux_amd64/ts3client_linux_amd64"
ListenHost = "0.0.0.0"
DataDir = "/opt/ts3soundboard/data/"
ListenPort = 8087
LocalPlayback = false
EnableLocalFS = false
MaxBulkOperations = 300
LogLevel = 10
EnableProfiler = false
YoutubeDLPath = "/usr/local/bin/youtube-dl"
EnableDebugConsole = true
UploadLimit = 253886080
RunAsUser = 0
RunAsGroup = 0
InstanceActionLimit = 6
UseSSL = false
SSLKeyFile = ""
SSLCertFile = ""
Hostname = ""
SampleInterval = 100
StartVNC = false
EnableWebStream = false
LogFile = ""
LicenseKey = ""
IsProxied = false
DenyStreamURLs = []
Pragma = 0
[YoutubeDL]
BufferSize = 524288
MaxDownloadSize = 419430400
MaxDownloadRate = 104857600
CacheStreamed = false
[TS3]
AvatarMaxWidth = 0
AvatarMaxHeight = 0
AllowGIF = true
[StreamRewrites]
[Scripts]
AllowReload = false
EnableTimer = false
[Themes]
Default = ""
[SpeechRecognition]
Enable = false
[FFmpeg]
UserAgent = "SinusBot (0.9.15-b20cc30)"
[DAV]
Enable = false
[XServer]
Delay = 0
Debug = false
Code:
>youtube-dl -U
youtube-dl is up-to-date (2016.12.09)
Operating System: Linux Debian 8
SinusBot Version: 0.9.8
TS3 Version: 3.0.19.4
Problem Description
Whenever trying to use youtube-dl via sinusbot webinterface or chatcommands in teamspeak it just gives me "error" as response in the webinterface.
What it looks like when i start the bot with the following command:
The bot itself works fine whenever i use a radio as source to play audio or select mp3s i uploaded myself.
Youtube-dl itself works aswell because whenever i use it in putty via youtube-dl https://www.youtube.com/xxx it downloads the file as supposed to.
The bot's config is the following:
Hope someone can tell me what i've done wrong and where to find my mistake D:
(feel free to answer in german too)
SinusBot Version: 0.9.8
TS3 Version: 3.0.19.4
Problem Description
Whenever trying to use youtube-dl via sinusbot webinterface or chatcommands in teamspeak it just gives me "error" as response in the webinterface.
What it looks like when i start the bot with the following command:
screen -s musikbot xinit /opt/ts3soundboard/ts3bot -- /usr/bin/Xvfb :1 -screen 0 800x600x16 -ac
Code:
xinit: XFree86_VT property unexpectedly has 0 items instead of 1
___ ___ _ _ _ _ ___ ___ ___ _____ BETA
/ __|_ _| \| | | | / __| _ )/ _ \_ _|
\__ \| || .` | |_| \__ \ _ \ (_) || |
|___/___|_|\_|\___/|___/___/\___/ |_|
(C) 2013-2015 Michael Friese. All rights reserved.
2016/12/07 03:17:51 c70db429 INFO Initializing bot://c70db429-586d-41dc-91e7-efb9e20b6829
2016/12/07 03:17:51 c70db429 862f863b INFO Loaded
2016/12/07 03:17:51 FFmpeg/avcodec v3675236; license: LGPL version 2.1 or later; 494 codecs
2016/12/07 03:17:51 FFmpeg/avformat v3674980; license: LGPL version 2.1 or later; 139 formats
2016/12/07 03:17:51 youtube-dl checking...
2016/12/07 03:17:52 youtube-dl version compatible, support enabled
2016/12/07 03:17:52 RadioStation data loaded
2016/12/07 03:17:52 Imported radio stations
2016/12/07 03:22:56 c70db429 INFO JOBS-ADD [admin] %!s(*string=0xc2080fffd0) OK
2016/12/07 03:22:57 c70db429 DEBUG youtube-dlquit
The bot itself works fine whenever i use a radio as source to play audio or select mp3s i uploaded myself.
Youtube-dl itself works aswell because whenever i use it in putty via youtube-dl https://www.youtube.com/xxx it downloads the file as supposed to.
The bot's config is the following:
Code:
TS3Path = "/opt/ts3soundboard/TeamSpeak3-Client-linux_amd64/ts3client_linux_amd64"
ListenHost = "0.0.0.0"
DataDir = ""
ListenPort = 8087
LocalPlayback = false
SecretKey = [127, 173, 60, 87, 255, 9, 29, 119, 130, 102, 115, 43, 101, 253, 12, 178, 78, 230, 241, 44, 207, 184, 202, 214, 16, 47, 165, 235, 116, 41, 151, 227]
EnableLocalFS = false
LogLevel = 10
EnableProfiler = false
YoutubeDLPath ="/usr/local/bin/youtube-dl"
EnableDebugConsole = true
UploadLimit = 253886080
RunAsUser = 0
RunAsGroup = 0
InstanceActionLimit = 6
UseSSL = false
SSLKeyFile = ""
SSLCertFile = ""
Hostname = ""
MTU = 1500
SampleInterval = 100
StartVNC = false
EnableMulticastMetadata = false
EnableWebStream = false
[StreamRewrites]
Hope someone can tell me what i've done wrong and where to find my mistake D:
(feel free to answer in german too)
Last edited: