Et0h
412626471f
Fix position not changing when playlist changed in mpv error ( #618 )
2024-06-09 22:35:28 +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
887131ef9f
Fix MPV socket getting created in CWD ( #675 ) ( fixes #674 )
...
* Disable creation of secondary MPV socket by default
* Fix secondary and primary MPV sockets getting conflated
* Store MPV socket in $XDG_RUNTIME_DIR
2024-04-29 18:55:10 +01:00
Etoh
459c9e9198
Pass input-ipc-server player argument to mpv ( #529 ) ( #669 )
...
* Pass input-ipc-server player argument to mpv (#529 )
* Create secondary mpv IPC Socket "mpvSyncplaySocket" by default
2024-02-03 12:02:22 +00:00
Etoh
884d79bed3
Support player arguments like --no-border in mpv ( #616 )
2023-07-03 19:10:39 +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
et0h
5c3982f313
Strip quotation marks from per-player arguments ( #226 )
2021-03-03 23:17:16 +00:00
Alberto Sottile
03cde67c72
Re-enable youtube-dl on macOS plus mpv and IINA ( #381 )
...
* Determine correct PYTHONPATH for youtube-dl and pass it to mpv subprocess (follows c07206c)
* Homebrew on arm64 has a different prefix
2021-01-23 15:40:40 +01:00
Alberto Sottile
86241b00c2
Move python_mpv_jsonipc in our vendor folder ( #369 )
...
* Move python_mpv_jsonipc to the vendor folder
* Adapt players code to the new path
2020-12-04 22:26:21 +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
f7ca631e08
Allow = sign in value of command line options ( #333 )
2020-09-17 20:57:29 +01:00
Denis
bf4bea65c3
MPV: Add possibility to control which socket to use ( #320 )
...
Co-authored-by: Denis Fomin <dfomin@retechlabs.com>
2020-09-13 14:38:24 +01:00
ChiyoOsaka
7c9bd596b5
fix typo in error message ( #323 )
2020-06-10 23:13:06 +01:00
Etoh
89ce72d6cb
mpv: Preserve playback state when opening/closing a file
2020-05-27 18:33:07 +01:00
et0h
4dbf57e626
Fix seamless playlist advancement for music ( #302 )
2020-05-17 19:41:36 +01:00
et0h
5df3046287
Improve mpv error handling and display 'mpv-failed-advice' if load fails
2020-05-16 12:44:14 +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
0f284e7329
Make mpv code compatible with mpvnet
2019-08-07 22:26:22 +01:00
et0h
187c8d87fc
Add initial mpv.net support
2019-08-06 00:17:19 +01:00
xNinjaKittyx
3d35d2e02d
Revert a typo and an equality check
2018-07-23 14:57:29 -07:00
xNinjaKittyx
d59afb8f2f
Revert any changes to tri logic
2018-07-23 14:41:10 -07:00
Daniel Ahn
ac4da59479
Revert "Revert "Code Syntax Refactoring""
...
This reverts commit 51fba3722f653156eca30d45cb07846fb725a777.
2018-07-23 14:12:09 -07:00
Alberto Sottile
51fba3722f
Revert "Code Syntax Refactoring"
2018-07-23 22:32:47 +02:00
Daniel Ahn
63c0573ab2
Reverted most code back to == False. Future code should consider using is False if possible.
2018-07-21 03:20:34 -07:00
Daniel Ahn
292215dd22
Fixed some typos
2018-07-20 14:04:01 -07:00
Daniel Ahn
f01de206d8
fix formattings
2018-07-20 12:12:55 -07:00
Alberto Sottile
fe224c0316
Fixes mpv support
2018-04-27 00:30:58 +02:00
Alberto Sottile
111976faf9
Adapt mplayer/mpv protocols to Python 3.x
2018-04-25 15:42:19 +02:00
Alberto Sottile
b827a57cab
2to3 conversion and initial VLC support
2018-04-24 00:44:19 +02:00
Etoh
9b54123458
Merge chat-OSD
2018-01-14 18:04:29 +00:00
Etoh
f5c6b8fcf9
Make repl.lua copyright notice more prominent
2018-01-14 17:54:18 +00:00
Etoh
a24ec19517
Fix Syncplay handling of file duration in mpv (part 2)
2018-01-08 01:09:09 +00:00
Ricardo Constantino
ed357ef404
mpv: use property expansion fallbacks for deprecated length
...
This allows using both length and duration. mpv will fallback to
duration if length isn't available. If neither are available, it
falls back to 0 which doesn't break Syncplay and happens to add
support for livestreams.
2016-11-24 02:45:25 +00:00
Ricardo Constantino
aad8e7db7e
mpv: capture more than one digit when checking version
2016-11-24 02:04:33 +00:00
Et0h
ad7c21024f
Improve mpv newfile handling
2016-10-17 16:14:43 +01:00
Et0h
580af0c2c1
setPause to set rather than cycle pause property for newMPV
2016-10-17 14:18:19 +01:00
Et0h
82adb4c592
Fix mpv recentlyReset sometimes being treated as true even when false
2016-10-16 14:48:47 +01:00
Etoh
9072f224ae
Add some mpv loadfile-related debug messages
2016-10-16 11:52:25 +01:00
Et0h
28eb7a0561
Queue/drop messages sent while mpv is loading a file & throttle mpv message sending (+ revert problematic unicode)
2016-06-11 19:51:10 +01:00
Et0h
1e9e9609f2
Increase use of Unicode in strings
2016-06-11 13:41:29 +01:00
Uriziel
5a36a2416a
Revert "Merge branch 'player-cookie' of https://github.com/tari/syncplay into sharedplaylists"
...
This reverts commit 509dfea336e48f7ccd848e44ebe8bb60e6332822, reversing
changes made to 5ce752cbef589ade76ae5dc1bcfafc7c9e34c0ea.
2016-03-03 20:13:24 +01:00
Et0h
b276bc3688
Don't allow negative mplayer/mpv positions
2016-01-30 14:07:12 +00:00
Et0h
9d4732ad40
Fix double playlist change notification bug
2016-01-30 13:07:31 +00:00
Et0h
85ce40bdbd
Relay error if file format is not recognized by mpv
2016-01-26 23:48:33 +00:00
Et0h
8334aa4682
Repeat mpv youtube-dl failure messages in Syncplay
2016-01-26 23:33:26 +00:00
Uriziel
509dfea336
Merge branch 'player-cookie' of https://github.com/tari/syncplay into sharedplaylists
2016-01-25 21:43:40 +01:00
Et0h
21ea14823e
Mitigate against mpv hanging on Windows
2016-01-11 19:31:03 +00:00
Peter Marheine
16d53345a9
Add cookie support to all player modules.
2015-10-15 20:32:23 -06:00
Et0h
48a2ad65d6
Fix resetPosition for streams on mpv (hopefully)
2015-10-02 12:01:37 +01:00