• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.
  • If you want to test the new SinusBot for Windows that is compatible with TS version 3.1 & the current Discord version, please use this version.

SyncWatch 1.3.3

No permission to download
Da ich nun mit der Entwicklung recht weit vorangeschritten bin, wollte ich nun mein Ergebnis mal präsentieren:

Es ist ein Webinterface für den Sinusbot, das den Sinn hat, Youtube-Videos (die mittels !ytdl geladen wurden) gemeinsam ansehen zu können.
Das Video wird dazu synchron mit dem Track des Sinusbot gehalten.
Auf der Weboberfläche gibt es außerdem ein paar Controls, um den Bot zu steuern, sofern man die entsprechenden Rechte dafür vergibt.

Kritik, Verbesserungsvorschläge oder sonstige Anmerkungen werden immer gerne gesehen! Bugs natürlich nicht, aber bringt sie mir bitte, wenn ihr welche findet :)
Since I have progressed with the development quite far, I wanted to present my results now:

A web interface for the Sinusbot, which enables you to watch the currently playing title (has to be loaded per !ytdl) synchronized to the bot in a youtube window.

You can control the bot instance via some basic buttons implemented in the UI.

Criticism, suggestions for improvement or other comments are always welcome! Bugs of course not, but bring me please if you find some :)

1. Install the script like any other by dropping the script *.js file and the folder from the archive into your sinusbot/scripts folder.
2. Create a user for the webinterface so it can run with its' own privileges.
a. Give permissions: You basically only need to give [LOGIN] permission for the script to work, but if you want to control the bot via UI you also have to allow [PLAYBACK] and [MANAGE INSTANCES]. If you specify admin credentials or a user with full permissions, you have to be careful, since advanced users could read out the token and control your bot with it (or maybe worse).
b. If no token is given and you try to login to the webinterface, then the webinterface will ask for username and password to store until the token invalidates or you log out.
3. Activate the script in your sinusbot script settings.
4. Configure the script settings.
5. If you want to make use of the webstream mechanism, you have to enable it first in your sinusbot server configuration file (set 'EnableWebStream = true' in config.ini).
6. Enjoy!

Basic Usage
Write !sw to the ts3-bot via teamspeak private message and you will get back an authenticated Link to the web interface.
Note: If that does not work, you can go also open it via your sinusbot script settings by clicking the name of the script.

Public URL (re-)routing (optional)
If you provided a custom url via config, you will most probably need to setup your routing for it to work. I can provide you with my apache virtualhost config at least:

ProxyPass /api http://localhost:8087/api
ProxyPassReverse /api http://localhost:8087/api

ProxyPass / http://localhost:8087/scripts/syncwatch/
ProxyPassReverse / http://localhost:8087/scripts/syncwatch/

  • !sw: returns a link to SyncWatch in private chat
  • !swc : posts the link in channel chat
  • !swr : reloads all scripts

- add some visitor interaction (websockets)
- implement web-streaming
- add instance respawn buttons

- testing on most modern devices
- improvement of the syncing logic

- moved controls to sidebar
- added overlay when in sync mode
- minified most parts for performance
- fix sync when running in background (to prevent lagging)
- improve prev play stop track control
- fix ui bugs when using controls too much
- add instance selection
- finish login
- implemented en-/disabling of some sections in certain contexts
- implemented authorization via web interface
- added dropdown for better track selection
- added an input field for playing already loaded tracks on submit
- added play, stop, prev buttons for controlling the sinusbot instance
- added currently running track info
- implemented url routing for authorization via teamspeak-link
- implemented synchronization from sinusbot (server) to youtube-player (client) for !ytdl-title
- embedded youtube player
- added seconds parameter
- added configuration parameters for username and password to be used by the script
- created sinusbot script for generating link to the youtube title running

Again, please report bugs! Thanks!

First release
Last update
4.33 star(s) 6 ratings

Latest updates

  1. major bugfixes

    + adjustable sync interval through slideout input field (saved in local storage) + toggle...
  2. Webstream Update

    DE: Webstreaming wird nun aktiviert, sofern ein Titel nicht mit youtube-dl heruntergeladen...
  3. Major UI update + bug fixes

    The UI has greatly been improved and login aswell as instance selection are possible via...

Latest reviews

Gucke zusammen mit anderen in echtzeit Videos, ganz einfach und ohne Probleme. Ein großartiges Script für alle, die gerne mal zusammen mit anderen Videos gucken möchten. Einfache Installation, ein grandioses kostenloses und funktionierendes Script und schnellen Support per Nachricht vom Autor, was möchte man mehr? Watch2Gether und ähnliche Plattformen werden mit dem Script nicht mehr benötigt, alles wichtige könnt ihr ab sofort über das Script mit dem Sinusbot machen.
very good addon! :) great job
but i'm getting Sorry, but SyncWatch has insufficient permission to do this. and i give playback and login perm on bot
that's strange. do you authenticate via teamspeak? can you post more details? thanks
Cooles Script! Wenn auch Videos von Liedern, die über das Youtube Webinterface mit "Play Now" / "Enqueue", oder youtube Playlists, gestartet wurden, abgespielt werden können gibt es 5 Sterne :)
Danke! Derzeit arbeite ich an den media controls (previous track, play/pause, stop); aber ich lasse dich wissen, wenn es soweit ist ;)
Cooles Plugin. Dokumentation könnte etwas ausführlicher sein, aber wenn es einmal läuft, dann läufts :)
Danke für die Info. Woran genau hat es denn gehapert?
Really good script, if you add the the possibility to do this with the play function of youtube-dl like it is used in "Youtube Interface" and for playlists I will give you 5 stars !
Thanks for reviewing! I will think about adding this feature.
Gute Idee und umgesetzt.
Danke, freut mich das zu hören!