redirect mpv output to /dev/null

This commit is contained in:
deneb 2025-02-25 20:48:59 +01:00
parent 3d149faa42
commit d69cc9e31f

2
app.py
View file

@ -45,6 +45,8 @@ def playback_start():
str(music_path),
"--no-video",
],
stdout=subprocess.DEVNULL,
stderr=subprocess.DEVNULL,
)
open(mpv_pidfile, 'w').write(str(mpv_process.pid))