Duct tape a crash
This commit is contained in:
parent
b49a4d614a
commit
65d85f956e
|
@ -7,7 +7,6 @@
|
|||
<field id="description" type="string" />
|
||||
<field id="favorite" type="boolean" />
|
||||
<field id="watched" type="boolean" />
|
||||
<field id="seasons" type="associativearray" />
|
||||
<field id="full_data" type="associativearray" onChange="setFields" />
|
||||
</interface>
|
||||
<script type="text/brightscript">
|
||||
|
|
|
@ -548,7 +548,8 @@ sub showVideoPlayer(video_id)
|
|||
while true
|
||||
msg = wait(0, port)
|
||||
if type(msg) = "roSGScreenEvent" and msg.isScreenClosed() then
|
||||
' Sometimes video is already gone by this point
|
||||
return
|
||||
' Video is already gone by this point
|
||||
' TODO - add an event listener higher up that watches for closing
|
||||
' so we can handle end of video a bit better
|
||||
if video = invalid then return
|
||||
|
|
|
@ -17,6 +17,7 @@ function ItemSessionStop(id as String, params={})
|
|||
end function
|
||||
|
||||
function make_params(id as string, params={})
|
||||
' TODO - probably make these mean something, or find out if we can omit them
|
||||
new_params = {
|
||||
"VolumeLevel":100,
|
||||
"IsMuted":"false",
|
||||
|
@ -38,6 +39,5 @@ function make_params(id as string, params={})
|
|||
for each p in params.items()
|
||||
new_params[p.key] = p.value
|
||||
end for
|
||||
print new_params
|
||||
return new_params
|
||||
end function
|
||||
|
|
Loading…
Reference in New Issue
Block a user