Hi guys,
I’m very new to development of any kind, so hopefully you guys can help.
I’ve looked a few other topics on this, but wasn’t able to find any definite answers.
I’m setting up an audio streaming app for an internet radio station using the example from the SDK.
I’m wanting to take the metadata output from my shoutcast feed and input that into the artist and title section in the Roku channel. I’m assuming the metadata can be grabbed from the SONGTITLE area here - http://roca.abovecast.com:8014/statistics
How do I parse that and insert it into the channel, and have only the metadata refresh every 30 seconds or so?
Here’s what I’ve got so far. Mostly just pulled from the example in the SDK.
Function CreateNPRSongList() as Object
aa = CreateObject("roAssociativeArray")
aa.posteritems = CreateObject("roArray", 10, true)
song = CreateSong("Jammin 101","Title","Artist", "mp3", "http://roca.abovecast.com:8014","http://puu.sh/b4QcL/ed83a0a2bd.jpg")
aa.posteritems.push(song)
return aa
End Function
Any help would be appreciated.
