- Moderator
- #3,421
No - a skinner can only use the properties available in the respective screen - and TV recordings screen no has any property for numbering the entries.Is it possible to have this "extra" information, please ?
TV recordings screen no has any property for numbering the entries.
The skin engine does provide this information, but with quirks. The following screen shot is for the "Recorded Radio" panel in my "Clarity" skin (the "Recorded TV" panel is the same, as I use common code for both panels):It doesn't give selected item but total only.
<control>
<description>Number of items in a list</description>
<type>label</type>
<posX>0</posX>
<posY>#cw.nlist.count.y</posY>
<width>#cw.panel.w</width>
<height>#cw.nlist.count.h</height>
<align>center</align>
<font>#cw.nlist.count.f</font>
<textcolor>#cw.nlist.count.c</textcolor>
<description>
The built-in variables "#selectedindex" and "#itemcount" are unset
or incorrectly set in certain situations. To avoid bad labelling
appearing on the panel, we display the values shown below, where
"(null)" represents the zero-length string, and "n" and "m" are
integers:
~~~~~~~~~~~~~~ ~~~~~~~~~~ ~~~~~~~~~~~
#selectedindex #itemcount label shown
~~~~~~~~~~~~~~ ~~~~~~~~~~ ~~~~~~~~~~~
(null) (null) (none)
(null) 0 0 items
(null) 1 1 item
(null) n n items
0 (null) (none)
0 0 0 items
0 1 1 item
0 n n items
n (null) Item n
n 0 Item n
n 1 Item 1
n m Item n of m
~~~~~~~~~~~~~~ ~~~~~~~~~~ ~~~~~~~~~~~
In addition, when the context menu is on the screen, "#selectedindex"
is the index of the highlighted item in the context menu, and not the
index of the item in the list. So when the context menu is visible
(language string: 102012), we display the null string or "n items",
as appropriate.
</description>
<label>#(switch(
and(eq(#currentmodule,L(102012)),eq(#itemcount,'')),
'',
eq(#currentmodule,L(102012)),
string.formatcount(
#itemcount,'{0} items|{0} item|{0} items'),
and(eq(#selectedindex,''),eq(#itemcount,'')),
'',
and(eq(#selectedindex,'0'),eq(#itemcount,'')),
'',
or(eq(#selectedindex,''),eq(#selectedindex,'0')),
string.formatcount(
#itemcount,'{0} items|{0} item|{0} items'),
or(eq(#itemcount,''),eq(#itemcount,'0')),
'Item #selectedindex',
eq(1,1),
'Item #selectedindex of #itemcount'))</label>
</control>
Yes, I deleted the item count display because it does not work correctly like in other screens.Is this what you had in mind?
(avoiding somerone has to ask for it )
Sorry for the late reply, just saw your requestWe will never see "shares" view in the shortcut, we see shortcut based on last video choose...
And OFC, the one I use most of the time is "shares"...