[solved] - Latest Media Handler - Skin settings - Custom latests items number

Discussion in 'Fanart Handler' started by ajs, February 10, 2019.

  1. ajs
    • Team MediaPortal

    ajs Development Group

    Joined:
    February 29, 2008
    Messages:
    8,695
    Likes Received:
    2,684
    Gender:
    Male
    Occupation:
    IT
    Location:
    Kyiv
    Ratings:
    +4,644 / 30
    Home Country:
    Ukraine Ukraine
    Show System Specs
    @catavolt @CyberSimian
    Try with LMH Version, put LatestMediaHandler.SkinSettings.xml to skin or theme folder ... and ...
    Code (XML):
    1. <?xml version="1.0" encoding="utf-8"?>
    2. <settings>
    3.   <main>
    4.      <latestscount>3</latestscount>
    5.      <tvlatestscount>4</tvlatestscount>
    6.   </main>
    7. </settings>



     

    Attached Files:

    • Like Like x 1
    • Thank You! Thank You! x 1
  2. Google AdSense Guest Advertisement



    to hide all adverts.
  3. ajs
    • Team MediaPortal

    ajs Development Group

    Joined:
    February 29, 2008
    Messages:
    8,695
    Likes Received:
    2,684
    Gender:
    Male
    Occupation:
    IT
    Location:
    Kyiv
    Ratings:
    +4,644 / 30
    Home Country:
    Ukraine Ukraine
    Show System Specs
    @catavolt @CyberSimian
    One problem, play control for Latests only 4 by each type of latests ... :(
    Ie for Music:
    Code (Text):
    1.     public const int Play1ControlID = 91919997;
    2.     public const int Play2ControlID = 91919998;
    3.     public const int Play3ControlID = 91919999;
    4.     public const int Play4ControlID = 91919901;
     
    • Agree Agree x 1
  4. CyberSimian
    • Team MediaPortal

    CyberSimian Test Group

    Joined:
    June 10, 2013
    Messages:
    1,645
    Likes Received:
    542
    Gender:
    Male
    Location:
    Southampton
    Ratings:
    +962 / 3
    Home Country:
    United Kingdom United Kingdom
    Show System Specs
    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
     
  5. ajs
    • Team MediaPortal

    ajs Development Group

    Joined:
    February 29, 2008
    Messages:
    8,695
    Likes Received:
    2,684
    Gender:
    Male
    Occupation:
    IT
    Location:
    Kyiv
    Ratings:
    +4,644 / 30
    Home Country:
    Ukraine Ukraine
    Show System Specs
    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:
     
    • Agree Agree x 1
  6. ajs
    • Team MediaPortal

    ajs Development Group

    Joined:
    February 29, 2008
    Messages:
    8,695
    Likes Received:
    2,684
    Gender:
    Male
    Occupation:
    IT
    Location:
    Kyiv
    Ratings:
    +4,644 / 30
    Home Country:
    Ukraine Ukraine
    Show System Specs
    Playing control allows you to play the desired item directly from the home screen, change the type, update, etc.

    --
    WBR, ajs :):whistle::coffee:
     
    • Agree Agree x 1
  7. ajs
    • Team MediaPortal

    ajs Development Group

    Joined:
    February 29, 2008
    Messages:
    8,695
    Likes Received:
    2,684
    Gender:
    Male
    Occupation:
    IT
    Location:
    Kyiv
    Ratings:
    +4,644 / 30
    Home Country:
    Ukraine Ukraine
    Show System Specs
    I add to skin setting additional IDs if needed:
    Code (XML):
    1. <?xml version="1.0" encoding="utf-8"?>
    2. <settings>
    3.   <main>
    4.      <latestscount>3</latestscount>
    5.      <tvlatestscount>3</tvlatestscount>
    6.   </main>
    7.   <playids>
    8.     <video> <!-- If latestscount more than 4 - add additional Play IDs for skin -->
    9.       <id>NNN</id>
    10.       <id>NNN</id>
    11.       <id>NNN</id>
    12.     </video>
    13.     <movingpictures> <!-- If latestscount more than 4 - add additional Play IDs for skin -->
    14.       <id>NNN</id>
    15.       <id>NNN</id>
    16.       <id>NNN</id>
    17.     </movingpictures>
    18.     <myfilms> <!-- If latestscount more than 4 - add additional Play IDs for skin -->
    19.       <id>NNN</id>
    20.       <id>NNN</id>
    21.       <id>NNN</id>
    22.     </myfilms>
    23.     <tvseries> <!-- If latestscount more than 4 - add additional Play IDs for skin -->
    24.       <id>NNN</id>
    25.       <id>NNN</id>
    26.       <id>NNN</id>
    27.     </tvseries>
    28.     <mvcentral> <!-- If latestscount more than 4 - add additional Play IDs for skin -->
    29.       <id>NNN</id>
    30.       <id>NNN</id>
    31.       <id>NNN</id>
    32.     </mvcentral>
    33.     <music> <!-- If latestscount more than 4 - add additional Play IDs for skin -->
    34.       <id>NNN</id>
    35.       <id>NNN</id>
    36.       <id>NNN</id>
    37.     </music>
    38.     <pictures> <!-- If latestscount more than 4 - add additional Play IDs for skin -->
    39.       <id>NNN</id>
    40.       <id>NNN</id>
    41.       <id>NNN</id>
    42.     </pictures>
    43.     <tv> <!-- If tvlatestscount more than 4 - add additional Play IDs for skin -->
    44.       <id>NNN</id>
    45.       <id>NNN</id>
    46.       <id>NNN</id>
    47.     </tv>
    48.   </playids>
    49. </settings>
    If ID added, in log:
    Code (Text):
    1. ... Skin settings - TV, add additional ID: NNN
    PS: Not tested :)
     

    Attached Files:

    • Like Like x 1
  8. catavolt
    • Team MediaPortal
    • Administrator

    catavolt Design Group Manager

    Joined:
    August 13, 2007
    Messages:
    12,240
    Likes Received:
    4,982
    Gender:
    Male
    Occupation:
    Technical Documentation, Translation
    Location:
    Lanzarote
    Ratings:
    +7,396 / 38
    Home Country:
    Germany Germany
    Show System Specs
    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 ;)
     
    • Agree Agree x 1
  9. ajs
    • Team MediaPortal

    ajs Development Group

    Joined:
    February 29, 2008
    Messages:
    8,695
    Likes Received:
    2,684
    Gender:
    Male
    Occupation:
    IT
    Location:
    Kyiv
    Ratings:
    +4,644 / 30
    Home Country:
    Ukraine Ukraine
    Show System Specs
    The opportunity is added, you can use it, but you can not.
    As well as additional facades. :)
     
    • Like Like x 1
  10. catavolt
    • Team MediaPortal
    • Administrator

    catavolt Design Group Manager

    Joined:
    August 13, 2007
    Messages:
    12,240
    Likes Received:
    4,982
    Gender:
    Male
    Occupation:
    Technical Documentation, Translation
    Location:
    Lanzarote
    Ratings:
    +7,396 / 38
    Home Country:
    Germany Germany
    Show System Specs
    Well THAT sounds interesting (y) :D
     
    • Like Like x 1
  11. ajs
    • Team MediaPortal

    ajs Development Group

    Joined:
    February 29, 2008
    Messages:
    8,695
    Likes Received:
    2,684
    Gender:
    Male
    Occupation:
    IT
    Location:
    Kyiv
    Ratings:
    +4,644 / 30
    Home Country:
    Ukraine Ukraine
    Show System Specs
    This function is not fully verified, the @wizard123 asked for it, but whether it works or not I don’t know :)

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

Users Viewing Thread (Users: 0, Guests: 0)

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice
  • About The Project

    The vision of the MediaPortal project is to create a free open source media centre application, which supports all advanced media centre functions, and is accessible to all Windows users.

    In reaching this goal we are working every day to make sure our software is one of the best.

             

  • Support MediaPortal!

    The team works very hard to make sure the community is running the best HTPC-software. We give away MediaPortal for free but hosting and software is not for us.

    Care to support our work with a few bucks? We'd really appreciate it!