home
products
contribute
download
documentation
forum
Home
Forums
New posts
Search forums
What's new
New posts
All posts
Latest activity
Members
Registered members
Current visitors
Donate
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Search titles only
By:
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
MediaPortal 1
Quality Assurance
Titan Skin Feedback
Themes: BasicHome, Clear Art's support for Titan, Weather icon on screen, bugfixes and more.
Contact us
RSS
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="KJ-Cox" data-source="post: 1298318" data-attributes="member: 97858"><p>Titan skin update to TVSeries.views.widebanner.default.xml to fix Media Logos. Then remove this file from MePo as it's not required.</p><p></p><p>This will fix an issue with the logos in the wrong location and Closed Caption the wrong size.</p><p>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"></p><p></p><p>Before:</p><p>[ATTACH]213673[/ATTACH]</p><p></p><p>After:</p><p>[ATTACH]213672[/ATTACH]</p><p></p><p>Find:</p><p>[CODE=xml] <control></p><p> <type>image</type></p><p> <description>Logos</description></p><p> <id>66</id></p><p> <posX>664</posX></p><p> <posY>889</posY></p><p> <width>550</width></p><p> <height>61</height></p><p> <texture>#TVSeries.Logos</texture></p><p> <keepaspectratio>yes</keepaspectratio></p><p> <spaceBetweenItems>0</spaceBetweenItems></p><p> <visible>facadeview.list+control.isvisible(1239)</visible></p><p> <animation effect="fade" time="250">WindowOpen</animation></p><p> <animation effect="fade" time="250">WindowClose</animation></p><p> </control>[/CODE]</p><p>Replace with:</p><p>[CODE=xml]</p><p> <control Style="MediaLogos"></p><p> <description>Video resolution</description></p><p> <type>image</type></p><p> <id>0</id></p><p> <posX>660</posX></p><p> <posY>890</posY></p><p> <width>92</width></p><p> <height>60</height></p><p> <texture>Logos\resolution\#(switch(</p><p> lt(cint(#TVSeries.Episode.videoWidth), 960), '480',</p><p> and(eq(cint(#TVSeries.Episode.videoWidth), 960), lte(cint(#TVSeries.Episode.videoHeight), 600)), '540',</p><p> or(eq(cint(#TVSeries.Episode.videoWidth), 1280), eq(cint(#TVSeries.Episode.videoHeight), 720)), '720p',</p><p> or(eq(cint(#TVSeries.Episode.videoWidth), 1920), eq(cint(#TVSeries.Episode.videoHeight), 1080)), '1080p',</p><p> or(eq(cint(#TVSeries.Episode.videoWidth), 3840), eq(cint(#TVSeries.Episode.videoHeight), 2160)), '4K')).png</texture></p><p> <keepaspectratio>yes</keepaspectratio></p><p> <visible>facadeview.list+Control.IsVisible(1239)</visible></p><p> <animation effect="fade" time="250">WindowOpen</animation></p><p> <animation effect="fade" time="250">WindowClose</animation></p><p> </control></p><p> <control Style="MediaLogos"></p><p> <description>Video codec</description></p><p> <type>image</type></p><p> <id>0</id></p><p> <posX>740</posX></p><p> <posY>890</posY></p><p> <width>92</width></p><p> <height>60</height></p><p> <texture>Logos\video\#(switch(</p><p> or(eq(#TVSeries.Episode.VideoFormat, 'AVC'), eq(#TVSeries.Episode.VideoCodec, 'H264')), 'h264',</p><p> or(eq(#TVSeries.Episode.VideoFormat, 'HEVC'), eq(#TVSeries.Episode.VideoCodec, 'H265')), 'h265',</p><p> and(eq(#TVSeries.Episode.VideoFormat, 'MPEG Video'), eq(string.contains(#TVSeries.Episode.VideoFormatProfile, 'Main'), 'true')), 'mpeg2',</p><p> 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',</p><p> or(eq(string.contains(#TVSeries.Episode.VideoCodec, 'XVID'), 'true'), eq(string.contains(#TVSeries.Episode.VideoCodec, 'MPG4'), 'true')), 'xvid',</p><p> or(eq(string.contains(#TVSeries.Episode.VideoFormat, 'VC-1'), 'true'), eq(string.contains(#TVSeries.Episode.VideoCodec, 'VC1'), 'true')), 'vc-1',</p><p> eq(string.contains(#TVSeries.Episode.VideoCodec, 'WMV'), 'true'), 'wmv',</p><p> eq(#TVSeries.Episode.VideoFormat, 'VP6'), 'vp6f',</p><p> eq(string.contains(#TVSeries.Episode.VideoCodec, 'REAL'), 'true'), 'real')).png</texture></p><p> <keepaspectratio>yes</keepaspectratio></p><p> <visible>facadeview.list+Control.IsVisible(1239)</visible></p><p> <animation effect="fade" time="250">WindowOpen</animation></p><p> <animation effect="fade" time="250">WindowClose</animation></p><p> </control></p><p> <control Style="MediaLogos"></p><p> <description>Audio codec</description></p><p> <type>image</type></p><p> <id>0</id></p><p> <posX>825</posX></p><p> <posY>890</posY></p><p> <width>92</width></p><p> <height>60</height></p><p> <texture>Logos\audio\#(switch(</p><p> eq(#TVSeries.Episode.AudioFormat, 'AC-3'), 'ac-3',</p><p> eq(#TVSeries.Episode.AudioFormat, 'E-AC-3'), 'e-ac-3',</p><p> eq(#TVSeries.Episode.AudioFormat, 'eac3'), 'eac3',</p><p> eq(#TVSeries.Episode.AudioFormat, 'DTS'), 'dts',</p><p> and(eq(#TVSeries.Episode.AudioFormat, 'DTS'), eq(#TVSeries.Episode.AudioFormatProfile, 'MA')), 'dtshd_ma',</p><p> and(eq(#TVSeries.Episode.AudioFormat, 'DTS'), eq(#TVSeries.Episode.AudioFormatProfile, 'HRA')), 'dtshd_hra',</p><p> eq(string.contains(#TVSeries.Episode.AudioFormatProfile, 'TrueHD'), 'true'), 'truehd',</p><p> eq(#TVSeries.Episode.AudioFormat, 'MPEG Audio'), 'mp3',</p><p> eq(string.contains(#TVSeries.Episode.AudioFormat, 'FLAC'), 'true'), 'flac',</p><p> eq(#TVSeries.Episode.AudioFormat, 'AAC'), 'aac',</p><p> eq(#TVSeries.Episode.AudioFormat, 'VORBIS'), 'vorbis',</p><p> eq(string.contains(#TVSeries.Episode.AudioFormat, 'REAL'), 'true'), 'RA',</p><p> eq(#TVSeries.Episode.AudioFormat, 'WMA'), 'wma')).png</texture></p><p> <keepaspectratio>yes</keepaspectratio></p><p> <visible>facadeview.list+Control.IsVisible(1239)</visible></p><p> <animation effect="fade" time="250">WindowOpen</animation></p><p> <animation effect="fade" time="250">WindowClose</animation></p><p> </control></p><p> <control Style="MediaLogos"></p><p> <description>Audio channels</description></p><p> <type>image</type></p><p> <id>0</id></p><p> <posX>905</posX></p><p> <posY>890</posY></p><p> <width>92</width></p><p> <height>60</height></p><p> <texture>Logos\audio\#(switch(</p><p> eq(#TVSeries.Episode.AudioChannels, '2'), '2.0',</p><p> eq(#TVSeries.Episode.AudioChannels, '6'), '5.1',</p><p> eq(#TVSeries.Episode.AudioChannels, '7'), '6.1',</p><p> eq(#TVSeries.Episode.AudioChannels, '8'), '7.1')).png</texture></p><p> <keepaspectratio>yes</keepaspectratio></p><p> <visible>facadeview.list+Control.IsVisible(1239)</visible></p><p> <animation effect="fade" time="250">WindowOpen</animation></p><p> <animation effect="fade" time="250">WindowClose</animation></p><p> </control></p><p> </p><p> <control Style="MediaLogos"></p><p> <description>Aspect ratio</description></p><p> <type>image</type></p><p> <id>0</id></p><p> <posX>975</posX></p><p> <posY>890</posY></p><p> <width>92</width></p><p> <height>60</height></p><p> <texture>Logos\aspectratio\#(iif(gte(#TVSeries.Episode.VideoAspectRatio, '1.5'),'widescreen','fullscreen')).png</texture></p><p> <keepaspectratio>yes</keepaspectratio></p><p> <visible>facadeview.list+Control.IsVisible(1239)</visible></p><p> <animation effect="fade" time="250">WindowOpen</animation></p><p> <animation effect="fade" time="250">WindowClose</animation></p><p> </control></p><p> <control Style="MediaLogos"></p><p> <description>Subtitle</description></p><p> <type>image</type></p><p> <id>0</id></p><p> <posX>1065</posX></p><p> <posY>900</posY></p><p> <width>39</width></p><p> <height>40</height></p><p> <texture>Logos\#(iif(eq(#TVSeries.Episode.AvailableSubtitles, 0),'nosubtitles','subtitles')).png</texture></p><p> <visible>facadeview.list+Control.IsVisible(1239)</visible></p><p> <animation effect="fade" time="250">WindowOpen</animation></p><p> <animation effect="fade" time="250">WindowClose</animation></p><p> </control></p><p> [/CODE]</p></blockquote><p></p>
[QUOTE="KJ-Cox, post: 1298318, member: 97858"] 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: [ATTACH alt="MediaBefore.png"]213673[/ATTACH] After: [ATTACH alt="MediaAfter.png"]213672[/ATTACH] Find: [CODE=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>[/CODE] Replace with: [CODE=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> [/CODE] [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
Quality Assurance
Titan Skin Feedback
Themes: BasicHome, Clear Art's support for Titan, Weather icon on screen, bugfixes and more.
Contact us
RSS
Top
Bottom