SinusBot Forums
15 subscribers
1 photo
26.7K links
Instant Notifications for new posts on the SinusBot forums (https://forum.sinusbot.com)
Download Telegram
Sinusbot can't connect on TS3 Client (5) by JohnnyKing94:
irgendwr said:
Thanks. And
Try running the SinusBot using our startscript: https://sinusbot.github.io/docs/installation/linux/#using-a-startscript

@irgendwr I tried, but no changes
Code:
2020-04-18T09:49:28+02:00 eof from data
2020-04-18T09:49:28+02:00 closing channels
2020-04-18T09:49:28+02:00 eof from voice
2020-04-18T09:49:27+02:00 TSClient quit.
2020-04-18T09:49:27+02:00 Closed.
2020-04-18T09:49:27+02:00 TS> after 204 requests (200 known processed) with 0 events remaining.
2020-04-18T09:49:27+02:00 TS>XIO: fatal IO error 2 (No such file or directory) on X server "unix/:40.0"
2020-04-18T09:49:27+02:00 TS>The X11 connection broke: Maximum allowed requested length exceeded (code 4)
2020-04-18T09:49:27+02:00 TS>libpng warning: iCCP: known incorrect sRGB profile
2020-04-18T09:49:27+02:00 TS>QXcbIntegration: Cannot create platform OpenGL context, neither GLX nor EGL are enabled
2020-04-18T09:49:27+02:00 TS>QXcbIntegration: Cannot create platform OpenGL context, neither GLX nor EGL are enabled
2020-04-18T09:49:27+02:00 TS>QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-desktop'
2020-04-18T09:49:27+02:00 TS>qt.qpa.xkeyboard: no keyboard layouts with latin keys present
2020-04-18T09:49:27+02:00 TS>QCoreApplication::applicationDirPath: Please instantiate the QApplication object first
2020-04-18T09:49:26+02:00 Could not send var command: HTTP returned an error: Error; Code: 500; Message: Error
2020-04-18T09:49:26+02:00 Could not send config: HTTP returned
Scripts Request (7) by GuepardHD:
Multivitamin said:
Created a script now, if you have wishes which should be added please do that in the next few days, next time i will update might take a few days
Feedback if everything is okay would also be very cool

Hello, thank you for uploading the script, I just tested it exactly what I wanted except that I wanted it to create channels only from Room 3 [VIP] so what I want say its that Room 1, Room 2, Room 3 [VIP] its me which creates it myself and that the script creates channels below Room 3 [VIP] and the script makes Room 4 [VIP], Room 5 [VIP] ECT ... without touching Rooms 1, 2, 3 I hope you understand.
Edit main commands (new!) by Greency:
Hello!
I want to edit main comand, exactly !qytdl so that it search first in yt and then play this. I know how to write it but i dont know which file i need to edit.
I think editing in file sinusbot-commands.js is not what I need. I dont see here anything what is reading line in TeamSpeak. This is how it looks:
command.createCommand('qytdl')
.addArgument(command.createArgument('string').setName('url'))
.help('Download and enqueue <url> via youtube-dl')
.manual('Enqueues <url> via external youtube-dl (if enabled); beware: the file will be downloaded first and played back afterwards, so there might be a slight delay before playback starts; additionally, the file will be stored.')
.checkPermission(requirePrivileges(PLAYBACK|UPLOAD_FILE, ENQUEUE|UPLOAD_FILE))
.exec((client, args, reply, ev) => {
// print syntax if no url given
if (!args.url) {
reply(USAGE_PREFIX + 'qytdl <url>');
return;
}
if (!media.enqueueYtdl(stripURL(args.url))) {
reply(ERROR_PREFIX + 'Invalid URL.');
return;
}
successReaction(ev, reply);
});
Web interface not storing correct Channel-IDs (TS5 Beta Servers only?) (5) by TwentyFour:
Didn't report with the desire of a quick fix, just rather informative
Thanks for having a look!
At the point where the beta servers are shut down again, prolly no normal server gets up to those high channel IDs... I also noticed some wierd behavior with channelParentID, which I discussed with @mxschmitt a little.
Music Bot not playing music when using a YT link. (3) by zumi:
Did many times the cache clearing and restarting. Does not help. Still same issue. Also tried the cli yt-command and it worked ok:
Code:
[download] The Weeknd - Blinding Lights (Official Audio)-fHI8X4OXluQ.webm has already been downloaded
[download] 100% of 3.19MiB
[debug] ffmpeg command line: ffprobe -show_streams 'file:The Weeknd - Blinding Lights (Official Audio)-fHI8X4OXluQ.webm'
[ffmpeg] Destination: The Weeknd - Blinding Lights (Official Audio)-fHI8X4OXluQ.opus
[debug] ffmpeg command line: ffmpeg -y -loglevel 'repeat+info' -i 'file:The Weeknd - Blinding Lights (Official Audio)-fHI8X4OXluQ.webm' -vn -acodec copy 'file:The Weeknd - Blinding Lights (Official Audio)-fHI8X4OXluQ.opus'
Deleting original file The Weeknd - Blinding Lights (Official Audio)-fHI8X4OXluQ.webm (pass -k to keep)
Bot won't connect (new!) by MatsoN:
Same at thread name.
Code:
==========================================================
SINUSBOT RELATED
SYSTEM INFORMATION
- Operating System: Ubuntu 19.10
- Kernel: Linux 5.3.0-46-generic x86_64
- Load Average: 0.15 0.33 0.23
- Uptime: 0 days, 0 hours, 16 minutes, 9 seconds
- OS x64 check: OK
- OS Updates: 0 (well done!)
- OS Missing Packages: None
- OS APT Last Update: 19.04.2020 15:10:21 CEST +02:00:00
- Shell Locale: en_US.UTF-8
- Bot Start Script: not found
- CPU:
Architecture: x86_64
CPU(s): 2
Thread(s) per core: 1
Core(s) per socket: 1
Socket(s): 2
Model name: Intel Core Processor (Haswell, no TSX)
CPU MHz: 2399.990
Virtualization: VT-x
Hypervisor vendor: KVM
Virtualization type: full
- RAM: 909.68 MB/7.58 GB in use (11%)
- SWAP: 0 B/0 B in use (0%) (SWAP disabled)
- DISK: 37.71 GB/77.36 GB in use (48%)
- Package versions:
- libglib: 2.62.4-1~ubuntu19.10.2
BOT INFORMATION
- Status: not running
- Webinterface: port locally not reachable (Port: 8087)
- Binary: /opt/ts3soundboard/sinusbot
- Binary Info: MD5 Hash: 6f301dac3e4dfd45ce149933c5dadd08, Perms: 755, User: sinusbot
- Version: 1.0.0-beta.1-06a54d7
- TS3 Plugin: installed (md5 hash match)
- Bot Plugin: 59c9a688307aa73af9573029a7625fc5
- TS3 Client: 59c9a688307aa73af9
Unable to play music via youtube-dl (Error 403: Forbidden) (6) by doman991:
irgendwr said:
Looks like other people are having trouble with youtube-dl aswell recently. (https://github.com/ytdl-org/youtube-dl/issues/24713, https://github.com/ytdl-org/youtube-dl/issues/24736, https://github.com/ytdl-org/youtube-dl/issues/23638, ...)
Try removing the signature cache:
Bash:
su sinusbot
youtube-dl --rm-cache-dir
and then try again.
If that doesn't work: Try manually downloading something from the CLI: youtube-dl -v -i --no-playlist --no-call-home -x https://www.youtube.com/watch?v=fHI8X4OXluQ

It seems to be working again thx.
changes music after 1 or 2 minutes (new!) by killermafia:
Sempre que tento reproduzir uma música da lista de reprodução do yt, ela é reproduzida, mas depois de um tempo o bot muda a música para a próxima música na lista de reprodução. Isso acontece com todas as músicas, mas o tempo que leva para mudar é sempre entre 1 ou 2 minutos. Então Song1 toca e no meio da música para e a próxima aparece
Avatar problem (new!) by PrzemoVi:
Hi.
I'm trying to set bot's avatar using web interface.
But when I upload one it says "success" and nothing changes.
I'm getting this error on LogLevel 10 in the console:
2020/04/19 21:25:44 d337ab6d 23147020 DEBUG Image format is jpeg
2020/04/19 21:25:44 d337ab6d 23147020 DEBUG Size is 25345
2020/04/19 21:25:44 d337ab6d 23147020 DEBUG Awaiting Callback (1): PR:{74e1d77f-3171-4135-95e2-760cf6f947c7}:167/UPLO
2020/04/19 21:25:45 d337ab6d 23147020 DEBUG TS/ERR 2051 e'file not found' x'' r'PR:{74e1d77f-3171-4135-95e2-760cf6f947c7}:168/AVAT'
OS: Debian x64, dedicated host. Latest stable SinusBot and TeamSpeak.
I tried to reinstall everything but the problem still persists.
Youtube Command is not working.. (new!) by Cappsy:
Hi there, of few days ago i have problem with my instances because when i want to play a music via youtube does not work. I have already reinstalled and updated the bots but it was not resolved nothing..somebody can help for me? :/
PORTUGUESE RADIO STREAM LINKS (5) by Billy The Kid:
SMOOTHFM - http://mcrscast.mcr.iol.pt/smoothfm.m3u
How could you get it? I mean.... When I look it up all I can see is chunklists... I dunno how to reach the full URL on this particular radio since it is chuncked. Also coul yoy say how and all the others Smooth Stations?
Soul
Blues
Bossa Nova
Jazz
Vocals?