Releases: poxu/runmpv
Release v2.3.10
Catch exception in runAndReleaseLock to log it later
Release v2.3.9
Turn on serial GC for some time Until I have separate build instructions for synchronization
Release v2.3.8
Exclude "refs.tags" from runmpv version
Release v2.3.0
Make openMode=single-instance by default
Print runmpv version if --version command line switch is present
Release v2.2.4
Do not try to call xdotool again and again if executable is not found runmpv relies on xdotool to focus mpv window. Sometimes, runmpv tried to call xdotool before mpv window was registered. And that caused xdotool exit with error. So, I have decided to repeatedly call xdotool, until it was a success. This all happened when mpv wasn't open yet and runmpv had to start it. But, it's pointless to focus mpv window, when mpv is starting, because mpv will do it itself. So, runmpv was fixed not to try focusing mpv, if mpv is not already running. But this feature of repeatedly calling xdotool left. If xdotool was not installed, runmpv kept calling xdotool for 4 seconds, until it finally understood it's not going to work. And only after that runmpv sent mpv a command to open a new video. Because of that it took 4 seconds to start a new video with runmpv, if xdotool wasn't installed. If xdotool was not installed, then runmpv has been trying to call it again and again to focus. The solution is obviously to only call xdotool once and write logs, if executable couldn't be found.
Release v2.2.3
Single instance mode for mpv
Features
-
Open all video files in the same mpv window
-
Open files from the same directory in the same mpv window. If you want to pause a video from one directory and view a shout video from another directory, you can do this without closing the first video.
-
Focus mpv window after you open a new video.
-
Do nothing if mpv already plays the video you are trying to play. Convenient if you put mpv window to background and just want to bring it to front.
-
Start playing a new video after opening it. Useful, if mpv is tuned to not close its window, after video is over. Without this feature, a new video would be on pause after opening.