275 Commits

Author SHA1 Message Date
Etoh
0cb4df01f6
Readiness override (#671)
* Readiness override (initial implementation)

* Fix broken chat code on server

* Fix room context menu when alone in room
2024-09-30 19:47:29 +01:00
Etoh
25fabbcc50
Set recent client threshold to 1.7.3 2024-04-29 19:15:42 +01:00
soredake
feff5026b1
Add support for mpv installed from microsoft store (#662)
Co-authored-by: Etoh <etoh@syncplay.pl>
2024-04-29 19:13:54 +01:00
peelz
64ea98ac1c
Fix invalid string escapes (#677) 2024-04-29 19:04:10 +01:00
Etoh
bc683a59f5
Set recent threshold to 1.7.2 2024-04-05 20:13:16 +01:00
Etoh
a0a6e6a644
Allow player arguments with spaces/quotes (#665) (#668) 2024-01-28 11:34:32 +00:00
soredake
6c87940e5d
constants: add new per-user mpv.net path (#659) 2024-01-05 19:43:37 +00:00
Etoh
c6c666ef0d
Set recent client to 1.7.1 2023-11-24 00:28:52 +00:00
Etoh
1ebc49f58e
Set server's recent client threshold to >=1.7.0 2023-03-26 22:32:25 +01:00
Etoh
470d763ff1
Revert default max username length to 16 chars (#596) 2023-03-21 18:28:59 +00:00
Radif Tazetdinov
b7b80df01b
Add /next command (#518)
* Add next command

* Add /next command to English and Russian /help list

* Add commandlist-notification/next stubs
2022-04-09 12:34:46 +01:00
et0h
bed4986979 Add Windows Store mpv.net path support (#494) 2022-01-02 12:49:56 +00:00
Etoh
c0e8652c8c
Re-work room persistence (#487)
* 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>
2021-12-09 16:23:57 +00:00
et0h
e2605577f5 Add queue and select command (#472) 2021-10-28 01:25:25 +01:00
Tremolo4
2bf3931f59
Trusted Domains: Allow trusting a domain regardless of HTTP basic auth credentials (#437)
* 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
2021-10-17 13:44:07 +01:00
et0h
d71b7fca78 Refactor MPC-HC player path code (#453) 2021-08-29 12:00:56 +01:00
ImportTaste
366a686ab3
Support for LAV Filters Megamix (#457) 2021-08-29 11:18:55 +01:00
et0h
896d30430c Mark as 1.6.8 final (build 98) 2021-05-08 14:05:15 +01:00
Etoh
c063369e3c
Improve playlist advancement for VLC and mpv (#334) (#397)
* Advance playlist on end of file in mpv and VLC
* Update duration for streams to fix playlist advancement (#334)
2021-03-28 20:18:56 +01:00
Etoh
573e09a270
Add more MPC-HC paths (#398) 2021-03-06 12:34:36 +00:00
et0h
eaf6b338d5 Mark as 1.6.7 final (build 94) 2020-12-12 21:01:40 +00:00
Alberto Sottile
9de3b4d86f
Add support for IINA player (#360)
* Ä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
2020-11-29 16:18:53 +00:00
et0h
594ca8ba0d Increase recent client threshold to 1.6.6 2020-10-19 18:04:00 +01:00
et0h
09c8b596ee Add error that VLC 4 does not support Syncplay 2020-09-19 15:29:21 +01:00
Florian Badie
b09fb90b34
Console improvements (#327), including work from #316 and #319
* 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>
2020-09-13 16:45:38 +01:00
Jacky
2d3fc14474
changed mpvnet icon from .ico to .png for consistency (#348) 2020-09-13 14:36:04 +01:00
Etoh
3761ce26a7
Set recent client threshold to 1.6.5 2020-06-21 12:12:40 +01:00
et0h
ad48498367 Reduce disruption when connecting with a path specified (#315) 2020-05-25 10:57:38 +01:00
et0h
f8b8032ef6 Re-work handling of sync on join and playlist change (#280) 2020-05-23 16:55:22 +01:00
et0h
4dbf57e626 Fix seamless playlist advancement for music (#302) 2020-05-17 19:41:36 +01:00
et0h
a74fef08ca Ensure mpv playlist advancement works (even for MPVNet, #246) 2020-05-16 13:48:23 +01:00
Etoh
793e55ddbc
Move to JSON IPC API for mpv using iwaltons3's library (#261) (#310)
* 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>
2020-05-15 19:23:57 +01:00
et0h
4765fa452c Seamless advancement and auto-looping for music (mpv) 2019-08-17 16:33:01 +01:00
et0h
187c8d87fc Add initial mpv.net support 2019-08-06 00:17:19 +01:00
et0h
a35c7a5c9c Set 1.6.4 as most recent client 2019-06-23 11:40:20 +01:00
Alberto Sottile
a9172f9fa6 Support for Snap VLC on Linux
Add the snap VLC path to the discovery list and automatically copy
our lua script in the correct path for snap installations.

Fixes: #222
2019-05-20 11:26:35 +02:00
et0h
2ecd9e7877 Prevent long player paths from making GuiConfig window too wide 2019-05-19 18:29:00 +01:00
Alberto Sottile
bc242c2565 macOS: add support for Mojave Dark Mode
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)
2019-05-14 16:00:22 +02:00
Alberto Sottile
ce8884f4c7 macOS: fix selection highlight in MainWindow userList 2019-05-14 16:00:22 +02:00
albertosottile
ff6bb74b49 Use dictionaries to get constant values for different OS 2019-05-14 16:00:22 +02:00
Alberto Sottile
03263b3a4c macOS: appearance fixes on the main dialog UI 2019-05-14 16:00:22 +02:00
Etoh
bcf8174b7d Mark as 1.6.3 release 2019-03-15 11:21:49 +00:00
Alberto Sottile
a60e6aac8a TLS cert rotation: attempt to load valid certs for 10 times before disabling TLS 2019-02-19 10:49:58 +01:00
Etoh
d8ebb50da7 Only copy syncplay.lua when needed 2019-02-09 17:58:26 +00:00
Etoh
0f2bdb6a61 Mark as 1.6.0 Final 2018-09-23 14:41:40 +01:00
albertosottile
a630860d2e Server Stats: rename feature 2018-07-25 17:36:10 +02:00
albertosottile
c32bd1191c Server logger: add roomIndex and playStatus 2018-07-25 17:34:30 +02:00
albertosottile
9f52834ae4 Server logger: fix bug and sanitize version string 2018-07-25 17:34:23 +02:00
albertosottile
8a8859694c Enable logging support on server for client versions 2018-07-25 17:34:17 +02:00
Daniel Ahn
ac4da59479 Revert "Revert "Code Syntax Refactoring""
This reverts commit 51fba3722f653156eca30d45cb07846fb725a777.
2018-07-23 14:12:09 -07:00