MediaPortal Wiki > MediaPortal 1 > Contribute > Skins > Skin Related Changes > 1.0.1 to 1.1.0 > Index Item Number Display

Index Item Number Display

    Table of contents
    1. 1. Purpose
    2. 2. Description of change


    Returns the index (i.e. number of item in a list) of the currently selected item for skin creators to use if they wish. Note that if the selected item is "..", then an empty string is returned.

    Description of change

    For example you can add #selectedindex to #itemcount:

    <label>#selectedindex of #itemcount</label>

    Which results in: 5 of 525 objects when you are viewing the 5th item in a list of 525 items.

    This patch is intended to be used with the textcontent3 patch (approved for 1.2.0) to generate numbered lists.

    See Forum Thread Add GUI Property #selectedindex for further info and examples

    Running the latest version?

    V1.15.0 - released June 2016
    Releasenews | Download
    | Requirements

    MediaPortal RSS Feeds

    windows media centerNews & Blogs
    htpcP&S: New


    Contact | Press