Fixed return type

This commit is contained in:
thomabx 2020-03-03 20:15:02 -08:00
parent 66f0041262
commit a40522c424

View File

@ -36,6 +36,7 @@ function VideoContent(video) as object
position = 0 position = 0
end if end if
end if end if
print "dialogResult: " dialogResult
video.content.BookmarkPosition = int(position/10000000) video.content.BookmarkPosition = int(position/10000000)
video.PlaySessionId = ItemGetSession(video.id, position) video.PlaySessionId = ItemGetSession(video.id, position)
@ -118,7 +119,7 @@ function getCaptionMode() as string
end function end function
'Opens dialog asking user if they want to resume video or start playback over 'Opens dialog asking user if they want to resume video or start playback over
function startPlayBackOver(time as LongInteger) as boolean function startPlayBackOver(time as LongInteger) as integer
return option_dialog([ "Resume playing at " + ticksToHuman(time) + ".", "Start over from the begining." ]) return option_dialog([ "Resume playing at " + ticksToHuman(time) + ".", "Start over from the begining." ])
end function end function