Skin Settings XML (1 Viewer)

ltfearme

Community Plugin Dev
  • Premium Supporter
  • June 10, 2007
    6,767
    7,241
    Sydney
    Home Country
    Australia Australia
    • Thread starter
    • Moderator
    • #32
    I have just updated SVN for v2.2 so you can change Layouts from with-in the MediaPortal GUI. This uses new SkinSettings as follows:

    <layouts>
    <group List="true" SmallIcons="true" />
    <series ListPosters="true" ListBanners="true" Filmstrip="true" WideBanners="true" />
    <season List="true" Filmstrip="true" />
    <episode List="true" />
    </layouts>

    You set each Layout to "true" or "false" if its supported by your skin. This is then used to show available layouts when Menu Item/ Button is clicked in GUI.

    Its a good idea for skinners to get this up to date now, so you dont have to do it later. There is no harm adding it now even if its not being used yet.
     

    kj23

    New Member
    February 16, 2009
    1
    0
    Home Country
    England England
    stupid question i'm sure but i'm using tv series v2.1.3321 and am wanting to change the series layout. I cant seem to change the skinsetting xml, i'm getting an access denied, do i need to update my tv series or am i doing anything wrong?
    edit, forgot to say, using streamed mp skin.
     

    Cavalera

    New Member
    February 16, 2009
    3
    0
    Home Country
    Belgium Belgium
    i wanted to let my tvseries show if there was a subtitle available for a certain episode
    so i added following in TVSeries.SkinSettings.xml

    <Enabled>1<Format><Episode.InfoPanelLine4Key><FormatAs>SUBS
    <Enabled>1<Format><Episode.InfoPanelLine4Value><FormatAs><Episode.AvailableSubtitles>

    now it show 0 when sub not available and 1 when there is a sub available


    my question was if its possible to let it show Yes and No instead of 1 and 0?
     

    ltfearme

    Community Plugin Dev
  • Premium Supporter
  • June 10, 2007
    6,767
    7,241
    Sydney
    Home Country
    Australia Australia
    • Thread starter
    • Moderator
    • #35
    i wanted to let my tvseries show if there was a subtitle available for a certain episode
    so i added following in TVSeries.SkinSettings.xml

    <Enabled>1<Format><Episode.InfoPanelLine4Key><FormatAs>SUBS
    <Enabled>1<Format><Episode.InfoPanelLine4Value><FormatAs><Episode.AvailableSubtitles>

    now it show 0 when sub not available and 1 when there is a sub available


    my question was if its possible to let it show Yes and No instead of 1 and 0?

    TRY:
    <Enabled>1<Format><Episode.InfoPanelLine4Key><FormatAs>SUBS
    <Enabled>1<Format><Episode.InfoPanelLine4Value><FormatAs>X<Episode.AvailableSubtitles>X
    <Enabled>1<Format><Episode.InfoPanelLine4Key><FormatAs>X1X
    <Enabled>1<Format><Episode.InfoPanelLine4Value><FormatAs>YES
    <Enabled>1<Format><Episode.InfoPanelLine4Key><FormatAs>X0X
    <Enabled>1<Format><Episode.InfoPanelLine4Value><FormatAs>NO

    I added the 'X' so that it doesnt replace other 1's or 0's
     

    Cavalera

    New Member
    February 16, 2009
    3
    0
    Home Country
    Belgium Belgium
    i wanted to let my tvseries show if there was a subtitle available for a certain episode
    so i added following in TVSeries.SkinSettings.xml

    <Enabled>1<Format><Episode.InfoPanelLine4Key><FormatAs>SUBS
    <Enabled>1<Format><Episode.InfoPanelLine4Value><FormatAs><Episode.AvailableSubtitles>

    now it show 0 when sub not available and 1 when there is a sub available


    my question was if its possible to let it show Yes and No instead of 1 and 0?

    TRY:
    <Enabled>1<Format><Episode.InfoPanelLine4Key><FormatAs>SUBS
    <Enabled>1<Format><Episode.InfoPanelLine4Value><FormatAs>X<Episode.AvailableSubtitles>X
    <Enabled>1<Format><Episode.InfoPanelLine4Key><FormatAs>X1X
    <Enabled>1<Format><Episode.InfoPanelLine4Value><FormatAs>YES
    <Enabled>1<Format><Episode.InfoPanelLine4Key><FormatAs>X0X
    <Enabled>1<Format><Episode.InfoPanelLine4Value><FormatAs>NO

    I added the 'X' so that it doesnt replace other 1's or 0's

    didnt work displayed X0X and X1X
    but this does work

    <Enabled>1<Format><Episode.InfoPanelLine3Key><FormatAs>SUBS
    <Enabled>1<Format><Episode.InfoPanelLine3Value><FormatAs>X<Episode.AvailableSubtitles>X
    <Enabled>1<Format>X1X<FormatAs>YES
    <Enabled>1<Format>X0X<FormatAs>NO


    thanks for the help and guiding me in the right direction
     

    2BitSculptor

    Super Moderator
  • Team MediaPortal
  • January 23, 2008
    2,010
    1,053
    South Central Wisconsin
    Home Country
    United States of America United States of America
    I have just updated SVN for v2.2 so you can change Layouts from with-in the MediaPortal GUI. This uses new SkinSettings as follows:

    <layouts>
    <group List="true" SmallIcons="true" />
    <series ListPosters="true" ListBanners="true" Filmstrip="true" WideBanners="true" />
    <season List="true" Filmstrip="true" />
    <episode List="true" />
    </layouts>

    You set each Layout to "true" or "false" if its supported by your skin. This is then used to show available layouts when Menu Item/ Button is clicked in GUI.

    Its a good idea for skinners to get this up to date now, so you dont have to do it later. There is no harm adding it now even if its not being used yet.

    I'm using Blue3, I can change layouts in the SkinSettings.xml... but how do you get to the menu item button that allows you to switch layouts from MP? I don't see it listed in the MENU when I press F9 or the INFO button on my remote.

    Is there an example code for making such a button?

    Or am I expecting something that is not.... is it like the layout toggle button in MovingPictures?

    regards,

    Chuck
     

    ltfearme

    Community Plugin Dev
  • Premium Supporter
  • June 10, 2007
    6,767
    7,241
    Sydney
    Home Country
    Australia Australia
    • Thread starter
    • Moderator
    • #39
    Blue3 skin doesn't support multiple layouts per view (yet), if you look at Blue3wide you will see the option.
     

    Users who are viewing this thread

    Top Bottom