Read the statement by Michael Teeuw here.
bluetooth audio meta data
-
@jedilkeme maybe looking for RDS or RBDS decoding will help. One standard is used in North America (don’t remember which the other is European).
There are some fm receiver projects for the pi that discuss getting the meta data. https://hackaday.com/2021/09/07/an-inexpensive-fm-receiver-for-the-raspberry-pi/ could maybe lead you to info you need. Though I am not sure if bluetooth audio is encoded into the audio stream in the same way as FM. It likely is. But again, maybe not. -
i figured out a very hacky solution taking the meta data off of the dbus and spitting it into a text file using grep and from the third party module site i found a simple text file module to display it.
then, to get constant updating, i set it on a cronjob and found a script to make it run every 5 seconds.
it works well, but the text blanks for milliseconds at a time and is noticeable, i am sure some adjusting of the cronjobs can hopefully make it appear to be more steady.
-
@jedilkeme Hi, I do not have time to provide examples at the moment but I am pretty sure you can use my MMM-CommandToNotification module to call your script and my MMM-ValuesByNotification to display the information.
It seems that dbus is the only way to get the information.
-
@jedilkeme Are you playing audio on your mirror? Or just including it as an output source as if it were a player along with other speakers and wanting it to display? If you are just playing to the mirror with a speaker in it, maybe switch hardware to something like this… ScoutMakes FM Radio Board - STEMMA QT / Qwiic? there is lots of example code. And the data can be obtained over i2c . The you can use a notifications module like wishmaster270 suggests.
-
@kayakbabe i am using the mirror as a BlueTooth pass-through for my home audio set-up, i connect to the mirror via BlueTooth, it automatically connects to the house audio works well now. thanks for your input!