Go to file
Etoh dd8c864d98
Use Twisted for VLC communication (#353)
* Port VLCPlayer from asyncore/asynchat to Twisted

Rationale: asyncore/asynchat are deprecated since Python 3.6 and
are going to be removed from the standard library from Python 3.10.
It is unclear if these libraries will be picked up by maintainers
and independently published on PyPI. At the moment, we are working
on replacing them, in this commit with Twisted LineReceiver.

Known issues: does not work with GUI. There is a conflict with
qt5reactor -> "QSocketNotifier: Can only be used with threads
started with QThread".

* Fix QSocketNotifier issue with qt5reactor

Sending the call to transport.write wrapped in a
self.reactor.callFromThread instead of directly does the trick.
Include also fixes to allow correct quit of VLC and Syncplay when
either one is closed.

Known issues: there is a noticeable lag (~ 1 second) between the
start of Syncplay MainWindow and the start of VLC.

* Re-add try/except to VLC

* Bring back missing try

Co-authored-by: Alberto Sottile <alby128@gmail.com>
2020-09-20 13:45:23 +01:00
syncplay Use Twisted for VLC communication (#353) 2020-09-20 13:45:23 +01:00
travis
.appveyor.yml
.gitignore
.travis.yml
GNUmakefile
LICENSE
MANIFEST.in
Makefile
README.md
appdmg.py
bintray.json
bintray_version.py
buildPy2app.py
buildPy2exe.py
requirements.txt
requirements_gui.txt Allow PySide2 5.15.1 2020-09-13 20:10:07 +02:00
setup.py
snapcraft.yaml
syncplayClient.py
syncplayServer.py

README.md

Syncplay

Travis build Status Appveyor build status

Solution to synchronize video playback across multiple instances of mpv, VLC, MPC-HC, MPC-BE and mplayer2 over the Internet.

Official website

https://syncplay.pl

Download

https://syncplay.pl/download/

What does it do

Syncplay synchronises the position and play state of multiple media players so that the viewers can watch the same thing at the same time. This means that when one person pauses/unpauses playback or seeks (jumps position) within their media player then this will be replicated across all media players connected to the same server and in the same 'room' (viewing session). When a new person joins they will also be synchronised. Syncplay also includes text-based chat so you can discuss a video as you watch it (or you could use third-party Voice over IP software to talk over a video).

What it doesn't do

Syncplay is not a file sharing service.

License

This project, the Syncplay released binaries, and all the files included in this repository unless stated otherwise in the header of the file, are licensed under the Apache License, version 2.0. A copy of this license is included in the LICENSE file of this repository. Licenses and attribution notices for third-party media are set out in third-party-notices.rtf.

Authors