Do any of you guys have example code for the appDetailScreen.brs (that has been tested) for this whole "resume playback" thing? I removed it completely because it was showing up even if the content wasn't viewed yet. However, it would be nice to have it in there if the content was only partially watched. Any help is always appreciated!
Thanks & happy holidays!
P.S. I got this un-tested string of code below, but not sure exactly where in function refreshShowDetailScreen to place it...or if it will even work. I tried messing with it a bit but was unsuccessful.
if regread(episode.contentID)<> invalid then
screen.addbutton("Resume Playing")
end if
if regread(episode.contentID)<> invalid then
screen.addbutton("Play from Beginning")
else
screen.addbutton ("Play")
end if
Free 24/7 Metal radio via web or smartphone
www.koshermetal.com