diff --git a/components/ItemGrid2/ItemGrid2.brs b/components/ItemGrid2/ItemGrid2.brs index f2fba653..d157d038 100644 --- a/components/ItemGrid2/ItemGrid2.brs +++ b/components/ItemGrid2/ItemGrid2.brs @@ -343,6 +343,13 @@ function onKeyEvent(key as string, press as boolean) as boolean optionsClosed() return true end if + else if key = "play" then + markupGrid = m.top.getChild(2) + itemToPlay = markupGrid.content.getChild(markupGrid.itemFocused) + if itemToPlay <> invalid and (itemToPlay.type = "Movie" or itemToPlay.type = "Episode") then + m.top.quickPlayNode = itemToPlay + end if + return true end if return false end function diff --git a/components/ItemGrid2/ItemGrid2.xml b/components/ItemGrid2/ItemGrid2.xml index 18cb075c..d829eacb 100644 --- a/components/ItemGrid2/ItemGrid2.xml +++ b/components/ItemGrid2/ItemGrid2.xml @@ -33,6 +33,7 @@ +