desktop-client: Require mpvctl instead of mpvadd helper

master
Felix Stupp 2 years ago
parent 188bf369aa
commit cedac597f5
Signed by: zocker
GPG Key ID: 93E1BD26F6B02FB7

@ -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],

Loading…
Cancel
Save