Play videos in transformice while using non-browser game clients. (using steam client for example)
Works both in tribehouses and music rooms!
This works only on linux atm.
Install those programs with your system package manager or download them from developers directly. If you chose the second option, remember to include directories with binaries of the programs in the PATH variable.
You must use python3.9
or higher. (Binary in release section should be independent from your python version).
Requirements installation example for apt:
apt update && apt install mpv youtube-dl tcpdump
Requirements installation example for pacman:
pacman -S mpv youtube-dl tcpdump
Installing the main program:
Try using binary in the releases section, if that doesn't work, go with the instructions below:
pip3 install https://github.com/szero/mouselounge/archive/master.zip
If you're using tcpdump
, it should be already configured and ready to use.
If it isn't the mouselounge
program will error out with "[Your capture device]:
You don't have permission to capture on that device". You can assign the program
packet capturing rights by issing the command below:
sudo setcap 'CAP_NET_RAW+eip CAP_NET_ADMIN+eip' "$(command -v tcpdump)"
As for tcpflow
, the command looks like this this.
sudo setcap 'CAP_NET_RAW+eip CAP_NET_ADMIN+eip' "$(command -v tcpflow)"
If you don't like giving programs extended rights permanently you can skip the steps above
and just run mouselounge
with sudo.
Type mouselounge
in your terminal or ./mouselounge
if you used the binary release !
Thats it! Now you can paste your links inside music input box like you always did, but now, mpv window with given video will open and information about posted youtube videos will be printed in the termianl.
To quit, either press Ctrl + C
or Ctrl + \
- I installed the thing and all of its dependiencies, it was working for some time and videos still appear in the terminal window but no video window appears anymore.
- This program depends on youtube-dl. It always changes because youtube changes it's API's all the time. If you can't see vids, try updating youtube-dl to the newest version first from the link in Installation section preferably.