SinusBot Forums
15 subscribers
1 photo
26.7K links
Instant Notifications for new posts on the SinusBot forums (https://forum.sinusbot.com)
Download Telegram
Discord Bot spielt keine Musik (7) by irgendwr:
MexmexMe said:
Ja, das ist mir schon aufgefallen. Bin aber nicht mehr so fit, was Linux betrifft.
Weißt du, was ich dagegen tun kann?

suchmaschine deines vertrauens benutzen
let me google that for you... https://chrisjean.com/fix-apt-get-update-the-following-signatures-couldnt-be-verified-because-the-public-key-is-not-available/
Metadaten abfragen / get metadata of a client (5) by Caudex:
fabm3n said:
Soweit ich weiß ist es nicht möglich. Es ist ja auch nichts in der Scripting Dokumentation vorhanden.

Deshalb frage ich ja nach, ob es nicht doch irgendeine Möglichkeit gibt, die Metadaten auszulesen.
Grundsätzlich sollte das ja technisch umsetzbar sein, da die Sinusbot-Software aus dem Teamspeak-Client ja auch nur ein Teamspeak-Plugin ist und Teamspeak-Plugins ja in der Lage sind die Metadaten auszulesen.
Vielleicht weiß ja @flyth da etwas weiter. Vielleicht kann man ja auch irgendwie uneingebundene Teamspeak-Funktionen irgendwie in das Sinusbot-Skript einbinden.
Discord Bot spielt keine Musik (8) by fabm3n:
Da bräuchten wir folgende Daten:
- Welches System ist das?
- Was passiert bei sudo apt update
- Alle Dateien im Pfad sowie deren Inhalt [lCODE]/etc/apt/sources.list.d/[/lCODE]
Bot unable to play music (4) by irgendwr:
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 clearing the 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
Sinusbot can't connect on TS3 Client (3) by JohnnyKing94:
Here you go @irgendwr
Code:
==========================================================
SINUSBOT RELATED
SYSTEM INFORMATION
- Operating System: Ubuntu 18.04.4 LTS
- Kernel: Linux 4.15.0-96-generic x86_64
- Load Average: 1.47 1.41 1.54
- Uptime: 0 days, 6 hours, 33 minutes, 34 seconds
- OS x64 check: OK
- OS Updates: 0 (well done!)
- OS Missing Packages: None
- OS APT Last Update: 17.04.2020 11:22:43 CEST +02:00:00
- Shell Locale: en_US.UTF-8
- Bot Start Script: not found
- CPU:
Architecture: x86_64
CPU(s): 8
Thread(s) per core: 2
Core(s) per socket: 4
Socket(s): 1
Model name: Intel(R) Core(TM) i7 CPU 950 @ 3.07GHz
CPU MHz: 1730.361
Virtualization: VT-x
- RAM: 5.64 GB/15.65 GB in use (36%)
- SWAP: 948.25 MB/3.99 GB in use (23%)
- DISK: 1.19 TB/1.78 TB in use (66%)
- Package versions:
- libglib: 2.56.4-0ubuntu0.18.04.62.56.4-0ubuntu0.18.04.6
BOT INFORMATION
- Status: not running
- Webinterface: port locally reachable (Port: 8087)
- Binary: /home/desktop/Public/Softwares/sinusbot/sinusbot
- Binary Info: MD5 Hash: 224b687db910b732fe5a7cfec4f6c78e, Perms: 755, User: desktop
- 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 = /home/desktop/Public/Softwares/TeamSpeak3-Client-linu
libgthread-2.0.so.0 cannot open shared object file no such file or directory (4) by Scrati:
olokos said:
https://lmgtfy.com/?q=libgthread-2.0.so.0+cannot+open+shared+object+file+no+such+file+or+director&iie=1

I love you dude! My problem is solved
thanks
 
Last edited by a moderator: 1 minute ago
Scripts Request (2) by Multivitamin:
I have made a tool currently for my TeamSpeak which does not work with Sinusbot but I could port it so it would work with Sinusbot
It does channel deleting every 5 minutes thats why the channel manually
and it has a x amount of minimum channels it will always have free, in this example there is a minimum amount of 2 free channels
it also creates them in the correct order
its a gif:
Scripts Request (3) by GuepardHD:
TwentyFour said:
Hey,
I think could be integrated into an existing Channel Creation Tool, would be pretty tough to do it from scratch to mimic almost identical functionality.
Are you already using one?

I have already looked at https://forum.sinusbot.com/resources/auto-channel-creator.128/ Put it does not correspond to my needs puts it looks like it.
Multivitamin said:
I have made a tool currently for my TeamSpeak which does not work with Sinusbot but I could port it so it would work with Sinusbot
It does channel deleting every 5 minutes thats why the channel manually
and it has a x amount of minimum channels it will always have free, in this example there is a minimum amount of 2 free channels
it also creates them in the correct order

Hello, yes it seems to be that it would be necessary that I test it myself to see if it corresponds there is possibility of sharing it?
Scripts Request (4) by Multivitamin:
GuepardHD said:
Hello, yes it seems to be that it would be necessary that I test it myself to see if it corresponds there is possibility of sharing it?

as I said, this script has not been made for Sinusbot, i would need to port it to Sinusbot first
Scripts Request (6) by Multivitamin:
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
 
Attachments

expandingChannel.js
8.6 KB
Views: 0
Music Bot not playing music when using a YT link. (new!) by Invicta:
Okay first off I'd like to extend my thanks to anyone willing to read this and help out. So here's my issue: I have installed Sinusbot and youtube DL by using the automated installer script. My music bot used to work fine for a year or so but now has stopped working. What I have tried to solve this issue: restart the VPS and restart sinusbot, update to the newest version. I'm not sure what else I can do to solve the issue.
Now what happens is the following. It says it succesfully downloads the song which is does. But then never proceeds to automatically play it. it simply says: "Done PLAYING" even though nothing was ever played!
I tried to put in a YT song by letting it catch a link using the Youtube downloader script (see image below)
This all seemed to work fine before.
Spoiler: Image of script



Now what happens is the following. It says it succesfully downloads the song which is does. But then never proceeds to automatically play it. it simply says: "Done PLAYING" even though nothing was ever played!
Spoiler: System config & diag

Code:
==========================================================
SINUSBOT RELATED
SYSTEM INFORMATION
- Operating System: Debian GNU/Linux 9.12 (stretch)
- Kernel: Linux 4.9.0-11-amd64 x86_64
- Load Average: 2.10 0.79 0.52
- Uptime: 99 days, 2 hours, 4 minutes, 38 seconds
- OS x64 check: OK
- OS Updates: 2 (updates available!)
- OS Missing Packages: None
- OS APT Last Update: 18.04.2020 02:02:18 CEST +02:00:00
- Shell Locale: en_US.UTF-
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);
});