08-19-2019, 12:12 PM
@shardwick
Wow, radio has come a long way in the half century since I was my college radio station's chief engineer---small Collins console flanked by heavy turntables, a storage room walled with shelves groaning under the 20 years accumulation of LPs, and a badly maintained set of 3x5 index cards. Oh, yeah, and a couple of luggable reel-to-reel tape recorders 'cuz we had the job of taping live performances at the college.
I've never been able to find a description of the MPD "database". The API index has a smattering of entries under data structures but this index is generated from the code and the code is sparsely commented.
You can reach out to the MPD maintainer, Max Kellerman, through forum.mpd.org. Candidly, I'm not sure his position has changed since 2015 when he wrote there in response to a database question, "The database for storing music metadata is custom. Do not read the file. Use the MPD protocol to query it." Perhaps if you lead with your radio work you'll get a more sympathetic response.
The source code for MPD is held on github with principal database routines under https://github.com/MusicPlayerDaemon/MPD...ter/src/db
If you're a C++ boffin you might be able to deduce the database structure. I tried once but quickly backed away before my brain exploded
Good luck.
Regards,
Kent
Wow, radio has come a long way in the half century since I was my college radio station's chief engineer---small Collins console flanked by heavy turntables, a storage room walled with shelves groaning under the 20 years accumulation of LPs, and a badly maintained set of 3x5 index cards. Oh, yeah, and a couple of luggable reel-to-reel tape recorders 'cuz we had the job of taping live performances at the college.
I've never been able to find a description of the MPD "database". The API index has a smattering of entries under data structures but this index is generated from the code and the code is sparsely commented.
You can reach out to the MPD maintainer, Max Kellerman, through forum.mpd.org. Candidly, I'm not sure his position has changed since 2015 when he wrote there in response to a database question, "The database for storing music metadata is custom. Do not read the file. Use the MPD protocol to query it." Perhaps if you lead with your radio work you'll get a more sympathetic response.
The source code for MPD is held on github with principal database routines under https://github.com/MusicPlayerDaemon/MPD...ter/src/db
If you're a C++ boffin you might be able to deduce the database structure. I tried once but quickly backed away before my brain exploded

Good luck.
Regards,
Kent