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

Run as docker container #5

Open alex4108 opened 1 year ago

alex4108 commented 1 year ago

I'm taking a swing at docker-izing this, just curious if you've been there before :)

alex4108 commented 1 year ago

RIP, it looks like I can't run ts3client in container


root@9d708fcf8ee5:/TeamSpeak3-Client-linux_amd64# ./ts3client_runscript.sh start
./ts3client_linux_amd64: error while loading shared libraries: libpci.so.3: cannot open shared object file: No such file or directory

root@9d708fcf8ee5:/TeamSpeak3-Client-linux_amd64# xvfb-run ./ts3client_linux_amd64
./ts3client_linux_amd64: error while loading shared libraries: libquazip.so: cannot open shared object file: No such file or directory
Bettehem commented 1 year ago

Hi, thanks for looking at this! I haven't yet looked at the docker support, but it should be possible as long as we can get the ts3client running inside docker. Which Linux distro are you using in the docker container?

An other possibility would be to develop the built-in tsclient further, as currently it can only connect to non-password protected servers and only send/receive messages to the connected channel. There's no audio yet.

Bettehem commented 1 year ago

Hi, A small update for you:

Adding proper docker support should now be easier with the latest commits as the bot now supports running the official tsclient and official spotify client headlessly too.

Do you have any updates on your progress with this?