HMS

Home Media Server for Roku Players
git clone https://www.brianlane.com/git/HMS
Log | Files | Refs | README | LICENSE

commit d1bd382244a90dda07fb28c9a6597ca82fed4f7a
parent 3ca54c86c0ea9c84f2f958b40e1a028e0e1cb786
Author: Brian C. Lane <bcl@ibrianlane.com>
Date:   Sun, 28 Dec 2014 16:14:40 -0800

Delete last position from keystore when finished playing

Diffstat:
MHMS/source/appMediaServer.brs | 3+++
1 file changed, 3 insertions(+), 0 deletions(-)

diff --git a/HMS/source/appMediaServer.brs b/HMS/source/appMediaServer.brs @@ -338,6 +338,9 @@ Sub playMovie(movie As Object, url As String, has_keystore As Boolean) As Boolea end if else if msg.isfullresult() then DeleteFile("tmp:/"+movie.Title) + if has_keystore = true then + setKeyValue(url, movie.Title, "") + end if return true else if msg.isRequestFailed() then print "play failed: "; msg.GetMessage()