Metadata-Version: 2.1
Name: sync-mpv
Version: 0.36
Summary: Host a server and watch any youtube-dl compatible video in synchronization with your peers.
Home-page: https://github.com/mdnghtman/sync-mpv
Author: midnightman
Author-email: midnightman@protonmail.com
License: Apache-2.0
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: Apache Software License
Classifier: Operating System :: POSIX :: Linux
Classifier: Operating System :: MacOS :: MacOS X
Requires-Python: >=3.6
Description-Content-Type: text/markdown
License-File: LICENSE.md

## 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.





