Little help please with creating skinfiles for mvcentral (1 Viewer)

ixdvc

Portal Pro
May 26, 2009
227
39
Home Country
Germany Germany
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
#Play.Current.mvAlbum Set to the Album name the track is from or blank in no assoicated album
So I tried with
Code:
<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:
string.equals(#Play.Current.mvAlbum,)
but the result is the same.

Is my syntax wrong or am I missing something different?
 

Attachments

  • mvcentral.zip
    13.8 KB

powermarcel10

Retired Team Member
  • Premium Supporter
  • November 30, 2010
    2,839
    898
    35
    Groningen
    Home Country
    Netherlands Netherlands
    @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. :)
     

    ixdvc

    Portal Pro
    May 26, 2009
    227
    39
    Home Country
    Germany Germany
    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.
     

    Users who are viewing this thread

    Top Bottom