Three months ago i talked about my move from Groovebasin to MPD in this article (fr). I already talked about my Frankenscript i used as an mpd client. Since last time, its name changed to TSMPCD which stands for Tiny Shell Music Player Client Daemon.
So it's a bash script (not pure posix sh). It's basic but has three objectives :
- It's in charge to have an infinite playlist which never runs out by adding random songs to the end. 2. Send notifications with the title of the starting song. 3. To control MPD with shortcuts.
Everything stands on mpc which is the basic cli mpd client. For notifications it's dmenu with a tiny self-made patch not to take focus when starting. The rest is classic shell (except the read which is not posix).
And voilà. I don't think it will be interesting for others but at least it's published now. It uses a terminal just for this.