I get mpd working the way I want
May. 25th, 2025 08:24 pmSo I wrote a bit of Go code to make mpd work in a way I'm used to
https://github.com/sweharris/go-mpd-music
This lets me keep the music organised the way I like (the way I've done it for 25+ years!) and control it from the command line the way I used to control iTunes.
So "music dj" will shuffle all my songs and play them. Or I can do "music play /mp3/SONGS/ALBUMS/Annie_Lennox/Medusa/*" and it will play that album.
(It doesn't replace "mpc", it just makes the day-to-day usage simpler)
Next step is to write a program that will handle IR commands. I have a FLIRC and have configured it for Kodi so I'm going to have to be careful; I don't want my code to control mpd while Kodi is active.
(This is one thing MacOS sometimes got confused about; the remote would control iTunes while DVD Player was active, so both would play audio at the same time!)
https://github.com/sweharris/go-mpd-music
This lets me keep the music organised the way I like (the way I've done it for 25+ years!) and control it from the command line the way I used to control iTunes.
So "music dj" will shuffle all my songs and play them. Or I can do "music play /mp3/SONGS/ALBUMS/Annie_Lennox/Medusa/*" and it will play that album.
(It doesn't replace "mpc", it just makes the day-to-day usage simpler)
Next step is to write a program that will handle IR commands. I have a FLIRC and have configured it for Kodi so I'm going to have to be careful; I don't want my code to control mpd while Kodi is active.
(This is one thing MacOS sometimes got confused about; the remote would control iTunes while DVD Player was active, so both would play audio at the same time!)