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

ajs

Development Group
  • Team MediaPortal
  • February 29, 2008
    12,542
    7,230
    Kyiv
    Ukraine Ukraine
    Country flag
    • Thread starter
    • Moderator
    • #1
    @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

    ajs

    Development Group
  • Team MediaPortal
  • February 29, 2008
    12,542
    7,230
    Kyiv
    Ukraine Ukraine
    Country flag
    • 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,111
    1,305
    Southampton
    United Kingdom United Kingdom
    Country flag
    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
    12,542
    7,230
    Kyiv
    Ukraine Ukraine
    Country flag
    • 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
    12,542
    7,230
    Kyiv
    Ukraine Ukraine
    Country flag
    • 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
    12,542
    7,230
    Kyiv
    Ukraine Ukraine
    Country flag
    • 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

    catavolt

    Design Group Manager
  • Team MediaPortal
  • August 13, 2007
    13,034
    9,354
    Lanzarote
    Germany Germany
    Country flag
    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
    12,542
    7,230
    Kyiv
    Ukraine Ukraine
    Country flag
    • 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

    Similar threads
    OP Title Forum Replies Date
    Rob Hexenmeister [solved] Latest Media Handler - skinning buttons Fanart Handler 19
    Rob Hexenmeister Latest Media Handler - facade properties - itemcount General Support 3
    Rob Hexenmeister [solved] Latest media handler - time reported as date Fanart Handler 18
    Lichloathe [solved] Latest Media Handler - Default view for TVSeries on startup Fanart Handler 2
    Rob Hexenmeister [solved] Latests Media Handler - Skinning an updating window or control Fanart Handler 26
    Rob Hexenmeister Video Buttons / Latest Media MediaPortal 1 Skins 7
    1gkar Latest Intel HD4600 Drivers Issue General Support 1
    T No TV after updating Windows 10 to latest Version 1903 / OS build 18362.175 (logs attached) General Support 2
    G How best to get cover art for tracks to show up on the Audio Menu (Latest Added, Unplayed)? General 9
    uxDesign [Question] Where are the latest sources of mpextended? MPExtended 3
    toricred MP2 - V2.3 MP 2.3 Media Library Duplicates General 9
    O No Video playback on Media Portal 2.2.3 Newcomers Forum 2
    F Remote goes tos Media Center after Media Portal Remotes 2
    S Kommerzielle HTPC´s mit "selbst entwickelter Media center Distribution auf Basis von Media Portal" MediaPortal Café 9
    F Media Port 1.16 to 1.25 Installation, configuration support 1
    RoChess Weird GPU crash -- possible cause: resizing media MediaPortal 1 Talk 8
    J Navigating media drive General 4
    J Will Media Portal meet my requirements? General Support 4
    C Imported media doesn't show up immediately? General 1
    J Show media item location Feature Requests 4
    HTPCSourcer Media Accessor is flooding logs with files from attached monitor MediaPortal 2 9
    N [fixed] [MP2-822] Folder View is not displaying individual media share elements Submit: Bug Reports 4
    A MP2.2.2, understanding movies/videos/tv and WTV recordings. General 16
    T I cannot get a basic media import-what is the best configuration? General 10
    J MediaPortal TV Server and Kodi media source issues General 9

    Similar threads

    Top Bottom