I would like to create a little app that allows me to stream an online radio. However, I cannot display any info about current track because I do not know how to get a metadata from a stream. I am using OSMF 2 and every topic on this issue uses older version of the OSMF.
I found a little snippet here but the part where a listener is added to listen for the metadata does not work (no net stream property for the LoadTrait object).
Does anybody know a workaround or how to properly get the metadata from the stream?
Thank you for any help
Europe, Middle East and Africa