2018-10-29, 10:20
Quote:It would be helpful in knowing what, exactly, is the difference between the two.Here are screenshots you can compare: (description below every pic)
https://imgur.com/a/9QMAPeR
The first two are for the mentioned moving of the codeblock
The third is for timeshift info. As you see, I hardcoded "Timeshift" atm. This is why I asked you to add a translationstring (LOCALIZE) for this. The code:
The last two are the change for the progress bar in MyPVRChannels. Change the Progressbar code forxml:<control type="grouplist">
<left>330</left>
<top>965</top>
<width>1000</width>
<itemgap>20</itemgap>
<orientation>horizontal</orientation>
<visible>!PVR.IsTimeshift</visible>
<control type="label">
<width>auto</width>
<height>38</height>
<font>font16</font>
<textcolor>grey</textcolor>
<label>$INFO[VideoPlayer.NextStartTime]</label>
<visible>!String.IsEmpty(VideoPlayer.NextStartTime)</visible>
</control>
<control type="label">
<width>auto</width>
<height>38</height>
<font>font16</font>
<scroll>true</scroll>
<textcolor>grey</textcolor>
<label>$INFO[VideoPlayer.NextTitle]</label>
<visible>!String.IsEmpty(VideoPlayer.NextTitle)</visible>
</control>
</control>
<control type="label">
<left>1288</left>
<top>965</top>
<width>250</width>
<height>38</height>
<font>font16</font>
<align>right</align>
<textcolor>grey</textcolor>
<label>$INFO[VideoPlayer.NextEndTime]</label>
<visible>!PVR.IsTimeshift + !String.IsEmpty(VideoPlayer.NextEndTime)</visible>
</control>
<control type="grouplist">
<!-- Timeshift Info -->
<left>330</left>
<top>965</top>
<width>1208</width>
<itemgap>20</itemgap>
<orientation>horizontal</orientation>
<visible>PVR.IsTimeshift</visible>
<control type="label">
<width>auto</width>
<height>38</height>
<font>font14</font>
<textcolor>grey</textcolor>
<label>[COLOR $VAR[ThemeLabelColor]]Timeshift:[/COLOR] $INFO[PVR.TimeshiftCur(hh:mm)] (-$INFO[PVR.TimeshiftOffset])</label>
</control>
<control type="label">
<width>auto</width>
<height>38</height>
<font>font14</font>
<textcolor>grey</textcolor>
<label>[COLOR $VAR[ThemeLabelColor]]$LOCALIZE[19031]:[/COLOR] $INFO[VideoPlayer.NextStartTime]</label>
<visible>!String.IsEmpty(VideoPlayer.NextStartTime)</visible>
</control>
<control type="label">
<width>auto</width>
<height>38</height>
<font>font14</font>
<scroll>true</scroll>
<textcolor>grey</textcolor>
<label>$INFO[VideoPlayer.NextTitle]</label>
<visible>!String.IsEmpty(VideoPlayer.NextTitle)</visible>
</control>
</control>
Small List (7 entries) with:
BigList (14 entries) with:xml:<control type="progress">
<left>10</left>
<top>83</top>
<width>120</width>
<height>15</height>
<visible>ListItem.HasEpg</visible>
<info>ListItem.Progress</info>
<texturebg colordiffuse="$VAR[ThemeLabelColor]" border="3,0,3,0">new_pvr/texturebg_border_white.png</texturebg>
<midtexture colordiffuse="$VAR[ThemeLabelColor]" border="0">new_pvr/texturebg_white.png</midtexture>
</control>
Sorry for the wrong alignmentxml:<control type="progress">
<left>90</left>
<top>24</top>
<width>80</width>
<height>14</height>
<info>ListItem.Progress</info>
<texturebg colordiffuse="$VAR[ThemeLabelColor]" border="3,0,3,0">new_pvr/texturebg_border_white.png</texturebg>
<midtexture colordiffuse="$VAR[ThemeLabelColor]" border="0">new_pvr/texturebg_white.png</midtexture>
<visible>!String.IsEmpty(ListItem.Title)</visible>
</control>
Edit:
The Warnings in my Log are coming from SkinShortcuts. I added a shortcut in the submenu to update the library.
script-skinshortcuts-includes.xml:
Looking in Variables.xml from EstuaryMod_v2 there are this entries:xml:<item id="13">
<property name="id">$NUMBER[13]</property>
<property name="mainmenuid">14</property>
<label>$VAR[VideoLibraryScanLabel]</label>
<label2>Common Shortcut</label2>
<icon>$VAR[VideoLibraryScanIcon]</icon>
...
</item>
Adding this will IMHO fix the Warningsxml:<variable name="VideoLibraryScanLabel">
<value condition="Library.IsScanningVideo">$LOCALIZE[13353]</value>
<value>$LOCALIZE[653]</value>
</variable>
<variable name="VideoLibraryScanIcon">
<value condition="Library.IsScanningVideo">Quit.png</value>
<value>UpdateLibrary.png</value>
</variable>
<variable name="MusicLibraryScanLabel">
<value condition="Library.IsScanningMusic">$LOCALIZE[13353]</value>
<value>$LOCALIZE[653]</value>
</variable>
<variable name="MusicLibraryScanIcon">
<value condition="Library.IsScanningMusic">Quit.png</value>
<value>UpdateLibrary.png</value>
</variable>