1. The bot currently doesn't work with version 3.1 of the TS client. Please downgrade to an older version. Read this for more information on how to downgrade.

[English+German][WINDOWS] How to install youtube-dl with the Bot?

Discussion in 'HowTos' started by Raphraph, Jul 16, 2015.

  1. prawn185

    prawn185 New Member

    When i do !yt:
    upload_2017-1-7_18-5-39.png
    And on web:
    upload_2017-1-7_18-6-3.png
     
  2. irgendwer

    irgendwer V.I.P. V.I.P. is awesome! Insider

  3. prawn185

    prawn185 New Member

    When I click it is really quick then closes
     
  4. prawn185

    prawn185 New Member

  5. irgendwer

    irgendwer V.I.P. V.I.P. is awesome! Insider

    Yeah this is supposed to happen.
    Did you restart the bot after changing the config?
    If yes: can you provide logs from the bot (when starting it should say something about yt-dl)
     
    • Like Like x 1
  6. prawn185

    prawn185 New Member

    2017-01-07T18:11:44+00:00 New connection status 4; Error 0
    2017-01-07T18:11:44+00:00 New connection status 3; Error 0
    2017-01-07T18:11:44+00:00 New connection status 2; Error 0
    2017-01-07T18:11:44+00:00 New connection status 1; Error 0
    2017-01-07T18:11:41+00:00 Starting instance ts3server://85.236.100.124?port=11697&nickname=My%20Little%20Trecle&password=&channel=&channelpassword=
    2017-01-07T18:11:21+00:00 KILL [admin] FAILED
    2017-01-07T18:11:20+00:00 Could not request shutdown. Please make sure that the loopback interface is not firewalled; HTTP returned an error: Error: The pipe is being closed.; Code: 500; Message: Error: The pipe is being closed.
    2017-01-07T18:11:20+00:00 Error writing The pipe is being closed.
    2017-01-07T18:11:19+00:00 TSClient quit.
     
  7. irgendwer

    irgendwer V.I.P. V.I.P. is awesome! Insider

    Problem was solved: The Bot was still running in the background so it didn't reload the new config. Closing and starting the Sinusbot again fixed it. :)
     
    Last edited: Jan 7, 2017
    • Agree Agree x 1
  8. Velaxers

    Velaxers Member

    Do I download 1 of these files or all of them?
    [​IMG]
     
  9. irgendwer

    irgendwer V.I.P. V.I.P. is awesome! Insider

    Only one of them, use the last one if you have a 64bit system.
     
  10. Zellogi

    Zellogi New Member

    I hate to necro an old thread, but I'm having the same issue everyone else seems to have. My youtube-dl works, SinusBot just can't find it. I have my Config.ini set up properly but I'll post it below. I have Python 3.2, I have the C++ 2010 thing, I do not know what else I can do to get it working. I tried every solution listed in this thread, restarting both my bot and computer each time, with no change in the problem. Any additional help would be appreciated. If you need anything else besides my config.ini, let me know as well as how to find it.

    Also here's a screenshot of my SinusBot folder to rule out that youtube-dl is not in the right place.
    http://puu.sh/xaPYp/b5a1053ef0.png

    And the result of trying to use it
    https://puu.sh/xaQ9E/ffdedc67a2.png

    My config.ini
    TS3Path = "C:\\SinusBot\\TeamSpeak 3 Client\\ts3client_win64.exe"
    ListenHost = "0.0.0.0"
    DataDir = "C:\\SinusBot\\data\\"
    ListenPort = 8087
    LocalPlayback = false
    EnableLocalFS = false
    MaxBulkOperations = 300
    LogLevel = 10
    EnableProfiler = false
    YoutubeDLPath = "C:\\SinusBot\\youtube-dl.exe"
    EnableDebugConsole = false
    UploadLimit = 83886080
    RunAsUser = 0
    RunAsGroup = 0
    InstanceActionLimit = 6
    UseSSL = false
    SSLKeyFile = ""
    SSLCertFile = ""
    Hostname = ""
    SampleInterval = 60
    StartVNC = false
    EnableWebStream = false
    LogFile = ""
    LicenseKey = "vz6v3S66d0AifZko0MBhRyBFH8+fO012mDNRv3k+OBk="
    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
    DisableLegacyEvents = false
    ScriptTimeout = 5

    [Themes]
    Default = ""

    [SpeechRecognition]
    Enable = false

    [FFmpeg]
    UserAgent = "SinusBot (0.9.21-217b2fe)"

    [DAV]
    Enable = false

    [XServer]
    Delay = 0
    Debug = false

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

    [RadioStations]
    URL = ""
    UpdateInterval = 0
     
    Last edited: Aug 15, 2017 at 8:55 PM

Share This Page