From cedac597f548217496145f0b57337fafee8112a7 Mon Sep 17 00:00:00 2001 From: Felix Stupp Date: Wed, 17 Aug 2022 22:49:09 +0000 Subject: [PATCH] desktop-client: Require mpvctl instead of mpvadd helper --- desktop-client/app.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/desktop-client/app.py b/desktop-client/app.py index 4b14790..a9e65a2 100755 --- a/desktop-client/app.py +++ b/desktop-client/app.py @@ -12,7 +12,8 @@ def cmd_player_play(video_uri: str, start: Optional[str] = None): print(f"Play video {video_uri}") subprocess.Popen( args = [e for e in [ - str(Path("~/bin/mpvadd").expanduser()), + str(Path("~/bin/mpvctl").expanduser()), + "add", video_uri, f"start={start}" if start is not None else None, ] if e is not None],