This is a cross post from a post in the RokuDev subreddit on Friday. There was no response but a few upvotes.
We are streaming hls audio with custom metadata on EXT-X-DATERANGE. Items like title, artist, albumArtUrl. For the life of me I can't figure out how to access that data. I've tried monitoring timedMetaData and setting timedMetaDataSelectionKeys to ["*"] with no luck. I've also monitored streams on the content metadata. I haven't been able to find an examples. The stream works on the stream tester but shows no metadata. Does anyone have any tips on handling this?
This took me a long time to figure out. I don't think you will find any documentation on this any where (except here). I really just got lucky. You must put the meta data in the right place in the stream to read it in Roku. In the steam put all the data you need in the timedMetaData2 field and use commas between song title, artist, album etc.
Hi Mike - Thanks for the suggestion, unfortunately that does not work for me. m.audio.timedMetaData2 does not exist so it breaks the app when I hit is. I'll keep searching and post a solution here if I figure it out. Until then, any additional help would be appreciated. I feel like I'm missing something fundamental here.