Function refreshShowDetail(screen As Object, showList As Object, showIndex as Integer) As Integer
if validateParam(screen, "roSpringboardScreen", "refreshShowDetail") = false return -1
if validateParam(showList, "roArray", "refreshShowDetail") = false return -1
show = showList[showIndex]
'Uncomment this statement to dump the details for each show
'PrintAA(show)
screen.ClearButtons()
if isPaused(screen)
screen.AddButton(1, "resume playing")
screen.AddButton(2, "play from beginning")
else
screen.AddButton(1, "Play")
end if
screen.SetContent(show)
screen.Show()
End Function
I haven't tested this code yet because I'm pretty sure it's incorrect. I just want to know if I'm headed in the right direction?