ElseIf msg.isButtonPressed()
Print"ButtonPressed"
If msg.GetIndex()=1
If showlist[showindex].contentformat<>"audio"
PlayStart=RegRead(showList[showIndex].ContentId)
If PlayStart<>invalid
showList[showIndex].PlayStart=PlayStart.ToInt()
End If
'Add 02-27-13
If showList[showIndex].StreamUrls[0]="INVALID"
ShowErrorDialog("No Video Available Yet")
Else
'end 02-27-13
showVideoScreen(showList[showIndex])
End If
End If
End If
time=createobject("rodatetime")
now=time.asseconds()
episode.playstart=now+1800
videoobject.setcontent(episode)
videoobject.play()
"RokuJoel" wrote:
To force the player to run closer to realtime, I use the following code to set Playstart a bit into the future:
time=createobject("rodatetime")
now=time.asseconds()
episode.playstart=now+1800
videoobject.setcontent(episode)
videoobject.play()
- Joel
"RokuJoel" wrote:
To force the player to run closer to realtime, I use the following code to set Playstart a bit into the future:
time=createobject("rodatetime")
now=time.asseconds()
episode.playstart=now+1800
videoobject.setcontent(episode)
videoobject.play()
- Joel