Hi!
I use Owntone to transmit the signal of my record player to some AirPlay speakers (as described here: https://github.com/owntone/owntone-serv ... ransmitter).
This works really well. Now I would like to display some metadata about the currently playing track in Owntone. After song start (recognized using cpiped, as described in the tutorial) I record a 10 s snippet of the track playing and send it to Shazam to analyze it, using ShazamIO (https://github.com/shazamio/ShazamIO). This works quite well and reliably.
The tricky part, where I am now stuck, is to display the metadata in Owntone. I created another fifo pipe AUX.metadata. First I tried writing the metadata in JSON format. That did not work. Then I found out, that Owntone probably expects the same format that Shairport Sync uses. So I tried that, without any luck - though I am not even sure if I might have some wrong, uncompliant structure in my output.
@ejurgensen: Can you please give me some hints? Can that even work? If it could, how would you approach this? Thanks in advance!
I use Owntone to transmit the signal of my record player to some AirPlay speakers (as described here: https://github.com/owntone/owntone-serv ... ransmitter).
This works really well. Now I would like to display some metadata about the currently playing track in Owntone. After song start (recognized using cpiped, as described in the tutorial) I record a 10 s snippet of the track playing and send it to Shazam to analyze it, using ShazamIO (https://github.com/shazamio/ShazamIO). This works quite well and reliably.
The tricky part, where I am now stuck, is to display the metadata in Owntone. I created another fifo pipe AUX.metadata. First I tried writing the metadata in JSON format. That did not work. Then I found out, that Owntone probably expects the same format that Shairport Sync uses. So I tried that, without any luck - though I am not even sure if I might have some wrong, uncompliant structure in my output.
@ejurgensen: Can you please give me some hints? Can that even work? If it could, how would you approach this? Thanks in advance!
Statistics: Posted by nickinzon — Tue Jul 01, 2025 5:28 pm