Only add watched option to home screen.
Delete unused function from MovieDetails
This commit is contained in:
parent
055abb30ac
commit
f43f43c43e
|
@ -11,10 +11,6 @@ sub init()
|
|||
m.top.findNode("buttons").setFocus(true)
|
||||
end sub
|
||||
|
||||
function refresh()
|
||||
itemContentChanged()
|
||||
end function
|
||||
|
||||
sub itemContentChanged()
|
||||
' Updates video metadata
|
||||
item = m.top.itemContent
|
||||
|
|
|
@ -40,7 +40,6 @@
|
|||
<interface>
|
||||
<field id="itemContent" type="node" onChange="itemContentChanged" />
|
||||
<field id="selectedAudioStreamIndex" type="integer" />
|
||||
<function name="refresh" />
|
||||
</interface>
|
||||
<script type="text/brightscript" uri="pkg:/source/utils/misc.brs" />
|
||||
<script type="text/brightscript" uri="MovieDetails.brs" />
|
||||
|
|
|
@ -231,7 +231,11 @@ end function
|
|||
|
||||
'Opens dialog asking user if they want to resume video or start playback over
|
||||
function startPlayBackOver(time as LongInteger) as integer
|
||||
return option_dialog([ "Resume playing at " + ticksToHuman(time) + ".", "Start over from the beginning.", "Watched"])
|
||||
if m.scene.focusedChild.overhangTitle = "Home" then
|
||||
return option_dialog([ "Resume playing at " + ticksToHuman(time) + ".", "Start over from the beginning.", "Watched"])
|
||||
else
|
||||
return option_dialog([ "Resume playing at " + ticksToHuman(time) + ".", "Start over from the beginning."])
|
||||
endif
|
||||
end function
|
||||
|
||||
function directPlaySupported(meta as object) as boolean
|
||||
|
|
Loading…
Reference in New Issue
Block a user