2015-08-27, 17:04
Thanks to a PM of "Avia" I got the image working!
I have only changed some little things to get rid of the plot and movie title by making the image and the border bigger.
This is how my hub looks like:
I pasted the following code:
At this location in the Custom hub file:
I have only changed some little things to get rid of the plot and movie title by making the image and the border bigger.
This is how my hub looks like:
I pasted the following code:
Code:
<control type="image">
<posx>11</posx>
<posy>11</posy>
<width>933</width>
<height>667</height>
<texture fallback="special://skin/extras/pvrhub/background.jpg">$INFO[Container(9501).ListItem.Thumb]</texture>
<aspectratio>scale</aspectratio>
<visible>!Player.HasVideo</visible>
</control>
<control type="image">
<posx>11</posx>
<posy>11</posy>
<width>933</width>
<height>667</height>
<texture border="2" colordiffuse="BorderColor">common/border.png</texture>
</control>
</control>
<control type="group">
<posx>18</posx>
<posy>210</posy>
<visible>Player.HasVideo</visible>
<control type="button" id="9501">
<width>955</width>
<height>690</height>
<onright>9500</onright>
<onclick>Action(fullscreen)</onclick>
<texturefocus colordiffuse="PosterHighlight" border="5">common/white.png</texturefocus>
<texturenofocus colordiffuse="PosterBorder" border="5">common/border-inner.png</texturenofocus>
</control>
<control type="group">
<control type="label">
<posx>20</posx>
<posy>555</posy>
<width>625</width>
<align>left</align>
<textcolor>Selected</textcolor>
<label>$INFO[VideoPlayer.Title]$INFO[VideoPlayer.ChannelName, (,)]</label>
</control>
<control type="label">
<posx>935</posx>
<posy>555</posy>
<width>280</width>
<align>right</align>
<textcolor>Selected</textcolor>
<font>Font-ListInfo-Small</font>
<label>$INFO[Player.Time]$INFO[Player.Duration, / ,]</label>
</control>
<control type="textbox">
<posx>20</posx>
<posy>606</posy>
<width>915</width>
<height>70</height>
<align>left</align>
<textcolor>Selected</textcolor>
<font>Font-ListInfo-Small</font>
<label>$INFO[VideoPlayer.Plot,, ]$INFO[Player.FinishTime,$LOCALIZE[31115] ,]</label>
</control>
</control>
<control type="image">
<posx>11</posx>
<posy>11</posy>
<width>933</width>
<height>537</height>
<texture colordiffuse="Black">common/white.png</texture>
<aspectratio>scale</aspectratio>
<visible>Player.HasVideo</visible>
</control>
<control type="videowindow">
<posx>11</posx>
<posy>11</posy>
<width>933</width>
<height>537</height>
<aspectratio>scale</aspectratio>
<visible>Player.HasVideo</visible>
</control>
<control type="image">
<posx>11</posx>
<posy>11</posy>
<width>933</width>
<height>537</height>
<texture border="2" colordiffuse="BorderColor">common/border.png</texture>
</control>
At this location in the Custom hub file: