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

ixdvc

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

powermarcel10

Retired Team Member
  • Premium Supporter
  • November 30, 2010
    2,839
    898
    32
    Groningen
    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
    Germany Germany
    Country flag
    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 (Users: 0, Guests: 1)

    OP Similar threads Forum Replies Date
    M A little help with new install pls Installation, configuration support 3
    framug [solved] Interested with a little modification in your plugin ? My TVSeries 11
    Alberto83 The little non-definitive guide to video WASAPI General 8
    J Help with new grabber file. WebEPG 1
    J IPTV Sweden, need help with m3u list MediaPortal 1 Plugins 14
    wizard123 [solved] MP1 Build help MediaPortal 1 21
    D Please help with getting Schedules Direct to work Newcomers Forum 10
    U [solved] Beginner needs help recording live TV General 19
    A IPTV from https m3u8 urls - Help General 6
    mrmojo666 beginner: trying to write a plugin, need help to catch event General Development (no feature request here!) 3
    N Music player help Listen Music 4
    A Enigma2 receiver channels on Windows PC with Media Portal help General Support 0
    A Help! MP2 - DVB-T Not recognised (DRIVERS?) General 12
    milagroso Remote control with EventGhost - I'm stuck, need help General 3
    D Font size reduced. help. Skins and Plugins Installer (MPEI) 0
    S Gpu/hdtv/mp setup help please Newcomers Forum 3
    W Need help getting my TV guide working again General Support 1
    A I need help with 110 and 119 west Installation, configuration support 21
    A Need help rescaning Channels for 110 and 119 west MediaPortal 1 Talk 2
    C EPG-Buddy: so close to no help needed Electronic Program Guide 8
    mjmapi Help, getting My TVSeries 16
    F Setup Help General 1
    O Steps to achieve AV sync - please tell me I'm missing something General 0
    T [solved] MP2 Switch off visualisation when listening to audio....PLEASE!!! General 23
    S EPG timeshift advice needed please Electronic Program Guide 3
    Top Bottom