- Moderator
- #31
Chuck
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?
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
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.