2014-05-17, 22:30
I'm not making this thread to annoy anyone, simply to create a place of reference for all known fixes until a Gotham version is released.
All credits go to authors of fixes, please post any more you find.
Fixing overlapping text when pressing 'O'
Files: VideoFullScreen.xml
Fixing Subtitles: Part 1
Files: script-XBMC-Subtitles-main.xml + DialogSubtitles.xml
Fixing Subtitles: Part 2 OSD Dialogue
Files: VideoOSD.xml
Fix flag icons
Files: DialogSubtitles.xml
All credits go to authors of fixes, please post any more you find.
Fixing overlapping text when pressing 'O'
Files: VideoFullScreen.xml
(2014-05-17, 07:44)yukky Wrote: You can fix this in skin.xperience1080/1080i/VideoFullScreen.xml. These values look okay to me.
Code:<!-- codec info -->
<control type="group" id="0">
<control type="image">
<description>media info background image</description>
<posx>-100</posx>
<posy>-30</posy>
<width>2120</width>
<height>340</height>
<texture border="43,42,43,42">osd/fullscreen/back-codec.png</texture>
<aspectratio>stretch</aspectratio>
</control>
<control type="label" id="10">
<description>row 1 label</description>
<posx>130</posx>
<posy>30</posy>
<width>1660</width>
<height>54</height>
<textcolor>bbwhite</textcolor>
<font>Font-Condensed-S34</font>
<label>-</label>
</control>
<control type="label" id="11">
<description>row 2 label</description>
<posx>130</posx>
<posy>120</posy>
<width>1660</width>
<height>54</height>
<textcolor>bbwhite</textcolor>
<font>Font-Condensed-S34</font>
<label>-</label>
</control>
<control type="label" id="12">
<description>row 3 label</description>
<posx>130</posx>
<posy>180</posy>
<width>1660</width>
<height>98</height>
<textcolor>bbwhite</textcolor>
<font>Font-Condensed-S34</font>
<label>-</label>
</control>
</control>
Fixing Subtitles: Part 1
Files: script-XBMC-Subtitles-main.xml + DialogSubtitles.xml
(2014-03-10, 18:56)ursli Wrote: Rename script-XBMC-Subtitles-main.xml to DialogSubtitles.xml - If that doesn't work copy the code below into a file called DialogSubtitles.xml
Code:<window type="dialog">
<allowoverlay>no</allowoverlay>
<zorder>3</zorder>
<controls>
<control type="group">
<include>NowPlayingFullscreen</include>
<visible>!Window.IsVisible(addonsettings) + !Window.IsVisible(selectdialog)</visible>
<control type="group">
<include>FullscreenDimensions</include>
<animation type="Conditional" condition="Control.HasFocus(150) | Window.IsVisible(addonsettings)">
<effect type="rotatey" start="0" end="-180" center="960,0" time="300" tween="sine" easing="inout" />
<effect type="zoom" start="0,0,1920,1080" end="576,0,768,1080" center="960,640" time="150" tween="sine" easing="inout" />
<effect type="fade" start="100" end="0" time="0" delay="150" />
</animation>
<control type="image">
<include>FullscreenDimensions</include>
<texture>osd/fullscreen/osdsettings.png</texture>
<aspectratio>stretch</aspectratio>
</control>
<control type="image">
<include>FullscreenDimensions</include>
<texture>osd/fullscreen/osdsettings-separators.png</texture>
<aspectratio>stretch</aspectratio>
</control>
<control type="group">
<control type="label">
<description>Settings</description>
<posx>510</posx>
<posy>244</posy>
<width>900</width>
<height>38</height>
<align>center</align>
<label>XBMC Subtitles ($INFO[Container(150).ListItem.Label])</label>
<font>Font-Condensed-S34</font>
<textcolor>bbwhite</textcolor>
66000000
</control>
<control type="image" id="110">
<description>Service Logo</description>
<visible>false</visible>
</control>
</control>
<!-- Options Button -->
<control type="group" id="125">
<posx>435</posx>
<posy>213</posy>
<control type="button" id="126">
<description>Up</description>
<width>100</width>
<height>100</height>
<texturefocus>windows/filemanager/back-fo.png</texturefocus>
<texturenofocus>windows/filemanager/back-nf.png</texturenofocus>
<include>DialogButtonDimensionsRightAlign</include>
<onup>Control.Message(120,movedown)</onup>
<onup>SetFocus(120)</onup>
<ondown>SetFocus(120)</ondown>
<onclick>SetFocus(150)</onclick>
<visible>!Control.HasFocus(127)</visible>
</control>
<control type="button" id="127">
<description>Down</description>
<width>100</width>
<height>100</height>
<texturefocus>windows/filemanager/back-fo.png</texturefocus>
<texturenofocus>windows/filemanager/back-nf.png</texturenofocus>
<onup>SetFocus(120)</onup>
<ondown>Control.Message(120,moveup)</ondown>
<ondown>SetFocus(120)</ondown>
<onclick>SetFocus(150)</onclick>
<visible allowhiddenfocus="true">Control.HasFocus(127)</visible>
</control>
</control>
<!-- ** Required ** Do not change <id>or<type>-->
<control type="group">
<control type="list" id="120">
<posx>420</posx>
<posy>294</posy>
<width>1080</width>
<height>456</height>
<onleft>150</onleft>
<onright>121</onright>
<onup>126</onup>
<ondown>127</ondown>
<pagecontrol>121</pagecontrol>
<scrolltime>0</scrolltime>
<itemlayout width="1080" height="76">
<control type="image">
<posx>35</posx>
<posy>17</posy>
<width>62</width>
<height>42</height>
<texture>$INFO[ListItem.Thumb,dialogs/xbmcsubtitles/,/flag.png]</texture>
</control>
<control type="image">
<posx>93</posx>
<posy>9</posy>
<width>80</width>
<height>56</height>
<texture>dialogs/xbmcsubtitles/icon_hi.png</texture>
<visible>ListItem.property(hearing_imp)</visible>
</control>
<control type="image">
<posx>93</posx>
<posy>9</posy>
<width>121</width>
<height>56</height>
<texture>dialogs/xbmcsubtitles/icon_sync.png</texture>
<visible>ListItem.property(sync)</visible>
<animation effect="slide" end="35" time="0" condition="ListItem.property(hearing_imp)">Conditional</animation>
</control>
<control type="label">
<posx>120</posx>
<posy>0</posy>
<width>810</width>
<height>76</height>
<font>Font-Condensed-S30</font>
<textcolor>99FFFFFF</textcolor>
<info>ListItem.Label2</info>
<align>left</align>
<aligny>center</aligny>
<scroll>false</scroll>
<visible>!ListItem.property(sync) + !ListItem.property(hearing_imp)</visible>
</control>
<control type="label">
<posx>200</posx>
<posy>0</posy>
<width>730</width>
<height>76</height>
<font>Font-Condensed-S30</font>
<textcolor>99FFFFFF</textcolor>
<info>ListItem.Label2</info>
<align>left</align>
<aligny>center</aligny>
<scroll>false</scroll>
<visible>ListItem.property(sync) + !ListItem.property(hearing_imp)</visible>
</control>
<control type="label">
<posx>159</posx>
<posy>0</posy>
<width>771</width>
<height>76</height>
<font>Font-Condensed-S30</font>
<textcolor>99FFFFFF</textcolor>
<info>ListItem.Label2</info>
<align>left</align>
<aligny>center</aligny>
<scroll>false</scroll>
<visible>!ListItem.property(sync) + ListItem.property(hearing_imp)</visible>
</control>
<control type="label">
<posx>235</posx>
<posy>0</posy>
<width>695</width>
<height>76</height>
<font>Font-Condensed-S30</font>
<textcolor>99FFFFFF</textcolor>
<info>ListItem.Label2</info>
<align>left</align>
<aligny>center</aligny>
<scroll>false</scroll>
<visible>ListItem.property(sync) + ListItem.property(hearing_imp)</visible>
</control>
<control type="group">
<visible>!IntegerGreaterThan(ListItem.ActualIcon,9)</visible>
<control type="image">
<posx>930</posx>
<posy>-16</posy>
<width>105</width>
<height>105</height>
<aspect>keepaspect</aspect>
<texture>views/thumb/other/star_nofo.png</texture>
</control>
<control type="label">
<posx>1045</posx>
<posy>0</posy>
<width>100</width>
<height>76</height>
<font>Font-Condensed-S30</font>
<textcolor>99FFFFFF</textcolor>
<label>$INFO[ListItem.ActualIcon,,.0]</label>
<align>right</align>
<aligny>center</aligny>
<scroll>false</scroll>
</control>
</control>
<control type="group">
<visible>IntegerGreaterThan(ListItem.ActualIcon,9)</visible>
<control type="image">
<posx>930</posx>
<posy>-16</posy>
<width>105</width>
<height>105</height>
<aspect>keepaspect</aspect>
<texture>views/thumb/other/star_fo.png</texture>
</control>
<control type="label">
<posx>1045</posx>
<posy>0</posy>
<width>100</width>
<height>76</height>
<font>Font-Condensed-S30</font>
<textcolor>99FFFFFF</textcolor>
<label>$INFO[ListItem.ActualIcon]</label>
<align>right</align>
<aligny>center</aligny>
<scroll>false</scroll>
</control>
</control>
</itemlayout>
<focusedlayout width="1080" height="76">
<control type="image">
<posx>0</posx>
<posy>0</posy>
<width>1080</width>
<height>77</height>
<texture border="150,1,150,1">windows/settings/images/right-focus.png</texture>
<aspectratio>stretch</aspectratio>
<visible>Control.HasFocus(120)</visible>
<include>visiblehidefadeinfo</include>
</control>
<control type="image">
<posx>35</posx>
<posy>17</posy>
<width>62</width>
<height>42</height>
<texture>$INFO[ListItem.Thumb,dialogs/xbmcsubtitles/,/flag.png]</texture>
</control>
<control type="image">
<posx>93</posx>
<posy>9</posy>
<width>80</width>
<height>56</height>
<texture>dialogs/xbmcsubtitles/icon_hi.png</texture>
<visible>ListItem.property(hearing_imp)</visible>
</control>
<control type="image">
<posx>93</posx>
<posy>9</posy>
<width>121</width>
<height>56</height>
<texture>dialogs/xbmcsubtitles/icon_sync.png</texture>
<visible>ListItem.property(sync)</visible>
<animation effect="slide" end="35" time="0" condition="ListItem.property(hearing_imp)">Conditional</animation>
</control>
<control type="group">
<animation effect="fade" start="100" end="64" time="300" tween="sine" easing="inout" condition="!Control.HasFocus(120)">Conditional</animation>
<control type="label">
<posx>120</posx>
<posy>0</posy>
<width>810</width>
<height>76</height>
<font>Font-Condensed-S30</font>
<textcolor>eewhite</textcolor>
<info>ListItem.Label2</info>
<align>left</align>
<aligny>center</aligny>
<visible>!ListItem.property(sync) + !ListItem.property(hearing_imp)</visible>
</control>
<control type="label">
<posx>200</posx>
<posy>0</posy>
<width>730</width>
<height>76</height>
<font>Font-Condensed-S30</font>
<textcolor>eewhite</textcolor>
<info>ListItem.Label2</info>
<align>left</align>
<aligny>center</aligny>
<scroll>false</scroll>
<visible>ListItem.property(sync) + !ListItem.property(hearing_imp)</visible>
</control>
<control type="label">
<posx>159</posx>
<posy>0</posy>
<width>771</width>
<height>76</height>
<font>Font-Condensed-S30</font>
<textcolor>eewhite</textcolor>
<info>ListItem.Label2</info>
<align>left</align>
<aligny>center</aligny>
<scroll>false</scroll>
<visible>!ListItem.property(sync) + ListItem.property(hearing_imp)</visible>
</control>
<control type="label">
<posx>235</posx>
<posy>0</posy>
<width>695</width>
<height>76</height>
<font>Font-Condensed-S30</font>
<textcolor>eewhite</textcolor>
<info>ListItem.Label2</info>
<align>left</align>
<aligny>center</aligny>
<scroll>false</scroll>
<visible>ListItem.property(sync) + ListItem.property(hearing_imp)</visible>
</control>
<control type="group">
<visible>!IntegerGreaterThan(ListItem.ActualIcon,9)</visible>
<control type="image">
<posx>930</posx>
<posy>-16</posy>
<width>105</width>
<height>105</height>
<aspect>keepaspect</aspect>
<texture>views/thumb/other/star_nofo.png</texture>
</control>
<control type="label">
<posx>1045</posx>
<posy>0</posy>
<width>100</width>
<height>76</height>
<font>Font-Condensed-S30</font>
<textcolor>eewhite</textcolor>
<label>$INFO[ListItem.ActualIcon,,.0]</label>
<align>right</align>
<aligny>center</aligny>
<scroll>false</scroll>
</control>
</control>
<control type="group">
<visible>IntegerGreaterThan(ListItem.ActualIcon,9)</visible>
<control type="image">
<posx>930</posx>
<posy>-16</posy>
<width>105</width>
<height>105</height>
<aspect>keepaspect</aspect>
<texture>views/thumb/other/star_fo.png</texture>
</control>
<control type="label">
<posx>1045</posx>
<posy>0</posy>
<width>100</width>
<height>76</height>
<font>Font-Condensed-S30</font>
<textcolor>eewhite</textcolor>
<label>$INFO[ListItem.ActualIcon]</label>
<align>right</align>
<aligny>center</aligny>
<scroll>false</scroll>
</control>
</control>
</control>
</focusedlayout>
</control>
<control type="image" id="123">
<animation effect="fade" start="100" end="0" time="0" delay="1500">WindowOpen</animation>
</control>
<control type="image" id="122">
<animation effect="fade" start="0" end="100" time="0">Visible</animation>
<animation effect="fade" start="100" end="0" time="0">Hidden</animation>
<visible>Control.HasFocus(121) | !Control.IsVisible(123)</visible>
</control>
<control type="image" id="122">
<animation effect="fade" start="0" end="100" time="0">Visible</animation>
<animation effect="fade" start="100" end="0" time="0" delay="1500">Hidden</animation>
<visible>!Control.HasFocus(121) + [Container(120).Scrolling | Container(120).OnScrollNext | Container(120).OnScrollPrevious]</visible>
</control>
<control type="scrollbar" id="121">
<description>Scrollbar</description>
<posx>1476</posx>
<posy>304</posy>
<width>11</width>
<height>436</height>
<onleft>120</onleft>
<onright>150</onright>
<texturesliderbar border="0,6,0,6">views/other/scrollbar.png</texturesliderbar>
<texturesliderbarfocus border="0,6,0,6">views/other/scrollbar.png</texturesliderbarfocus>
<orientation>vertical</orientation>
<showonepage>false</showonepage>
<animation effect="fade" start="30" end="0" time="300" tween="sine" easing="inout" condition="!Control.IsVisible(122)">Conditional</animation>
</control>
<control type="group" id="111">
<control type="image">
<posx>435</posx>
<posy>751</posy>
<width>100</width>
<height>100</height>
<texture>dialogs/xbmcsubtitles/subtitles.png</texture>
<visible>!IsEmpty(Control.GetLabel(100)) + !Control.IsVisible(4001) + !Control.IsVisible(4002) + !Control.IsVisible(4003) + !Control.IsVisible(4004)</visible>
<include>XBMCSubtitlesShowHide</include>
<animation effect="fade" start="65" end="100" time="500" tween="sine" easing="in" pulse="true" condition="true">Conditional</animation>
</control>
</control>
<!-- Status -->
<control type="label" id="100">
<visible>false</visible>
</control>
<control type="label">
<posx>538</posx>
<posy>751</posy>
<width>918</width>
<height>100</height>
<description>notification</description>
<font>Font-Condensed-S30</font>
<textcolor>aawhite</textcolor>
<label>$INFO[Control.GetLabel(100)]</label>
<aligny>center</aligny>
<wrapmultiline>false</wrapmultiline>
<scroll>false</scroll>
<visible>!Control.IsVisible(111)</visible>
<animation effect="slide" start="0" end="-83" time="250" tween="sine" easing="inout" condition="!IsEmpty(Control.GetLabel(100)) + !Control.IsVisible(4001) + !Control.IsVisible(4002) + !Control.IsVisible(4003) + !Control.IsVisible(4004)">Conditional</animation>
</control>
<control type="label">
<posx>538</posx>
<posy>751</posy>
<width>815</width>
<height>100</height>
<description>notification</description>
<font>Font-Condensed-S30</font>
<textcolor>aawhite</textcolor>
<label>$INFO[Control.GetLabel(100)]</label>
<aligny>center</aligny>
<wrapmultiline>false</wrapmultiline>
<scroll>false</scroll>
<visible>Control.IsVisible(111)</visible>
</control>
<control type="image" id="4001">
<posx>435</posx>
<posy>751</posy>
<width>100</width>
<height>100</height>
<texture>overlays/scan/busy.png</texture>
<animation effect="fade" start="65" end="100" time="500" tween="sine" easing="in" pulse="true" condition="true">Conditional</animation>
<include>XBMCSubtitlesShowHide</include>
<visible>stringcompare(Control.GetLabel(100),$LOCALIZE[SCRIPT642]) | stringcompare(Control.GetLabel(100),$LOCALIZE[SCRIPT646])</visible>
</control>
<control type="image" id="4002">
<posx>435</posx>
<posy>751</posy>
<width>100</width>
<height>100</height>
<texture>overlays/scan/download.png</texture>
<animation effect="fade" start="65" end="100" time="500" tween="sine" easing="in" pulse="true" condition="true">Conditional</animation>
<include>XBMCSubtitlesShowHide</include>
<visible>stringcompare(Control.GetLabel(100),$LOCALIZE[SCRIPT649]) | stringcompare(Control.GetLabel(100),$LOCALIZE[SCRIPT763])</visible>
</control>
<control type="image" id="4003">
<posx>435</posx>
<posy>751</posy>
<width>100</width>
<height>100</height>
<texture>dialogs/xbmcsubtitles/error.png</texture>
<animation effect="fade" start="65" end="100" time="500" tween="sine" easing="in" pulse="true" condition="true">Conditional</animation>
<include>XBMCSubtitlesShowHide</include>
<visible>stringcompare(Control.GetLabel(100),$LOCALIZE[SCRIPT654]) | stringcompare(Control.GetLabel(100),$LOCALIZE[SCRIPT656]) | substring(Control.GetLabel(100),$LOCALIZE[SCRIPT653]) | substring(Control.GetLabel(100),Error)</visible>
</control>
<control type="image" id="4004">
<posx>435</posx>
<posy>751</posy>
<width>100</width>
<height>100</height>
<texture>dialogs/xbmcsubtitles/finished.png</texture>
<animation effect="fade" start="65" end="100" time="500" tween="sine" easing="in" pulse="true" condition="true">Conditional</animation>
<include>XBMCSubtitlesShowHide</include>
<visible>stringcompare(Control.GetLabel(100),$LOCALIZE[SCRIPT652])</visible>
</control>
<control type="label">
<posx>1465</posx>
<posy>751</posy>
<width>125</width>
<height>100</height>
<font>Font-Condensed-S30</font>
<label>$INFO[Container(120).CurrentPage]/$INFO[Container(120).NumPages]</label>
<textcolor>33FFFFFF</textcolor>
<scroll>false</scroll>
<align>right</align>
<aligny>center</aligny>
<visible>IntegerGreaterThan(Container(120).NumPages,1)</visible>
</control>
<control type="label" id="300">
<description>textarea</description>
<visible>false</visible>
</control>
<control type="label" id="301">
<description>textarea</description>
<visible>false</visible>
</control>
</control>
</control>
<control type="image" id="128">
<visible>Control.HasFocus(150) | Window.IsVisible(addonsettings)</visible>
<animation effect="fade" end="0" time="0" delay="400">Hidden</animation>
</control>
<control type="group">
<include>FullscreenDimensions</include>
<animation effect="slide" start="0,0" end="0,-1080" time="0" condition="!Control.IsVisible(128)" reversible="false">Conditional</animation>
<animation effect="slide" start="0,-1080" end="0,0" time="0" condition="Control.IsVisible(128)" reversible="false">Conditional</animation>
<animation type="Conditional" condition="Control.HasFocus(150) | Window.IsVisible(addonsettings)">
<effect type="rotatey" start="180" end="0" center="960,0" time="300" tween="sine" easing="inout" />
<effect type="fade" start="0" end="100" time="0" delay="150" />
</animation>
<control type="image">
<include>FullscreenDimensions</include>
<texture>dialogs/xbmcsubtitles/settings.png</texture>
<aspectratio>stretch</aspectratio>
</control>
<control type="label">
<description>Settings</description>
<posx>785</posx>
<posy>243</posy>
<width>350</width>
<height>34</height>
<align>center</align>
<label>$LOCALIZE[SCRIPT760]</label>
<font>Font-Condensed-S34</font>
<textcolor>bbwhite</textcolor>
66000000
</control>
<control type="list" id="150">
<posx>771</posx>
<posy>294</posy>
<width>378</width>
<height>532</height>
<onleft>120</onleft>
<onright>120</onright>
<onup>150</onup>
<ondown>150</ondown>
<scrolltime>0</scrolltime>
<itemlayout width="378" height="76">
<control type="label">
<posx>35</posx>
<posy>0</posy>
<width>318</width>
<height>76</height>
<font>Font-Condensed-S30</font>
<textcolor>96FFFFFF</textcolor>
<info>ListItem.Label</info>
<align>left</align>
<aligny>center</aligny>
<scroll>false</scroll>
<visible>!ListItem.Property(man)</visible>
</control>
<control type="label">
<posx>35</posx>
<posy>0</posy>
<width>318</width>
<height>76</height>
<font>Font-Condensed-S25</font>
<textcolor>96FFFFFF</textcolor>
<info>ListItem.Label</info>
<align>left</align>
<aligny>center</aligny>
<scroll>false</scroll>
<visible>ListItem.Property(man)</visible>
</control>
</itemlayout>
<focusedlayout width="378" height="76">
<control type="image">
<posx>0</posx>
<posy>0</posy>
<width>378</width>
<height>77</height>
<texture border="150,1,150,1">windows/settings/images/right-focus.png</texture>
<aspectratio>stretch</aspectratio>
</control>
<control type="label">
<posx>35</posx>
<posy>0</posy>
<width>318</width>
<height>76</height>
<font>Font-Condensed-S30</font>
<textcolor>white</textcolor>
<info>ListItem.Label</info>
<align>left</align>
<aligny>center</aligny>
<scroll>false</scroll>
<visible>!ListItem.Property(man)</visible>
</control>
<control type="label">
<posx>35</posx>
<posy>0</posy>
<width>318</width>
<height>76</height>
<font>Font-Condensed-S25</font>
<textcolor>white</textcolor>
<info>ListItem.Label</info>
<align>left</align>
<aligny>center</aligny>
<scroll>false</scroll>
<visible>ListItem.Property(man)</visible>
</control>
</focusedlayout>
</control>
</control>
</control>
</controls>
</window>
You also need to have one (or more) of the new subtitle plugins installed and set up.
Fixing Subtitles: Part 2 OSD Dialogue
Files: VideoOSD.xml
(2014-03-10, 21:24)ursli Wrote: Change VideoOSD.xml on line 74
From:
Code:<onclick>XBMC.RunScript($INFO[Skin.String(SubtitleScript_Path)])</onclick>
<altclick>Skin.SetAddon(SubtitleScript_Path,xbmc.python.subtitles)</altclick>
<altclick>XBMC.RunScript($INFO[Skin.String(SubtitleScript_Path)])</altclick>
<usealttexture>IsEmpty(Skin.String(SubtitleScript_Path))</usealttexture>
To:
Code:<onclick>ActivateWindow(SubtitleSearch)</onclick>
<usealttexture>IsEmpty(Skin.String(SubtitleScript_Path))</usealttexture>
Fix flag icons
Files: DialogSubtitles.xml
(2014-05-30, 23:53)pizzaboy75 Wrote: change this (2 times)
Code:<texture>$INFO[ListItem.Thumb,dialogs/xbmcsubtitles/,/flag.png]</texture>
to this
Code:<texture>dialogs/xbmcsubtitles/flags/$INFO[ListItem.Thumb].gif/flag.png</texture>