TOOLS/umpv: don't wait for mpv after it is run

We just want to start mpv, there is no need to keep umpv script alive.
This commit is contained in:
Kacper Michajłow committed 2025-02-05 20:22:01 +01:00
1 parent b870d1933a
commit dfbd60f9bb
1 file changed
+1 -1
+1 -1
View File
@@ -77,7 +77,7 @@ def start_mpv(files: Iterable[str], socket_path: str) -> None:
"--",
])
mpv_command.extend(files)
subprocess.check_call(mpv_command)
subprocess.Popen(mpv_command, start_new_session=True)
def main() -> None:
files = (os.path.abspath(f) if not is_url(f) else f for f in sys.argv[1:])