[solved] Latest Media Handler - Skin settings - Custom latests items number (1 Viewer)

ajs

Development Group
  • Team MediaPortal
  • February 29, 2008
    15,496
    10,371
    Kyiv
    Home Country
    Ukraine Ukraine
    @catavolt @CyberSimian
    Try with LMH Version, put LatestMediaHandler.SkinSettings.xml to skin or theme folder ... and ...
    XML:
    <?xml version="1.0" encoding="utf-8"?>
    <settings>
      <main>
         <latestscount>3</latestscount>
         <tvlatestscount>4</tvlatestscount>
      </main>
    </settings>
     

    Attachments

    • LMH-CustomItems.zip
      250.6 KB

    ajs

    Development Group
  • Team MediaPortal
  • February 29, 2008
    15,496
    10,371
    Kyiv
    Home Country
    Ukraine Ukraine
    • Thread starter
    • Moderator
    • #2
    @catavolt @CyberSimian
    One problem, play control for Latests only 4 by each type of latests ... :(
    Ie for Music:
    Code:
        public const int Play1ControlID = 91919997;
        public const int Play2ControlID = 91919998;
        public const int Play3ControlID = 91919999;
        public const int Play4ControlID = 91919901;
     

    CyberSimian

    Test Group
  • Team MediaPortal
  • June 10, 2013
    2,849
    1,771
    Southampton
    Home Country
    United Kingdom United Kingdom
    One problem, play control for Latests only 4 by each type of latests ... :( i.e. for Music:
    I don't use MP for music (other than for testing), so I am not sure what is the significance of the play controls for latest media:

    (1) Would a user want more than four for music? (I don't know the answer to this question. :confused:)

    (2) If four is all that is needed for music, does it matter that the limit for music is different from the limit for TV? (I don't know the answer to this question, either. :confused:)

    -- from CyberSimian in the UK
     

    ajs

    Development Group
  • Team MediaPortal
  • February 29, 2008
    15,496
    10,371
    Kyiv
    Home Country
    Ukraine Ukraine
    • Thread starter
    • Moderator
    • #4
    All Latests type - Music, TV, Video ... have 4 playing controls... If LMH skin settings set number of TV Latests to 5 then one control - without play and context menu future.

    --
    WBR, ajs :):whistle::coffee:
     

    ajs

    Development Group
  • Team MediaPortal
  • February 29, 2008
    15,496
    10,371
    Kyiv
    Home Country
    Ukraine Ukraine
    • Thread starter
    • Moderator
    • #5
    Playing control allows you to play the desired item directly from the home screen, change the type, update, etc.

    --
    WBR, ajs :):whistle::coffee:
     

    ajs

    Development Group
  • Team MediaPortal
  • February 29, 2008
    15,496
    10,371
    Kyiv
    Home Country
    Ukraine Ukraine
    • Thread starter
    • Moderator
    • #6
    I add to skin setting additional IDs if needed:
    XML:
    <?xml version="1.0" encoding="utf-8"?>
    <settings>
      <main>
         <latestscount>3</latestscount>
         <tvlatestscount>3</tvlatestscount>
      </main>
      <playids>
        <video> <!-- If latestscount more than 4 - add additional Play IDs for skin -->
          <id>NNN</id>
          <id>NNN</id>
          <id>NNN</id>
        </video>
        <movingpictures> <!-- If latestscount more than 4 - add additional Play IDs for skin -->
          <id>NNN</id>
          <id>NNN</id>
          <id>NNN</id>
        </movingpictures>
        <myfilms> <!-- If latestscount more than 4 - add additional Play IDs for skin -->
          <id>NNN</id>
          <id>NNN</id>
          <id>NNN</id>
        </myfilms>
        <tvseries> <!-- If latestscount more than 4 - add additional Play IDs for skin -->
          <id>NNN</id>
          <id>NNN</id>
          <id>NNN</id>
        </tvseries>
        <mvcentral> <!-- If latestscount more than 4 - add additional Play IDs for skin -->
          <id>NNN</id>
          <id>NNN</id>
          <id>NNN</id>
        </mvcentral>
        <music> <!-- If latestscount more than 4 - add additional Play IDs for skin -->
          <id>NNN</id>
          <id>NNN</id>
          <id>NNN</id>
        </music>
        <pictures> <!-- If latestscount more than 4 - add additional Play IDs for skin -->
          <id>NNN</id>
          <id>NNN</id>
          <id>NNN</id>
        </pictures>
        <tv> <!-- If tvlatestscount more than 4 - add additional Play IDs for skin -->
          <id>NNN</id>
          <id>NNN</id>
          <id>NNN</id>
        </tv>
      </playids>
    </settings>
    If ID added, in log:
    Code:
    ... Skin settings - TV, add additional ID: NNN

    PS: Not tested :)
     

    Attachments

    • LatestMediaHandler-CustomCount-II.dll.zip
      251.7 KB

    catavolt

    Design Group Manager
  • Team MediaPortal
  • August 13, 2007
    14,368
    10,407
    Königstein (Taunus)
    Home Country
    Germany Germany
    If needed more, I use the facade (up to 10) and that uses only one ID ;)
    I do this for all supported plugins except ongoing recordings. There I use the available properties we have so far ;)
     

    ajs

    Development Group
  • Team MediaPortal
  • February 29, 2008
    15,496
    10,371
    Kyiv
    Home Country
    Ukraine Ukraine
    • Thread starter
    • Moderator
    • #8
    The opportunity is added, you can use it, but you can not.
    As well as additional facades. :)
     

    Users who are viewing this thread

    Top Bottom