Formatting
This commit is contained in:
parent
593f863949
commit
c15e554862
|
@ -94,7 +94,7 @@ sub loadInitialItems()
|
|||
showTvGuide()
|
||||
end if
|
||||
|
||||
else if m.top.parentItem.collectionType = "CollectionFolder" or m.top.parentItem.type = "CollectionFolder" or m.top.parentItem.collectionType = "boxsets" or m.top.parentItem.Type = "Folder" or m.top.parentItem.Type = "Channel"
|
||||
else if m.top.parentItem.collectionType = "CollectionFolder" or m.top.parentItem.type = "CollectionFolder" or m.top.parentItem.collectionType = "boxsets" or m.top.parentItem.Type = "Folder" or m.top.parentItem.Type = "Channel"
|
||||
' Non-recursive, to not show subfolder contents
|
||||
m.loadItemsTask.recursive = false
|
||||
else if m.top.parentItem.collectionType = "Channel"
|
||||
|
@ -468,7 +468,7 @@ function onKeyEvent(key as string, press as boolean) as boolean
|
|||
else if itemToPlay <> invalid and (itemToPlay.type = "Photo" or itemToPlay.type = "PhotoAlbum" or itemToPlay.type = "Folder")
|
||||
' Spawn photo player task
|
||||
photoPlayer = CreateObject("roSgNode", "PhotoPlayerTask")
|
||||
photoPlayer.itemContent = itemToPlay
|
||||
photoPlayer.itemContent = itemToPlay
|
||||
photoPlayer.control = "RUN"
|
||||
end if
|
||||
return true
|
||||
|
|
|
@ -15,6 +15,6 @@ sub onPhotoLoaded()
|
|||
photo.uri = m.LoadLibrariesTask.results
|
||||
else
|
||||
'Show user error here (for example if it's not a supported image type)
|
||||
message_dialog("This image type is not supported.")
|
||||
message_dialog("This image type is not supported.")
|
||||
end if
|
||||
end sub
|
||||
|
|
|
@ -4,7 +4,7 @@ end sub
|
|||
|
||||
sub loadItems()
|
||||
item = m.top.itemContent
|
||||
|
||||
|
||||
group = CreateObject("roSGNode", "PhotoDetails")
|
||||
group.optionsAvailable = false
|
||||
m.global.sceneManager.callFunc("pushScene", group)
|
||||
|
|
Loading…
Reference in New Issue
Block a user