MP-TVSeries v4.3.6 Release [2020-01-24] (20 Viewers)

bta489

Portal Pro
March 17, 2013
190
107
Home Country
Germany Germany
So far no problems with the beta here as well. Provider Change seems to work fine and the button was easily added to the skin. (Thanks for the continuous Skinning-Information by the way. That's really helpful!)

Quick Question: I'm trying to use #TVSeries.Artwork.Type in a label in my skin-file, but all I'm getting is the not localized version like 'SeriesPoster' (no space between 'Series' and 'Poster' and not localized to the string in either en-us.xml or my language). Do I have to specify the translation in the skin-file as well? I tried #(L(#TVSeries.Artwork.Type)), but that only resulted in an error (probably because MPTVSeries uses its own translation system/file?). I'm no expert and only modify skins by trial and error, so I'm not really sure how the translation system works.
 

ltfearme

Community Plugin Dev
  • Premium Supporter
  • June 10, 2007
    6,755
    7,200
    Sydney
    Home Country
    Australia Australia
    Quick Question: I'm trying to use #TVSeries.Artwork.Type in a label in my skin-file, but all I'm getting is the not localized version like 'SeriesPoster' (no space between 'Series' and 'Poster' and not localized to the string in either en-us.xml or my language). Do I have to specify the translation in the skin-file as well? I tried #(L(#TVSeries.Artwork.Type)), but that only resulted in an error (probably because MPTVSeries uses its own translation system/file?). I'm no expert and only modify skins by trial and error, so I'm not really sure how the translation system works.
    I will add a localised skin property in next build.

    For now you could use a skin iif or switch expression to display the translation but that is messy.
     

    bta489

    Portal Pro
    March 17, 2013
    190
    107
    Home Country
    Germany Germany
    I will add a localised skin property in next build.

    Thank you! Then I'll wait for that. The Artwork-Chooser in it's current state is a fantastic addition already. So one slightly imperfect label doesn't really matter (y)
     

    catavolt

    Design Group Manager
  • Team MediaPortal
  • August 13, 2007
    15,079
    11,366
    Königstein (Taunus)
    Home Country
    Germany Germany
    Skinner Question:
    Because the facades with IDs 51 and 52 can´t be accessed directly with mouse (without going to the button and then right), I wanted to use ID 50 for ALL facades, but with these includes (and the respective facade xmls):
    XML:
    <include condition="#(eq(#TVSeries.Artwork.Type,'SeriesPoster'))">TVSeries.ArtworkChooser.Poster.xml</include>
    <include condition="#(eq(#TVSeries.Artwork.Type,'SeasonPoster'))">TVSeries.ArtworkChooser.Poster.xml</include>
    <include condition="#(eq(#TVSeries.Artwork.Type,'SeriesFanart'))">TVSeries.ArtworkChooser.Fanart.xml</include>
    <include condition="#(eq(#TVSeries.Artwork.Type,'SeriesBanner'))">TVSeries.ArtworkChooser.Banner.xml</include>
    Unfortunately this doesn´t work :oops:
    Any idea, Damien?
     

    Users who are viewing this thread

    Top Bottom