Host a server and watch any youtube-dl compatible video in synchronization with your peers.
Project description
sync-mpv
Host a server and watch any youtube-dl compatible video in synchronization with connecting clients utilizing the mpv player.
AES-encrypted server <-> client transport.
Installation
If "~/.local/bin/" is not inside your PATH, install mpv-sync with sudo privileges.
sudo pip install sync-mpv
Dependencies
- mpv
- pycryptodome
- python-mpv-jsonipc
Usage
Server
For your server to receive and send messages you'll have to open TCP port 51984.
On first start of "sync-mpv-server", you'll be asked to decide for a 16-digit long password.
The clients will have to enter the same password when prompted.
Password will be written to "~/.config/sync-mpv/serverpassword.conf"
Client
On first start of "sync-mpv-client", you'll be asked to specify your username and the IP and password of the server.
A config file will be created in "~/.config/sync-mpv/mpv-sync.conf"
Press Space to toggle play/pause.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file sync-mpv-0.37.tar.gz.
File metadata
- Download URL: sync-mpv-0.37.tar.gz
- Upload date:
- Size: 10.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.10.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a21a6d612ef268014bf09bbe80c3b04713bd15466b65d8d3a4726689a9b9c6be
|
|
| MD5 |
63aa50ac8e955b7679bbef14277feb3d
|
|
| BLAKE2b-256 |
d94337096e14338a5bc9c150b5a5476edad5c6c2983c3e3674d4d53284b60f13
|