[confirm] #itemtype not working in string.equals (1 Viewer)

cul8er

Retired Team Member
  • Premium Supporter
  • August 31, 2006
    2,159
    2,679
    Sweden Sweden
    • Thread starter
    • Moderator
    • #1
    Hi,

    It looks like #itemtype not working in string.equals() statements in skins. Using this;
    <visible>string.equals(#itemtype,#(L(528)))</visible>
    would work in MP1.2 but does not work in MP1.3 Alpha.

    No errors in logs. I have tried the same skin (Avallonis) in MP1.2 and this works and using MP1.3 and it does not work.

    To test this;
    1. open your mymusicgenres.xml in DefaultWide skin and add this code;
    Code:
    <control>
        <description>Test</description>
        <type>fadelabel</type>
        <id>1</id>
        <posX>20</posX>
        <posY>200</posY>
        <width>550</width>
        <font>font12</font>
        <textcolor>FFFFFFFF</textcolor>             
        <label>Test text</label>
        <visible>string.equals(#itemtype,#(L(528)))</visible>
    </control>
    2. Run MP and goto myMusic
    3. Switch to Album Artist view and you will see that the new fadelabel does not show as it should.

    More info;
    1. The #itemtype will be "Album Artist" so this is correct
    2. The #(L(528)) will translate into Album Artist

    But the evaluate does not do its job properly anymore.

    Please let me know if you need more info.

    best regards
    cul8er
     
    Last edited:

    cul8er

    Retired Team Member
  • Premium Supporter
  • August 31, 2006
    2,159
    2,679
    Sweden Sweden
    • Thread starter
    • Moderator
    • #4
    so this should be marked as BUG?

    best regards cul8er
     

    Users Who Are Viewing This Thread (Users: 0, Guests: 1)

    OP Similar threads Forum Replies Date
    C Hauppauge HVR-1265 -- does it work with MP1? MediaPortal 1 Talk 0
    Rob Hexenmeister ITV Player still not working for me OnlineVideos 2
    V Do you have to have a smart tv for it to work? Newcomers Forum 4
    M [solved] WTV Files does not play on client, MPEG files works well General 1
    D Does Schedules Direct work with mp 1.24? General Support 3
    J [solved] Blu-ray disc playback does not work. Bugreports 13
    P MP2: US user, OTA - can NOT get SchedulesDirect plugin to work on MP1 or MP2 --> how do I get OTA schedule? General 5
    ratata [solved] Can't get two virtual IPTV cards to work side by side... General Support 6
    S TV-Server MP1 - Automatic search doesn't work Installation, configuration support 2
    T [solved] Green Button start MP not working....but box ticked in config. General Support 1
    mickb [solved] Mediaportal Stops working General Support 5
    C Importer works super slow My TVSeries 5
    D [solved] Movie artwork download stopped working Submit: Bug Reports 9
    A 1.24.0 CD art grabber not working in Shares view 1.24 Pre Release 17
    RoChess Random GPU crash leads to MePo restart, but works fine afterwards MediaPortal 1 14
    Dark Eyes Updated to Windows 10, now TVServer won't work Installation, configuration support 1
    D [solved] EPG Buddy for MP2 - Does it work? General 5
    D Please help with getting Schedules Direct to work Newcomers Forum 10
    B MP 1.23 First time click TV or Recorded TV fails, 2nd ... it will work General Support 5
    M MP 2.2.3 Unable to play .ts recordings and MediaPortal stops working for TV viewing General 31
    rsbrux IR has stopped working Remotes 4
    thepahakurki TVDB import not working My TVSeries 3
    Rob Hexenmeister Work arounds for an alternative home screen General Support 3
    A Working server, no video playback on client General 5
    R [solved] Moving pictures importer wont add files from a removable drive. Is there a work around ? Moving Pictures 8
    Similar threads

























    Top Bottom