Little help please with creating skinfiles for mvcentral

Discussion in 'MediaPortal 1 Skins' started by ixdvc, March 1, 2014.

  1. ixdvc

    ixdvc Portal Pro

    Joined:
    May 26, 2009
    Messages:
    227
    Likes Received:
    31
    Gender:
    Male
    Ratings:
    +37 / 0
    Home Country:
    Germany Germany
    Show System Specs
    I worked on mvCentral a little. Added clearart and optimized the videoOSD a bit. It is nearly finished but I still have one question:
    I want to show "Artist - Album Title". The "-" shall only be displayed if the video has album data. Otherwise it would show. e.g. "Nightwish - ".
    According to http://code.google.com/p/mvcentral/wiki/mvCentralSkinningGuide I want to use
    So I tried with
    Code (Text):
    1. <label>#Play.Current.mvArtist #(iif(string.equals(#Play.Current.mvAlbum,''), '', '-')) #Play.Current.mvAlbum</label>
    but the hyphen is always shown even if there is no album. I also tried with
    Code (Text):
    1. string.equals(#Play.Current.mvAlbum,)
    but the result is the same.



    Is my syntax wrong or am I missing something different?
     

    Attached Files:

    • mvcentral.zip
      File size:
      13.8 KB
      Uploaded:
      March 1, 2014
      Views:
      111
  2. Google AdSense Guest Advertisement



    to hide all adverts.
  3. powermarcel10
    • Premium Supporter

    powermarcel10 Retired Team Member

    Joined:
    November 30, 2010
    Messages:
    2,839
    Likes Received:
    789
    Gender:
    Male
    Occupation:
    Callcenter Agent
    Location:
    Groningen
    Ratings:
    +1,028 / 4
    Home Country:
    Netherlands Netherlands
    Show System Specs
    @ixdvc: I moved your post to here, as I think it will get some more attention.. I hope that's fine with you!

    But really nice you're re-working the skinfiles for mvcentral.. I made a begin with it myself too, but I will wait to see what you've created, and add it to a next version of TITANIUS.. If you like, you can upload your skinfiles you've made to the topicstart, so I can take a look into it. :)
     
  4. ixdvc

    ixdvc Portal Pro

    Joined:
    May 26, 2009
    Messages:
    227
    Likes Received:
    31
    Gender:
    Male
    Ratings:
    +37 / 0
    Home Country:
    Germany Germany
    Show System Specs
    No problem. I also thought about aksing the question here. I have attached the files above. My question was regarding to videoOSD.xml.

    And what do you do to reload modified xml files in MePo? Most plugins screens reload when you leave the window and enter it again. But videoOSD was only reloaded after restarting MePo in my tests. And the wiki link to MyRefresh (https://forum.team-mediaportal.com/threads/mp1-2-update-for-my-refresh.95945/) seems quite old.
     
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!