ok excuse me if i am getting confused here…
first my button info is in the refreshShowDetail function, and then that is called in the showDetailScreen function
Function showDetailScreen(screen As Object, showList As Object, showIndex as Integer) As dynamic
if validateParam(screen, "roSpringboardScreen", "showDetailScreen") = false return -1
if validateParam(showList, "roArray", "showDetailScreen") = false return -1
refreshShowDetail(screen, showList, showIndex)
is that essentially the same thing? here is refreshShowdetails
Function refreshShowDetail(screen As Object, showList As Object, showIndex as Integer) As dynamic
if validateParam(screen, "roSpringboardScreen", "refreshShowDetail") = false return -1
if validateParam(showList, "roArray", "refreshShowDetail") = false return -1
show = showList[showIndex]
screen.ClearButtons()
screen.AddButton(1, "Play from beginning")
PlayStart = RegRead(showList[showIndex].ContentId)
if PlayStart = invalid then
else if PlayStart = "0"
else
screen.AddButton(2, "Resume playing")
endif
screen.AllowUpdates(true)
screen.SetContent(show)
screen.Show()
End Function
as you see i need the info so i can do this PlayStart = RegRead(showList[showIndex].ContentId)
so when i tried the method you showed me i was having all sorts of issues because i need showList[showIndex].ContentId to check for the last position.
so what do you suggest now?
also that showVideoScreen(showList[showIndex]) was taking me direct to the video and bypassing the video detail screen
been trying several things but i keep getting “not dim’d” errors or something each time