Forum Discussion

jpalumbo's avatar
jpalumbo
Visitor
13 years ago

roSpringboardScreen Artist & Album

Hello Again,

I have been attempting to use the roSpringboardScreen with the ContentType set to "audio" . But for some reason the Artist and Album Content-Meta Data will not display.

Currently we have an roAudioPlayer streaming our feed in MP3 format, and we are using the roSpringboardScreen as the interface. Below is the code used to populate the Content Meta Information. That functions return value is then passed to screen.SetContent(). Everything seems to work fine except that the Album and Artist information will not display. I could be missing something but the diagram on this page http://sdkdocs.roku.com/display/RokuSDKv43/Content+Meta-Data shows these labels below the image .


Function updateNowPlaying() As Object
npInfo = GetNowPlayingInfo()
item = npInfo.Shift()

meta = CreateObject("roAssociativeArray")
meta.ContentType = "audio"
meta.HDPosterUrl = item.Lookup("albumimage")
meta.SDPosterUrl = item.Lookup("albumimage")
meta.Title = "Now Playing: " + item.Lookup("title")
meta.Description = item.Lookup("description")
meta.Album = item.Lookup("album")
meta.Artist = item.Lookup("artist")

return meta
End Function


Does anyone have any insight into what the problem could be, or any possible solutions? Thanks and happy holidays!

-Regards,
Jonathan
No RepliesBe the first to reply