[FIXED] No CD cover displayed in the HomeBasic (1 Viewer)

ltfearme

Community Plugin Dev
  • Premium Supporter
  • June 10, 2007
    6,755
    7,200
    Sydney
    Home Country
    Australia Australia
    I think most of mine came from fanart handler.

    In basic home there is logic to switch the album and artist images in an animation, this logic (skin condition) is failing most likely.
     

    ltfearme

    Community Plugin Dev
  • Premium Supporter
  • June 10, 2007
    6,755
    7,200
    Sydney
    Home Country
    Australia Australia
    Found the issue, for some reason this fails now when being evaluated by the skin engine:
    Code:
    string.equals(#Play.Current.thumb,)

    This means check if '#Play.Current.thumb' is empty (because the value after the comma is an empty.string. Now I have seen some wacky expressions omitting the comma when checking for an empty string:

    Code:
    string.equals(#Play.Current.thumb)

    What do you know, it works! It should be an epic fail in my opinion as that is not a valid expression. I have no idea why the above expression no longer works in MediaPortal 1.6...and you know what's even weirder? It only fails when used in BasicHome, it works in other overlays !!!!!.

    Solution:
    1. Edit the file common.basichome.overlay.xml
    2. Replace "string.equals(#Play.Current.thumb,)" with "string.equals(#Play.Current.thumb)"
     

    ltfearme

    Community Plugin Dev
  • Premium Supporter
  • June 10, 2007
    6,755
    7,200
    Sydney
    Home Country
    Australia Australia
    I had to re-work the conditions all together and throw aways checks using 'string.equals(#Play.Current.thumb)', because that fails under some scenarios and my old one worked! So for consistency everywhere I removed them, they were there for a reason but im not going to get into that so in next version it should all just work although not the best implementation.
     

    axlt2002

    Portal Pro
    September 20, 2012
    100
    23
    48
    Home Country
    Italy Italy
    You have changed the thread title in the correct way ltfearme!!!! I have just updated the skin and the bug has disappeared!!!! ;)

    Thanks a lot for your kind help!!! (y)
     

    Users who are viewing this thread


    Write your reply...

    Similar threads

    For music you may use --> https://www.team-mediaportal.de/erweiterungen/musik/global-search With GlobalSearch you can search for any entry in your music database: Artist, Album, Title, Lyrics... I'm afraid there is no such plugin :unsure:
    For music you may use --> https://www.team-mediaportal.de/erweiterungen/musik/global-search With GlobalSearch you can search for...
    HI, I'm new to MediaPortal and have a question about searching for data. I have an extensive collection of music, films, and TV...
    Replies
    1
    Views
    631
    Perhaps... Only way to confirm would be for me to invest in a different USB DVB-S2 tuner (like the Hauppauge WinTV-NOVA-S2), which I might do if the issue persists.
    Perhaps... Only way to confirm would be for me to invest in a different USB DVB-S2 tuner (like the Hauppauge WinTV-NOVA-S2), which...
    I have a dedicated TV Server x64 v1.36 running on Windows 11, with a Hauppauge WinTV-dualHD tuner for DVB-T channels (Freeview) and...
    Replies
    8
    Views
    676
    Pushed to Github https :// github.com / MPExtended / Skins / commit / 541cd57a89b85e1971d0a6086e3dc650cb9ab60f
    Pushed to Github https :// github.com / MPExtended / Skins / commit / 541cd57a89b85e1971d0a6086e3dc650cb9ab60f
    Hi there I've recently tried to get the Bootstrap 0.7.255 skins working in a new WebMediaPortal environment but ran into several...
    Replies
    6
    Views
    978
    In the UK, the EPG transmitted in the DVB-T datastream allows each programme to have two genres -- a primary genre, and a secondary genre (i.e. a subgenre). The primary genre might be something like Film (or Movie in the USA). The secondary genre for Film might be something like: Action, Comedy, Crime, Fantasy, Romance, Science...
    In the UK, the EPG transmitted in the DVB-T datastream allows each programme to have two genres -- a primary genre, and a secondary...
    In the UK, the EPG transmitted in the DVB-T datastream allows each programme to have two genres -- a primary genre, and a secondary...
    Replies
    0
    Views
    309
    Ran into this problem following an otherwise sucessful upgrade from MP 1.34 x64 to MP 1.35 x64 the CEC Remote plugin which I use just to control volume and standby, will no longer put my devices (TV & AVR) to sleep when the HTPC is put in standby. Also when I wake up the HTPC MP closes or crashes (not sure which) as per the example in...
    Ran into this problem following an otherwise sucessful upgrade from MP 1.34 x64 to MP 1.35 x64 the CEC Remote plugin which I use...
    Ran into this problem following an otherwise sucessful upgrade from MP 1.34 x64 to MP 1.35 x64 the CEC Remote plugin which I use...
    Replies
    0
    Views
    549
    Top Bottom