aboutsummaryrefslogtreecommitdiff
path: root/mpv-audio-server.service
diff options
context:
space:
mode:
Diffstat (limited to 'mpv-audio-server.service')
-rw-r--r--mpv-audio-server.service7
1 files changed, 7 insertions, 0 deletions
diff --git a/mpv-audio-server.service b/mpv-audio-server.service
new file mode 100644
index 0000000..d7defa8
--- /dev/null
+++ b/mpv-audio-server.service
@@ -0,0 +1,7 @@
+[Unit]
+Description=Mpv audio server
+[Service]
+Type=exec
+ExecStart=/usr/bin/mpv --really-quiet --ytdl-format=bestaudio --idle=yes --input-ipc-server=/tmp/mpv-audio-server-%u.socket
+[Install]
+WantedBy=default.target
Feel free to download, copy and edit any repo