SinusBot / docker

🐳 Official Docker image of the SinusBot for TeamSpeak 3 and Discord.
https://sinusbot.github.io/docker
MIT License
78 stars 32 forks source link

!yt doesn't work #28

Closed RealRunSpace closed 5 years ago

RealRunSpace commented 5 years ago

Hello, I'm trying to play a youtube video and I get this in the console err from ytdl: exit status 1 2019/03/08 15:34:34 cc7fbda3 7868d07b INFO PRIVATE-CHAT [RealRunSpace]] yt [URL]https://www.youtube.com/watch?v=E8VwtjhMFJ8[/URL] 2019/03/08 15:34:34 cc7fbda3 7868d07b INFO CHAT 1 [rrs @ RealRunSpace] < yt [URL]https://www.youtube.com/watch?v=E8VwtjhMFJ8[/URL] > / OK 2019/03/08 15:34:37 err from ytdl: exit status 1 I have a firewall installed, but I don't know where to see logs of ytdl, so I cannot debug it. I'm using centos7 with CWP

mxschmitt commented 5 years ago

Thanks for reporting the issue @RealRunSpace. It's fixed now 👍

RealRunSpace commented 5 years ago

So I only execute the pull coamd, restart docker and should be fixed right?

mxschmitt commented 5 years ago

Unfortunately not, you have to adjust your config.ini and set: YoutubeDLPath = "/usr/local/bin/youtube-dl"

RealRunSpace commented 5 years ago

Sorry to ask, but how can I edit this config? With exec I can enter in the container, but I can't use nano or another edito, so how can I do it?

irgendwr commented 5 years ago

If you're using volumes like shown in the readme then you can use nano /opt/sinusbot/data/config.ini on your docker-host.

RealRunSpace commented 5 years ago

ok thanks!