1.4.x Themes: BasicHome, Clear Art's support for Titan, Weather icon on screen, bugfixes and more. (6 Viewers)

ajs

Development Group
  • Team MediaPortal
  • February 29, 2008
    16,059
    11,141
    Kyiv
    Home Country
    Ukraine Ukraine
    What does the myHome.xml in MePo do over the same file in the Titan skin?
    I don't see this file in the repository GitHub - andrewjswan/mediaportal-titan-mepo-theme: MePo Theme for Mediaportal
    I did notice it calls the BasicHomeSubBGFlat.png instead of BasicHomeSubBG.png which is the bar at the bottom of the screen.
    This probably made some sense 5+ years ago, but I don’t remember...
     

    KJ-Cox

    Design Group
  • Team MediaPortal
  • September 12, 2009
    222
    335
    Brisbane
    Home Country
    Australia Australia
    BasicHome.Fanart.Selected.xml
    I was having an issue with Fanart missing so I added a check for empty image fanart path values.
    Maybe a better approach is to work out why the issue is occuring.
    Find:
    XML:
    eq(#fanarthandler.tvseries.latests.available,'true'),#fanarthandler.tvseries.latests.backdrop1.any,
    Replace:
    XML:
    and(eq(#fanarthandler.tvseries.latests.available,'true'),neq(#fanarthandler.tvseries.latests.backdrop1.any,'')),#fanarthandler.tvseries.latests.backdrop1.any,
    Find:
    XML:
    eq(#fanarthandler.tvseries.latests.available,'true'),#fanarthandler.tvseries.latests.backdrop2.any,
    Replace:
    XML:
    and(eq(#fanarthandler.tvseries.latests.available,'true'),neq(#fanarthandler.tvseries.latests.backdrop2.any,'')),#fanarthandler.tvseries.latests.backdrop2.any,
     
    Last edited:

    KJ-Cox

    Design Group
  • Team MediaPortal
  • September 12, 2009
    222
    335
    Brisbane
    Home Country
    Australia Australia
    Fanart Handler Movies images missing from the following folder.
    C:\ProgramData\Team MediaPortal\MediaPortal\Thumbs\ClearArt\Movies

    After adding the checkboxes for Movies and TV Series I ran Start Scraper, then closed and saved MP Config.
    When I opened MediaPortal the TV Series scraped but nothing for the two movies I already have added to Moving Pictures.

    FanartMovies.png
     

    KJ-Cox

    Design Group
  • Team MediaPortal
  • September 12, 2009
    222
    335
    Brisbane
    Home Country
    Australia Australia
    This change I'd like to make to the Titan skin.
    Moving Pictures time, weather and movies icon disappear on a one of the views.

    Before edits
    before.png

    After edits
    after.png

    common.time.xml edit to display clock and plugin name Movies.
    Find:
    XML:
    <visible>[window.isvisible(35)|window.isvisible(0)] | [!window.isvisible(35)+!window.isvisible(0)+!window.isvisible(96742)+!window.isvisible(7111992)] | [window.isvisible(96742)+Control.IsVisible(50)] | [window.isvisible(96742)+Control.IsVisible(51)]</visible>
    Replace:
    XML:
    <visible>!Control.HasFocus(10005)</visible>

    movingpictures.xml edit to display icon_movies.png
    Find:
    XML:
    <visible>control.isvisible(50)|control.isvisible(51)</visible>
    Replace:
    XML:
    <visible>!Control.HasFocus(10005)</visible>
     

    KJ-Cox

    Design Group
  • Team MediaPortal
  • September 12, 2009
    222
    335
    Brisbane
    Home Country
    Australia Australia
    Another Titan Skin change I'd like to make is to fix the Pin Code dialog.
    Currently it's shows all blue stars instead of becoming blue as you press a button.

    Before it's always blue stars no matter what
    ratingBefore.png

    After the stars are black until the buttons turn them into blue
    ratingAfter.png

    DialogPinCode.xml
    Find all
    XML:
    <texture>starblue_rating.png</texture>
    Replace all with
    XML:
    <texture>starblack_rating.png</texture>
    Then Find all
    XML:
    <texture>starwhite_rating.png</texture>
    Replace all with
    XML:
    <texture>starblue_rating.png</texture>
     
    Last edited:

    KJ-Cox

    Design Group
  • Team MediaPortal
  • September 12, 2009
    222
    335
    Brisbane
    Home Country
    Australia Australia
    Titan Skin change for TV-Series to fix the strange offset with posX to Season View.
    The Views to compare with Season
    TVAll.png TVSeason.png TVEpisodes.png

    Season view after edit to posX value
    TVSeasonAfter.png

    TVSeries.facade.widebanner.default.xml
    Find:
    XML:
        <label>#(L(97))#TVSeries.Translation.Season.Label</label>
        <id>0</id>
            <posX>144</posX>
    Replace:
    XML:
        <label>#(L(97))#TVSeries.Translation.Season.Label</label>
        <id>0</id>
            <posX>72</posX>
     

    KJ-Cox

    Design Group
  • Team MediaPortal
  • September 12, 2009
    222
    335
    Brisbane
    Home Country
    Australia Australia
    Titan skin update to TVSeries.SkinSettings.xml to fix ClearArt path.
    Then remove this file from MePo as it's not required.

    Replace:
    XML:
    <value><![CDATA[thumbs\ClearArt\<Series.ID>.png]]></value>
    With:
    XML:
    <value><![CDATA[thumbs\ClearArt\Series\<Series.ID>.png]]></value>
     
    Last edited:

    KJ-Cox

    Design Group
  • Team MediaPortal
  • September 12, 2009
    222
    335
    Brisbane
    Home Country
    Australia Australia
    Titan skin update to TVSeries.views.widebanner.default.xml to fix Media Logos. Then remove this file from MePo as it's not required.

    This will fix an issue with the logos in the wrong location and Closed Caption the wrong size.
    Also easier to add items than the current method of adding media images which you can check out by opening TVSeries.SkinSettings.xml and reading the CDATA section after the text <logos import="true">

    Before:
    MediaBefore.png

    After:
    MediaAfter.png

    Find:
    XML:
        <control>
          <type>image</type>
          <description>Logos</description>
          <id>66</id>
          <posX>664</posX>
          <posY>889</posY>
          <width>550</width>
          <height>61</height>
          <texture>#TVSeries.Logos</texture>
          <keepaspectratio>yes</keepaspectratio>
          <spaceBetweenItems>0</spaceBetweenItems>
          <visible>facadeview.list+control.isvisible(1239)</visible>
          <animation effect="fade" time="250">WindowOpen</animation>
          <animation effect="fade" time="250">WindowClose</animation>
        </control>
    Replace with:
    XML:
        <control Style="MediaLogos">
          <description>Video resolution</description>
        <type>image</type>
        <id>0</id>
            <posX>660</posX>
            <posY>890</posY>
        <width>92</width>
        <height>60</height>
        <texture>Logos\resolution\#(switch(
      lt(cint(#TVSeries.Episode.videoWidth), 960), '480',
      and(eq(cint(#TVSeries.Episode.videoWidth), 960), lte(cint(#TVSeries.Episode.videoHeight), 600)), '540',
      or(eq(cint(#TVSeries.Episode.videoWidth), 1280), eq(cint(#TVSeries.Episode.videoHeight), 720)), '720p',
      or(eq(cint(#TVSeries.Episode.videoWidth), 1920), eq(cint(#TVSeries.Episode.videoHeight), 1080)), '1080p',
      or(eq(cint(#TVSeries.Episode.videoWidth), 3840), eq(cint(#TVSeries.Episode.videoHeight), 2160)), '4K')).png</texture>
        <keepaspectratio>yes</keepaspectratio>
             <visible>facadeview.list+Control.IsVisible(1239)</visible>
          <animation effect="fade" time="250">WindowOpen</animation>
          <animation effect="fade" time="250">WindowClose</animation>
      </control>
        <control Style="MediaLogos">
          <description>Video codec</description>
        <type>image</type>
        <id>0</id>
            <posX>740</posX>
            <posY>890</posY>
        <width>92</width>
        <height>60</height>
        <texture>Logos\video\#(switch(
      or(eq(#TVSeries.Episode.VideoFormat, 'AVC'), eq(#TVSeries.Episode.VideoCodec, 'H264')), 'h264',
      or(eq(#TVSeries.Episode.VideoFormat, 'HEVC'), eq(#TVSeries.Episode.VideoCodec, 'H265')), 'h265',
      and(eq(#TVSeries.Episode.VideoFormat, 'MPEG Video'), eq(string.contains(#TVSeries.Episode.VideoFormatProfile, 'Main'), 'true')), 'mpeg2',
      or(eq(string.contains(#TVSeries.Episode.VideoCodec, 'DIVX'), 'true'), eq(string.contains(#TVSeries.Episode.VideoCodec, 'DX50'), 'true'), eq(string.contains(#TVSeries.Episode.VideoCodec, 'DIV3'), 'true')), 'divx',
      or(eq(string.contains(#TVSeries.Episode.VideoCodec, 'XVID'), 'true'), eq(string.contains(#TVSeries.Episode.VideoCodec, 'MPG4'), 'true')), 'xvid',
      or(eq(string.contains(#TVSeries.Episode.VideoFormat, 'VC-1'), 'true'), eq(string.contains(#TVSeries.Episode.VideoCodec, 'VC1'), 'true')), 'vc-1',
      eq(string.contains(#TVSeries.Episode.VideoCodec, 'WMV'), 'true'), 'wmv',
      eq(#TVSeries.Episode.VideoFormat, 'VP6'), 'vp6f',
      eq(string.contains(#TVSeries.Episode.VideoCodec, 'REAL'), 'true'), 'real')).png</texture>
        <keepaspectratio>yes</keepaspectratio>
             <visible>facadeview.list+Control.IsVisible(1239)</visible>
          <animation effect="fade" time="250">WindowOpen</animation>
          <animation effect="fade" time="250">WindowClose</animation>
      </control>
        <control Style="MediaLogos">
          <description>Audio codec</description>
        <type>image</type>
        <id>0</id>
            <posX>825</posX>
            <posY>890</posY>
        <width>92</width>
        <height>60</height>
        <texture>Logos\audio\#(switch(
      eq(#TVSeries.Episode.AudioFormat, 'AC-3'), 'ac-3',
      eq(#TVSeries.Episode.AudioFormat, 'E-AC-3'), 'e-ac-3',
      eq(#TVSeries.Episode.AudioFormat, 'eac3'), 'eac3',
      eq(#TVSeries.Episode.AudioFormat, 'DTS'), 'dts',
      and(eq(#TVSeries.Episode.AudioFormat, 'DTS'), eq(#TVSeries.Episode.AudioFormatProfile, 'MA')), 'dtshd_ma',
      and(eq(#TVSeries.Episode.AudioFormat, 'DTS'), eq(#TVSeries.Episode.AudioFormatProfile, 'HRA')), 'dtshd_hra',
      eq(string.contains(#TVSeries.Episode.AudioFormatProfile, 'TrueHD'), 'true'), 'truehd',
      eq(#TVSeries.Episode.AudioFormat, 'MPEG Audio'), 'mp3',
      eq(string.contains(#TVSeries.Episode.AudioFormat, 'FLAC'), 'true'), 'flac',
      eq(#TVSeries.Episode.AudioFormat, 'AAC'), 'aac',
      eq(#TVSeries.Episode.AudioFormat, 'VORBIS'), 'vorbis',
      eq(string.contains(#TVSeries.Episode.AudioFormat, 'REAL'), 'true'), 'RA',
      eq(#TVSeries.Episode.AudioFormat, 'WMA'), 'wma')).png</texture>
        <keepaspectratio>yes</keepaspectratio>
             <visible>facadeview.list+Control.IsVisible(1239)</visible>
          <animation effect="fade" time="250">WindowOpen</animation>
          <animation effect="fade" time="250">WindowClose</animation>
      </control>
        <control Style="MediaLogos">
          <description>Audio channels</description>
        <type>image</type>
        <id>0</id>
            <posX>905</posX>
            <posY>890</posY>
        <width>92</width>
        <height>60</height>
        <texture>Logos\audio\#(switch(
      eq(#TVSeries.Episode.AudioChannels, '2'), '2.0',
      eq(#TVSeries.Episode.AudioChannels, '6'), '5.1',
      eq(#TVSeries.Episode.AudioChannels, '7'), '6.1',
      eq(#TVSeries.Episode.AudioChannels, '8'), '7.1')).png</texture>
        <keepaspectratio>yes</keepaspectratio>
             <visible>facadeview.list+Control.IsVisible(1239)</visible>
          <animation effect="fade" time="250">WindowOpen</animation>
          <animation effect="fade" time="250">WindowClose</animation>
      </control>
     
        <control Style="MediaLogos">
          <description>Aspect ratio</description>
        <type>image</type>
        <id>0</id>
            <posX>975</posX>
            <posY>890</posY>
        <width>92</width>
        <height>60</height>
        <texture>Logos\aspectratio\#(iif(gte(#TVSeries.Episode.VideoAspectRatio, '1.5'),'widescreen','fullscreen')).png</texture>
        <keepaspectratio>yes</keepaspectratio>
             <visible>facadeview.list+Control.IsVisible(1239)</visible>
          <animation effect="fade" time="250">WindowOpen</animation>
          <animation effect="fade" time="250">WindowClose</animation>
      </control>
        <control Style="MediaLogos">
          <description>Subtitle</description>
          <type>image</type>
          <id>0</id>
          <posX>1065</posX>
          <posY>900</posY>
          <width>39</width>
          <height>40</height>
          <texture>Logos\#(iif(eq(#TVSeries.Episode.AvailableSubtitles, 0),'nosubtitles','subtitles')).png</texture>
          <visible>facadeview.list+Control.IsVisible(1239)</visible>
          <animation effect="fade" time="250">WindowOpen</animation>
          <animation effect="fade" time="250">WindowClose</animation>
        </control>
     
    Last edited:

    Users who are viewing this thread

    Top Bottom