Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

sync-mpv-0.37.tar.gz (10.9 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page