From 68be89f497b0b2d1802eeca4b0ad27b3de5aa56d Mon Sep 17 00:00:00 2001 From: Julien Rabier Date: Wed, 22 Jul 2020 11:09:35 +0200 Subject: [PATCH] improve README --- README.md | 21 ++++++++++++++++++++- 1 file changed, 20 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 49460ba..1f96a5e 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,23 @@ # mpdyn Maintain a dynamic mpd playlist. -mpdyn enables the consume mode and add songs from your library automatically \ No newline at end of file +mpdyn enables the consume mode and add songs from your library automatically + +Every 20s, mpdyn will check the playlist. If it's made of less than 10 tracks, it will then add as many random tracks as needed to refill it. + +It can be started manually or through a systemd user service. + +### Systemd + +Here is a service example: + + # cat ~/.config/systemd/user/mpdyn.service + [Unit] + Description=mpdyn + + [Service] + ExecStart=/home/taziden/.cargo/bin/mpdyn + + [Install] + WantedBy=default.target +