I have a music script I’m working on that uses VLC as its backend for playing music in the background. However, I was looking around the MPV CLI arguments, and there’s quite a few things there that would work for my script.
However, I have a few issues with MPV before implementing this addition:
- I don’t want a window to appear whenever I launch MPV.
- I want MPV to remember certain properties, like volume.
- I don’t want the CLI info displaying in the terminal. This would cause issues as now MPV will close when the terminal closes. I need this to run in the background, like VLC.
I’ve kinda managed to solve 1. by using --no-vid, but I haven’t figured out 2. or 3. yet. Does anyone know any tips, tricks, arguments, etc. to get the desired experience I want with MPV?
It’s a Python program, so I am using subprocess currently.


I’m targeting a Linux release
I don’t want the active MPV file info in the terminal as if I CTRL+C, CTRL+D, or close the terminal, MPV will close too. So I want it to run as a background process (like how you can minimize VLC to the tray)
I don’t know if using something like
nohup mpv <some file> &would work. I guess I could usepkill mpvto close it then.I saw mpv has a
--quietoption. What does that do?