* Initial server-side room persistence implementation (#434)
* Added room permanence option to server
* Fixed error if roomsDirPath is None
* Sanitized filenames
* Delete room file on empty playlist
* Fixed position not saving when leaving and seeking, and position not loading after a restart
* Decoupled permanence check
* Added --rooms-timer option that limits the max lifespan of persistent rooms
* Assigned filename to variable to deduplicate calculation
* Freed up room when loading unwanted room from file
Co-authored-by: Assistant <assistant.moetron@gmail.com>
* Use sqlite for persistent/permanent rooms (#434)
* Add -temp rooms and persistent room notices
* Use system loanguage for servers
* Make room temp check case-insensitive
* Improve temp room check
* Fix controlled rooms
* Refactor how non-macOS/frozen initialLanguage is fixed
* Fix persistent room list
* Don't send dummy users to new console clients (#434)
* Allow hiding of empty persistent rooms (#434)
* List current rooms in join list
Co-authored-by: Assistant <assistant.moetron@gmail.com>
* Trusted Domains: don't consider HTTP basic auth credentials part of the domain name
* Trusted Domains: hide "add as trusted domain" menu item if entry does not contain domain
* Trusted Domains: strip HTTP basic auth credentials also when adding as trusted domain via context menu
* Ädd support for IINA
* cleanup
* Add start background image
* Restore comment
* Support custom player path
* Update messages
* Separate IINA changes from python_mpv_jsonipc
* Do not show file info for our placeholder image in the UI
* Fix mpv socket
* Fix running IINA from frozen app
Apparently, `iina-cli` gets confused when launched from a frozen app
and automatically adds `--stdin` to its passed launch arguments.
But then, it waits for a file to be piped and, because there is none,
the player crashes almost immediately. Sending `--no-stdin` to the
process resolves the ambiguity and does not cause any harm if
Syncplay is started from sources.
* Pass again environment to the subprocess.Popen call that opens mpv
Related to: c07206c18992c1dca401b30a01b9f0fe54a71df5
* add videos to playlist from chat
* add urls to playlist
* add files in media directory to playlist
* add commands to show the playlist and select an index
* add command to delete files from the playlist
* show selected index in playlist
* fix adding files with queue command in GUI mode
* start indexing the playlist at 1
or at least that's what it would look like to the user
* start all commands related to playlist with `q`
Co-authored-by: kiscs <csandras05@gmail.com>
* Separate mpv from mplayer, increase min mpv ver to >= 0.17, refactor
* Further separation of mpv from mplayer
* Fix reference to isASCII
* Add iwalton3's Python MPV JSONIPC library (Apache 2.0)
* Move to JSON IPC API for mpv using iwaltons3's library (#261)
* Add empty init in Python MPV JSONIPC to make py2exe happy
* Use managed version of Python MPV JSONIPC to improve initialisation reliability
* Set mpv min version to >=0.29.0 to ensure compatibility
* Allow mpv >=0.23.0 based on daniel-123's tests
* Update mpv compatibility message
* Revert to old OSC compat message
* Removed mpv option that's no longer used afer switching to IPC.
* Update python-mpv-jsonipc to v1.1.11
* Use python-mpv-jsonipc's mpv quit handler
* Shorten mpv paused/position update message
Co-authored-by: daniel-123 <wrobel.dan@gmail.com>
This commit adds to our UI the support for macOS 10.14+ Dark Mode.
Qt already adapts a large fraction of the color scheme, but some
label colors had to be adjusted and were put in separate STYLE_DARK
constants. To determine if the OS is set in Dark or Light Mode, we
use a new dependency, included in the vendor folder:
Darkdetect - license: BSD-3-Clause
To allow the app bundle to use the Dark Mode APIs, a constant is
added in the info.plist ('NSRequiresAquaSystemAppearance': False)