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.

Stream command not working

fex1011

New Member
hello,
Installed sinusbot on windows 10 on my computer (for testing purpose) to connect to a distant teamspeak 3 server and everything works fine. play, yt, ytdl and stream commands all work just fine.

Then i tried to install the bot with the exact same versions on the debian where the ts3 server is installed. The bot works just fine exept for the !stream command. Returns invalid URL. (the url is fine since it's working on the windows server)

Details :
  • SinusBot version : SinusBot 1.0.0-beta.10-202ee4d
  • youtube-dl 2021.01.24.1 (tried lastest version but didnt work so i went for an older version after following a thread on the forum)
  • TS Client and Server version : 3.5.6
  • OS : Debian 9 64bit
  • the instance log :
    Code:
    2021-02-25T09:00:41+01:00 Done playing2021-02-25T08:56:11+01:00 Storing configuration.
    2021-02-25T08:55:44+01:00 TS/ERR 2564 e'access to default group is forbidden' x'' r'PR:{86183125-b5ec-4206-b59e-9d2c60c07b7f}:35/GCLL'
    2021-02-25T08:55:43+01:00 New connection status 4; Error 0
    2021-02-25T08:55:43+01:00 TS |INFO |ClientUI |1 |Connect status: Connection established
    2021-02-25T08:55:43+01:00 Ŋαï joined the channel
    2021-02-25T08:55:43+01:00 Heisenberg joined the channel
    2021-02-25T08:55:43+01:00 New connection status 3; Error 0
    2021-02-25T08:55:43+01:00 TS |INFO |ClientUI |1 |Connect status: Establishing connection
    2021-02-25T08:55:43+01:00 New connection status 2; Error 0
    2021-02-25T08:55:43+01:00 TS |INFO |ClientUI |1 |Connect status: Connected
    2021-02-25T08:55:43+01:00 TS |DEVELOP |PktHandler |1 |Puzzle solve time: 5
    2021-02-25T08:55:43+01:00 New connection status 1; Error 0
    2021-02-25T08:55:43+01:00 TS |INFO | | |Statistics report: Not yet, next report on lun. mars 22 18:11:33 2021
    2021-02-25T08:55:43+01:00 TS |INFO |ClientUI | |Last update check was: sam. janv. 1 00:00:01 2022
    2021-02-25T08:55:43+01:00 TS |INFO |Bookmarks | |Collecting autoconnect bookmarks
    2021-02-25T08:55:43+01:00 TS |INFO |ClientUI |1 |Connect status: Connecting
    2021-02-25T08:55:42+01:00 TS |INFO |ClientUI |1 |Initiating connection: 127.0.0.1:9987
    2021-02-25T08:55:42+01:00 TS |INFO |ClientUI |1 |Connect to server: 127.0.0.1
    2021-02-25T08:55:42+01:00 TS |INFO |ClientUI | |ts3server: 127.0.0.1?port=9987&nickname=SinusBot&password=*******&cid=17&channelpassword=
    2021-02-25T08:55:42+01:00 TS |INFO |ClientUI | |Using configuration location: /opt/sinusbot/data/ts3/ea9eeda1-cb32-4b73-b235-3a78faa2741f/f4a6b668-fbc7-4838-8fe1-957f1526403e/settings.db
    2021-02-25T08:55:42+01:00 TS |INFO |ClientUI | |Qt version: 5.12.1
    2021-02-25T08:55:42+01:00 TS |INFO |ClientUI | |Failed to init text to speech engine
    2021-02-25T08:55:42+01:00 TS |INFO | | |*** Time [INIT]: 169
    2021-02-25T08:55:42+01:00 TS |INFO | | |*** Time [MAINWINDOW]: 169
    2021-02-25T08:55:42+01:00 TS>ClientQueryPlugin: currentServerConnectionChanged 1 (0)
    2021-02-25T08:55:42+01:00 TS |INFO | | |successfully downloaded revocation list for myteamspeak id
    2021-02-25T08:55:41+01:00 TS |INFO | | |successfully downloaded revocation list for accounting
    2021-02-25T08:55:41+01:00 TS |INFO |Query | |listening on 127.0.0.1:25639
    2021-02-25T08:55:41+01:00 TS |INFO |Plugins | |Loading plugin: libclientquery_plugin_linux_amd64.so
    2021-02-25T08:55:41+01:00 TS |INFO |Plugins | |Loading plugin: libsoundbot_plugin.so
    2021-02-25T08:55:41+01:00 TS |INFO |Addons | |Checking for addon updates...
    2021-02-25T08:55:41+01:00 TS |ERROR |RevocationListCache| |Failed to import revocation list from cache
    2021-02-25T08:55:41+01:00 TS |INFO |ClientUI | |Unable to create an Open GL context.
    2021-02-25T08:55:41+01:00 TS |ERROR |SoundBckndIntf| |/opt/sinusbot/TeamSpeak3-Client-linux_amd64/soundbackends/libpulseaudio_linux_amd64.so error: INIT_PA_IMPL
    2021-02-25T08:55:41+01:00 TS |ERROR |PulseAudio | |pa_context_connect failed -
    2021-02-25T08:55:41+01:00 TS |ERROR |PulseAudio | |failed to connect to pulse audio server -
    2021-02-25T08:55:41+01:00 TS |INFO | | |SystemInformation: Linux 3.16.0-4-amd64 #1 SMP Debian 3.16.51-3 (2017-12-13) x86_64 Binary: 64bit
    2021-02-25T08:55:41+01:00 TS |INFO | | |TeamSpeak Client 3.5.6 (2020-11-25 13:53:42)
    2021-02-25T08:55:41+01:00 TS>DUMP defined! Dumpdir is: /opt/sinusbot/data/ts3/ea9eeda1-cb32-4b73-b235-3a78faa2741f/f4a6b668-fbc7-4838-8fe1-957f1526403e/crashdumps
    2021-02-25T08:55:41+01:00 TS>Crashdump ENABLED, directory is: /opt/sinusbot/data/ts3/ea9eeda1-cb32-4b73-b235-3a78faa2741f/f4a6b668-fbc7-4838-8fe1-957f1526403e/crashdumps
    2021-02-25T08:55:41+01:00 Starting instance ts3server://127.0.0.1?port=9987&nickname=SinusBot&password=*******&cid=17&channelpassword=
    2021-02-25T08:55:41+01:00 Could not insert into FileTransfer-Tableno such table: FileTransfer
    2021-02-25T08:55:41+01:00 Could not delete from FileTransferno such table: FileTransfer
    2021-02-25T08:55:41+01:00 Could not insert into FileTransfer-Tableno such table: FileTransfer
    2021-02-25T08:55:41+01:00 Could not delete from FileTransferno such table: FileTransfer
    2021-02-25T08:55:41+01:00 Could not insert into FileTransfer-Tableno such table: FileTransfer
    2021-02-25T08:55:41+01:00 Could not delete from FileTransferno such table: FileTransfer
    2021-02-25T08:55:41+01:00 Could not insert into FileTransfer-Tableno such table: FileTransfer
    2021-02-25T08:55:41+01:00 Could not delete from FileTransferno such table: FileTransfer
    2021-02-25T08:55:41+01:00 Could not insert into FileTransfer-Tableno such table: FileTransfer
    2021-02-25T08:55:41+01:00 Could not delete from FileTransferno such table: FileTransfer
    2021-02-25T08:55:41+01:00 Could not insert into FileTransfer-Tableno such table: FileTransfer
    2021-02-25T08:55:41+01:00 Could not delete from FileTransferno such table: FileTransfer
    2021-02-25T08:55:41+01:00 Could not create Notifications-Tabletable Notifications already exists
    2021-02-25T08:55:41+01:00 Could not create WhisperReceive-Tabletable WhisperReceive already exists
    2021-02-25T08:55:41+01:00 Could not create Chat-Tabletable Chat already exists
    2021-02-25T08:55:41+01:00 About to run.
    2021-02-25T08:55:41+01:00 Prespawn.
    2021-02-25T08:55:41+01:00 imported module: command
    2021-02-25T08:55:41+01:00 resolving module command
    2021-02-25T08:55:41+01:00 script queue loaded
    2021-02-25T08:55:41+01:00 registered callback for event chat
    2021-02-25T08:55:41+01:00 Auto-Starting ea9eeda1-cb32-4b73-b235-3a78faa2741f/f4a6b668-fbc7-4838-8fe1-957f1526403e in 500 ms...
    2021-02-25T08:55:41+01:00 Initialization complete
    2021-02-25T08:55:41+01:00 script sinusbot-commands loaded
    2021-02-25T08:55:41+01:00 registered callback for event load
    2021-02-25T08:55:41+01:00 [sinusbot-commands:86:12] Loaded SinusBot Commands v1.0.0 by Jonas Bögle (@irgendwr).
    2021-02-25T08:55:41+01:00 executing script queue
    2021-02-25T08:55:41+01:00 script command loaded
    2021-02-25T08:55:41+01:00 module registered as command
    2021-02-25T08:55:41+01:00 registered callback for event chat
    2021-02-25T08:55:41+01:00 executing script sinusbot-commands
    2021-02-25T08:55:41+01:00 executing script command
  • the bot log (this error only occures when i try the stream command)
    Code:
    2021-02-25T09:00:41+01:00 Cannot playback URL of type text/html; charset=utf-8
    2021-02-25T08:55:41+01:00 Loading instance://f4a6b668-fbc7-4838-8fe1-957f1526403e
    2021-02-25T08:55:41+01:00 Loading instances
  • config.ini
    Code:
    TS3Path = "/opt/sinusbot/TeamSpeak3-Client-linux_amd64/ts3client_linux_amd64"ListenHost = "0.0.0.0"
    DataDir = "/opt/sinusbot/data/"
    ListenPort = 8087
    LocalPlayback = false
    EnableLocalFS = false
    MaxBulkOperations = 300
    LogLevel = 10
    EnableProfiler = false
    YoutubeDLPath = "/opt/sinusbot/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 = "pWtAuD+b/+LOQr2HysBQUIwPVehZVTnJv+UMtMsmhkY="
    IsProxied = false
    DenyStreamURLs = []
    Pragma = 0
    UserAgent = ""
    
    [YoutubeDL]
    BufferSize = 524288
    MaxDownloadSize = 419430400
    MaxDownloadRate = 104857600
    MaxSimultaneousChunkDownloads = 6
    CacheStreamed = false
    TimeoutSingleDownloader = 0
    TimeoutMultiDownloader = 0
    ChunkSize = 3145728
    
    [TS3]
    AvatarMaxWidth = 0
    AvatarMaxHeight = 0
    AllowGIF = false
    
    [StreamRewrites]
    
    [Scripts]
    Debug = false
    AllowReload = 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
  • and the log from the diagnostic script
    Code:
    ==========================================================
    SINUSBOT RELATED
    SYSTEM INFORMATION
    - Operating System: Debian GNU/Linux 9.13 (stretch)
    - Kernel: Linux 3.16.0-4-amd64 x86_64
    - Load Average: 0.17 0.14 0.16
    - Uptime: 0 days, 0 hours, 22 minutes, 42 seconds
    - OS x64 check: OK
    - OS Updates: 0 (well done!)
    - OS Missing Packages: None
    - OS APT Last Update: 25.02.2021 07:12:24 CET +01:00:00
    - Shell Locale: fr_FR.UTF-8
    - Bot Start Script: not found
    - CPU:
    Architecture: x86_64
    CPU(s): 4
    Thread(s) per core: 2
    Core(s) per socket: 2
    Socket(s): 1
    Model name: Intel(R) Core(TM) i3-3240 CPU @ 3.40GHz
    CPU MHz: 1686.585
    Virtualization: VT-x
    - RAM: 600.64 MB/15.60 GB in use (3%)
    - SWAP: 0 B/1021.99 MB in use (0%)
    - DISK: 582.35 GB/916.14 GB in use (63%)
    - Package versions:
    - libglib: 2.50.3-2+deb9u22.50.3-2+deb9u2
    
    BOT INFORMATION
    - Status: running (PIDs: 2847 2845, User: sinusbot)
    - Webinterface: port locally reachable (Port: 8087)
    - Binary: /opt/sinusbot/sinusbot
    - Binary Info: MD5 Hash: 224b687db910b732fe5a7cfec4f6c78e, Perms: 755, User: si nusbot
    - Version: 1.0.0-beta.10-202ee4d
    - TS3 Plugin: installed (md5 hash match)
    - Bot Plugin: aa483aea105cb62033392b1ce6d317ab
    - TS3 Client: aa483aea105cb62033392b1ce6d317ab
    - Config:
    - LogLevel = 10 (debug log active)
    - TS3Path = /opt/sinusbot/TeamSpeak3-Client-linux_amd64/ts3client_linux_amd64 (Version 3.5.6)
    - YoutubeDLPath = /opt/sinusbot/youtube-dl (does exist, version: 2021.02.04.1 )
    - Installed scripts: advertising.js; alonemode.js; bookmark.js; command.js; fol lowme.js; norecording.js; queue.js; rememberChannel.js; sinusbot-commands.js; we lcome.js
    
    BOT TECHNICAL INFORMATION
    - File exists:
    - TS3Client/libqxcb-glx-integration.so: no
    - LDD output:
    linux-vdso.so.1 (0x00007ffe078e3000)
    libswresample.so.2 => /opt/sinusbot/libswresample.so.2 (0x00007f66312e3000)
    libavfilter.so.6 => /opt/sinusbot/libavfilter.so.6 (0x00007f6630f8b000)
    libavformat.so.57 => /opt/sinusbot/libavformat.so.57 (0x00007f6630b8a000)
    libavcodec.so.57 => /opt/sinusbot/libavcodec.so.57 (0x00007f6630225000)
    libavutil.so.55 => /opt/sinusbot/libavutil.so.55 (0x00007f662ffb1000)
    libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007f662fdad000)
    libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007f662faa9000)
    libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007f662f88c000 )
    libstdc++.so.6 => /usr/lib/x86_64-linux-gnu/libstdc++.so.6 (0x00007f662f50a0 00)
    libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007f662f2f3000)
    libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f662ef54000)
    libz.so.1 => /lib/x86_64-linux-gnu/libz.so.1 (0x00007f662ed3a000)
    librt.so.1 => /lib/x86_64-linux-gnu/librt.so.1 (0x00007f662eb32000)
    /lib64/ld-linux-x86-64.so.2 (0x00007f66314fd000)
    
    REACHABILITY CHECKS
    - HTTPS check with IPv4 mode: SUCCESS [Connection established to www.sinusbot.c om, CODE #200]
    - HTTPS check with IPv6 mode: IGNORED [Disabled]
    - DNS resolution check: SUCCESS [www.sinusbot.com resolved to 172.67.132.160]
    - Update server checks:
    update01.sinusbot.com -> 172.67.132.160: SUCCESS [CODE #404]
    update02.sinusbot.com -> 104.21.13.58: SUCCESS [CODE #404]
    update03.sinusbot.com -> 172.67.132.160: SUCCESS [CODE #404]
    
    TIME INFORMATION
    - Time (local): 25.02.2021 08:52:01 CET +01:00:00
    - Time (remote): 25.02.2021 08:52:01 CET +01:00:00
    - Time (difference): 0 secs (Time diff less than 2 secs. Good.)
    - Timezone: Europe/Paris
    
    OTHER INFORMATION
    - TeamSpeak3 Version: 3.5.6
    - youtube-dl Version: 2021.02.04.1
    - DiagScript Version: 0.8.0
    ==========================================================
 
Last edited:

Himsel

Well-Known Member
Contributor
Last edited:

fex1011

New Member
tried, still doesnt work. thanks for trying tho

edit : ytdlc makes it even worth actually cause playlists dont even work anymore
 
Top