05-30-2020, 02:11 PM
I don't disagree with Tim's remarks. OTOH I think this is a doable DIY project for someone who wants to drive a minimal display, similar to the PydPiper projects.
There's no need to attempt to eat the elephant in one sitting.
You already have a Python script for extracting data from MPD and formatting it for your OLED display.
Have a look at the Python script in the appcodelabs article you linked to. In just a few lines the author parses the output from the shairport-sync/shairport-sync-metadata-reader pipeline in 2 simple functions "extract" and "update". You can see how the author then feeds the results to "render". You can instead try this extract/update process in your own code.
Besides the appcodelabs article, there's the good documentation MikeBrady provides in the github repos for his two projects: shairport-sync and shairport-sync-metadata-reader.
Regards,
Kent
There's no need to attempt to eat the elephant in one sitting.
You already have a Python script for extracting data from MPD and formatting it for your OLED display.
Have a look at the Python script in the appcodelabs article you linked to. In just a few lines the author parses the output from the shairport-sync/shairport-sync-metadata-reader pipeline in 2 simple functions "extract" and "update". You can see how the author then feeds the results to "render". You can instead try this extract/update process in your own code.
Besides the appcodelabs article, there's the good documentation MikeBrady provides in the github repos for his two projects: shairport-sync and shairport-sync-metadata-reader.
Regards,
Kent