Bettehem / ts3-musicbot

TS3 Music Bot with Spotify, YouTube, SoundCloud and Bandcamp support!
https://gitlab.com/Bettehem/ts3-musicbot
GNU General Public License v3.0
51 stars 11 forks source link

Non-GUI version? #1

Closed bertalanimre closed 1 year ago

bertalanimre commented 3 years ago

Hey Bettehem!

This would be an excelent bot for me too, but we are running from a server that has no GUI. Do you think you could make it work without any GUI? Also, a docker image would be excelent.

Bettehem commented 3 years ago

Yeah that's probably going to be possible some time in the future, but in the meanwhile you can perhaps start a VNC server and use that for the GUI. That has worked for me in the past. EDIT: The docker image will also be fairly easy to add once I get the bot working completely without a GUI

Bettehem commented 3 years ago

But I have to add, that you don't necessarily need to run the bot on the server machine. It can be ran from any computer as long as you can connect to the server and talk on the channel you want! As this bot only uses the TeamSpeak client there's no "server-only" code in this bot.

bertalanimre commented 3 years ago

VNC would be too "power hungry" for my taste. I'll wait until you'll toss out the new No-GUI version :)

Bettehem commented 3 years ago

Ok. I can't give an ETA on that though. To be fully non-gui, i would have to make a built-in teamspeak client in to the bot, and somehow make the Spotify client usable without a gui. The latter will probably be the harder one to do. I would really suggest at least giving the VNC option a try. It doesn't consume that much resources because you could use a really lightweight window manager (like i3 or openbox) for it and not a full-blown desktop. Basically the bot only needs a gui currently because of the teamspeak 3 client and the spotify player. And it will probably remain so for a while until i figure out a way to do it without Xorg/GUI.

victor141516 commented 2 years ago

If you're willing to make the Dockerfile, then you can use KasmVNC (or any other noVNC base image) to give access to the GUI. Here you have an example of the Firefox Dockerfile: https://github.com/kasmtech/workspaces-images/blob/develop/dockerfile-kasm-firefox

Bettehem commented 2 years ago

Wow, thanks! I have to look in to this

Bettehem commented 1 year ago

Hi, the music bot now works headlessly too! Sorry for taking so long on the issue, but at last this is solved :) Check out the Installation guide on the wiki page for instructions: https://gitlab.com/Bettehem/ts3-musicbot/-/wikis/installation