Skip to content

Commit

Permalink
Fix video playback
Browse files Browse the repository at this point in the history
- Replace XBMC.PlayMedia with PlayMedia
  • Loading branch information
maloep committed May 21, 2021
1 parent 35a7271 commit a6fb717
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 12 deletions.
Expand Up @@ -117,7 +117,7 @@
<texturenofocus></texturenofocus>
<visible>!String.IsEmpty(ListItem.Property(autoplayvideomain)) + !String.IsEmpty(ListItem.Property(gameplaymain))</visible>
<animation delay="500" effect="fade" start="100" end="100">Focus</animation>
<onfocus condition="!String.IsEmpty(ListItem.Property(autoplayvideomain)) + !String.IsEmpty(ListItem.Property(gameplaymain))">XBMC.PlayMedia($ESCINFO[ListItem.Property(gameplaymain)],1)</onfocus>
<onfocus condition="!String.IsEmpty(ListItem.Property(autoplayvideomain)) + !String.IsEmpty(ListItem.Property(gameplaymain))">PlayMedia($ESCINFO[ListItem.Property(gameplaymain)],1)</onfocus>
</control>
</focusedlayout>
</control>
Expand Down Expand Up @@ -635,7 +635,7 @@
<texturenofocus></texturenofocus>
<visible>!String.IsEmpty(ListItem.Property(autoplayvideomain)) + !String.IsEmpty(ListItem.Property(gameplaymain))</visible>
<animation delay="500" effect="fade" start="100" end="100">Focus</animation>
<onfocus condition="!String.IsEmpty(ListItem.Property(autoplayvideomain)) + !String.IsEmpty(ListItem.Property(gameplaymain))">XBMC.PlayMedia($ESCINFO[ListItem.Property(gameplaymain)],1)</onfocus>
<onfocus condition="!String.IsEmpty(ListItem.Property(autoplayvideomain)) + !String.IsEmpty(ListItem.Property(gameplaymain))">PlayMedia($ESCINFO[ListItem.Property(gameplaymain)],1)</onfocus>
</control>
</focusedlayout>
</control>
Expand Down Expand Up @@ -1105,7 +1105,7 @@
<texturenofocus></texturenofocus>
<visible>!String.IsEmpty(ListItem.Property(autoplayvideomain)) + !String.IsEmpty(ListItem.Property(gameplaymain))</visible>
<animation delay="500" effect="fade" start="100" end="100">Focus</animation>
<onfocus condition="!String.IsEmpty(ListItem.Property(autoplayvideomain)) + !String.IsEmpty(ListItem.Property(gameplaymain))">XBMC.PlayMedia($ESCINFO[ListItem.Property(gameplaymain)],1)</onfocus>
<onfocus condition="!String.IsEmpty(ListItem.Property(autoplayvideomain)) + !String.IsEmpty(ListItem.Property(gameplaymain))">PlayMedia($ESCINFO[ListItem.Property(gameplaymain)],1)</onfocus>
</control>
</focusedlayout>
</control>
Expand Down
Expand Up @@ -117,7 +117,7 @@
<texturenofocus></texturenofocus>
<visible>!String.IsEmpty(ListItem.Property(autoplayvideomain)) + !String.IsEmpty(ListItem.Property(gameplaymain))</visible>
<animation delay="500" effect="fade" start="100" end="100">Focus</animation>
<onfocus condition="!String.IsEmpty(ListItem.Property(autoplayvideomain)) + !String.IsEmpty(ListItem.Property(gameplaymain))">XBMC.PlayMedia($ESCINFO[ListItem.Property(gameplaymain)],1)</onfocus>
<onfocus condition="!String.IsEmpty(ListItem.Property(autoplayvideomain)) + !String.IsEmpty(ListItem.Property(gameplaymain))">PlayMedia($ESCINFO[ListItem.Property(gameplaymain)],1)</onfocus>
</control>
</focusedlayout>
</control>
Expand Down Expand Up @@ -635,7 +635,7 @@
<texturenofocus></texturenofocus>
<visible>!String.IsEmpty(ListItem.Property(autoplayvideomain)) + !String.IsEmpty(ListItem.Property(gameplaymain))</visible>
<animation delay="500" effect="fade" start="100" end="100">Focus</animation>
<onfocus condition="!String.IsEmpty(ListItem.Property(autoplayvideomain)) + !String.IsEmpty(ListItem.Property(gameplaymain))">XBMC.PlayMedia($ESCINFO[ListItem.Property(gameplaymain)],1)</onfocus>
<onfocus condition="!String.IsEmpty(ListItem.Property(autoplayvideomain)) + !String.IsEmpty(ListItem.Property(gameplaymain))">PlayMedia($ESCINFO[ListItem.Property(gameplaymain)],1)</onfocus>
</control>
</focusedlayout>
</control>
Expand Down Expand Up @@ -1105,7 +1105,7 @@
<texturenofocus></texturenofocus>
<visible>!String.IsEmpty(ListItem.Property(autoplayvideomain)) + !String.IsEmpty(ListItem.Property(gameplaymain))</visible>
<animation delay="500" effect="fade" start="100" end="100">Focus</animation>
<onfocus condition="!String.IsEmpty(ListItem.Property(autoplayvideomain)) + !String.IsEmpty(ListItem.Property(gameplaymain))">XBMC.PlayMedia($ESCINFO[ListItem.Property(gameplaymain)],1)</onfocus>
<onfocus condition="!String.IsEmpty(ListItem.Property(autoplayvideomain)) + !String.IsEmpty(ListItem.Property(gameplaymain))">PlayMedia($ESCINFO[ListItem.Property(gameplaymain)],1)</onfocus>
</control>
</focusedlayout>
</control>
Expand Down
Expand Up @@ -116,7 +116,7 @@
<texturenofocus></texturenofocus>
<visible>!String.IsEmpty(ListItem.Property(autoplayvideomain)) + !String.IsEmpty(ListItem.Property(gameplaymain))</visible>
<animation delay="500" effect="fade" start="100" end="100">Focus</animation>
<onfocus condition="!String.IsEmpty(ListItem.Property(autoplayvideomain)) + !String.IsEmpty(ListItem.Property(gameplaymain))">XBMC.PlayMedia($ESCINFO[ListItem.Property(gameplaymain)],1)</onfocus>
<onfocus condition="!String.IsEmpty(ListItem.Property(autoplayvideomain)) + !String.IsEmpty(ListItem.Property(gameplaymain))">PlayMedia($ESCINFO[ListItem.Property(gameplaymain)],1)</onfocus>
</control>
</focusedlayout>
</control>
Expand Down Expand Up @@ -634,7 +634,7 @@
<texturenofocus></texturenofocus>
<visible>!String.IsEmpty(ListItem.Property(autoplayvideomain)) + !String.IsEmpty(ListItem.Property(gameplaymain))</visible>
<animation delay="500" effect="fade" start="100" end="100">Focus</animation>
<onfocus condition="!String.IsEmpty(ListItem.Property(autoplayvideomain)) + !String.IsEmpty(ListItem.Property(gameplaymain))">XBMC.PlayMedia($ESCINFO[ListItem.Property(gameplaymain)],1)</onfocus>
<onfocus condition="!String.IsEmpty(ListItem.Property(autoplayvideomain)) + !String.IsEmpty(ListItem.Property(gameplaymain))">PlayMedia($ESCINFO[ListItem.Property(gameplaymain)],1)</onfocus>
</control>
</focusedlayout>
</control>
Expand Down Expand Up @@ -1104,7 +1104,7 @@
<texturenofocus></texturenofocus>
<visible>!String.IsEmpty(ListItem.Property(autoplayvideomain)) + !String.IsEmpty(ListItem.Property(gameplaymain))</visible>
<animation delay="500" effect="fade" start="100" end="100">Focus</animation>
<onfocus condition="!String.IsEmpty(ListItem.Property(autoplayvideomain)) + !String.IsEmpty(ListItem.Property(gameplaymain))">XBMC.PlayMedia($ESCINFO[ListItem.Property(gameplaymain)],1)</onfocus>
<onfocus condition="!String.IsEmpty(ListItem.Property(autoplayvideomain)) + !String.IsEmpty(ListItem.Property(gameplaymain))">PlayMedia($ESCINFO[ListItem.Property(gameplaymain)],1)</onfocus>
</control>
</focusedlayout>
</control>
Expand Down
Expand Up @@ -117,7 +117,7 @@
<texturenofocus></texturenofocus>
<visible>!String.IsEmpty(ListItem.Property(autoplayvideomain)) + !String.IsEmpty(ListItem.Property(gameplaymain))</visible>
<animation delay="500" effect="fade" start="100" end="100">Focus</animation>
<onfocus condition="!String.IsEmpty(ListItem.Property(autoplayvideomain)) + !String.IsEmpty(ListItem.Property(gameplaymain))">XBMC.PlayMedia($ESCINFO[ListItem.Property(gameplaymain)],1)</onfocus>
<onfocus condition="!String.IsEmpty(ListItem.Property(autoplayvideomain)) + !String.IsEmpty(ListItem.Property(gameplaymain))">PlayMedia($ESCINFO[ListItem.Property(gameplaymain)],1)</onfocus>
</control>
</focusedlayout>
</control>
Expand Down Expand Up @@ -635,7 +635,7 @@
<texturenofocus></texturenofocus>
<visible>!String.IsEmpty(ListItem.Property(autoplayvideomain)) + !String.IsEmpty(ListItem.Property(gameplaymain))</visible>
<animation delay="500" effect="fade" start="100" end="100">Focus</animation>
<onfocus condition="!String.IsEmpty(ListItem.Property(autoplayvideomain)) + !String.IsEmpty(ListItem.Property(gameplaymain))">XBMC.PlayMedia($ESCINFO[ListItem.Property(gameplaymain)],1)</onfocus>
<onfocus condition="!String.IsEmpty(ListItem.Property(autoplayvideomain)) + !String.IsEmpty(ListItem.Property(gameplaymain))">PlayMedia($ESCINFO[ListItem.Property(gameplaymain)],1)</onfocus>
</control>
</focusedlayout>
</control>
Expand Down Expand Up @@ -1105,7 +1105,7 @@
<texturenofocus></texturenofocus>
<visible>!String.IsEmpty(ListItem.Property(autoplayvideomain)) + !String.IsEmpty(ListItem.Property(gameplaymain))</visible>
<animation delay="500" effect="fade" start="100" end="100">Focus</animation>
<onfocus condition="!String.IsEmpty(ListItem.Property(autoplayvideomain)) + !String.IsEmpty(ListItem.Property(gameplaymain))">XBMC.PlayMedia($ESCINFO[ListItem.Property(gameplaymain)],1)</onfocus>
<onfocus condition="!String.IsEmpty(ListItem.Property(autoplayvideomain)) + !String.IsEmpty(ListItem.Property(gameplaymain))">PlayMedia($ESCINFO[ListItem.Property(gameplaymain)],1)</onfocus>
</control>
</focusedlayout>
</control>
Expand Down

0 comments on commit a6fb717

Please sign in to comment.