Sync'd video playback across computers.
170
This goal for this library is to allow people to play back audio and video together with a group of other people across networks or internet.
The goal is to build this in such a way as to support all the major platforms. That said, for now it is only tested on Linux (Ubuntu). Some initial testing on Windows indicates some things will need to be modified on the script, but it should generally be workable in the future. I do not have a Mac so I have no way of testing that side.
sharePlayer currently supports using mplayer as well as ChromeCast for shared playback.
This is primarily just a python project. Installation boils down to simply pip install sharePlayer. Here's a useful one-liner:
mkvirtualenv --python=$(which python3) -i sharePlayer sharePlayer
At that point, you are in your virtual environment and sharePlayer has been installed.
To run sharePlayer, simply run the command sharePlayer. It's highly encouraged for you to install this into a python virtual environment, so if you did that you would want to make sure that your virtual environment is open prior to running that command.
To run sharePlayer client inside docker, use something like:
sudo docker run -it --rm bannsec/shareplayer:rewrite_gui
To run sharePlayer inside a Docker network, use something similar to:
sudo -E $(which docker-compose) run --service-ports shareplayer; sudo -E $(which docker-compose) down
The above command will start up the server network, exposing 12345, then when exited will remove those containers.
This app is based on client/server configuration. The server in this case is you or your co-video watcher. You need to be able to set up your network in such a way that the client can get to the server. I have not implemented any UPnP type functionality yet.
This app has been developed with the concept of having viewing parties. However, for the moment it is only tested for having one server and one client (two people total). It will likely not work as expected or at all if you attempt to connect more. This is temporary, but for now it's a 2 person viewing system.
I hope to make this mostly OS agnostic. Here are the current dependencies
Right now sharePlayer supports a configuration file. This file is in ini format and can be manually edited. It also has a menu option to edit this file through the app itself. The location of this file will differ based on your OS (using appdirs in the backend). For instance, on Linux, it will be under ~/.config/sharePlayer.
This app has been outfitted with authenticating encryption. The other end needs to know the password ahead of time to be able to connect. Choose a strong password if you're concerned about others joining this session.
Content type
Image
Digest
Size
292.9 MB
Last updated
almost 8 years ago
docker pull bannsec/shareplayer:rewrite_gui