Skin engine bug

Discussion in '1.3.x' started by ajs, June 7, 2013.

  1. ajs
    • Team MediaPortal

    ajs Development Group

    Joined:
    February 29, 2008
    Messages:
    8,701
    Likes Received:
    2,688
    Gender:
    Male
    Occupation:
    IT
    Location:
    Kyiv
    Ratings:
    +4,652 / 30
    Home Country:
    Ukraine Ukraine
    Show System Specs
    MediaPortal Version: 1.3.0

    Description
    Not working properly skins engine. The files skins videoFullScreen.xml, videoOSD.xml (Titan skin) containing the proposed code below:
    Code (Text):
    1.  <control>
    2.         <description>Movie Name</description>
    3.         <id>36</id>
    4.         <type>fadelabel</type>
    5.         <width>925</width>
    6.         <height>24</height>
    7.         <posX>484</posX>
    8.         <posY>74</posY>
    9.         <font>fontB20</font>
    10.         <label>string.trim(#Play.Current.Title)</label>
    11.     </control>
    12.     <control>
    13.         <description>Movie Name</description>
    14.         <id>36</id>
    15.         <type>fadelabel</type>
    16.         <width>925</width>
    17.         <height>24</height>
    18.         <posX>484</posX>
    19.         <posY>174</posY>
    20.         <font>fontB20</font>
    21.         <label>string.trim(#MovingPictures.SelectedMovie.title)</label>
    22.     </control>
    23.     <control>
    24.         <description>Movie Name</description>
    25.         <id>37</id>
    26.         <type>fadelabel</type>
    27.         <width>925</width>
    28.         <height>24</height>
    29.         <posX>484</posX>
    30.         <posY>274</posY>
    31.         <font>fontB20</font>
    32.         <label>!!!</label>
    33.         <visible>string.equals(#Play.Current.Title,#MovingPictures.SelectedMovie.title)</visible>
    34.     </control>
    35.     <control>
    36.         <description>Movie Name</description>
    37.         <id>38</id>
    38.         <type>fadelabel</type>
    39.         <width>925</width>
    40.         <height>24</height>
    41.         <posX>484</posX>
    42.         <posY>374</posY>
    43.         <font>fontB20</font>
    44.         <label>!!!-!!!</label>
    45.         <visible>string.contains(#Play.Current.Title,#MovingPictures.SelectedMovie.title)</visible>
    46.     </control>
    Displays control 37.38 always, and so does not understand the code string.trim, as described in the wiki.
    PS:
    If #Play.Current.Title = #MovingPictures.SelectedMovie.title Then Control 37 - Visible
    If #Play.Current.Title <> #MovingPictures.SelectedMovie.title Then Control 37 - InVisible
    18-44-47.png 18-46-28.png
    Here in the code was only 37 control (Containing the text !!!-!!!):
    15-55-30.png

    Steps to Reproduce:
    When viewing the information on the video when playing, in the skins Titan, should be the files videoFullScreen.xml, videoOSD.xml containing the above described code.


     
    Last edited: June 7, 2013
  2. Google AdSense Guest Advertisement



    to hide all adverts.
  3. kiwijunglist
    • Team MediaPortal

    kiwijunglist Super Moderator

    Joined:
    June 10, 2008
    Messages:
    6,742
    Likes Received:
    1,417
    Occupation:
    Doctor
    Location:
    New Zealand
    Ratings:
    +1,846 / 9
    Home Country:
    New Zealand New Zealand
    Show System Specs
    Bug:
    Problem with string.equals() and eq() skin expressions.

    Description:
    In videoosd.xml, String.equals() incorrectly returns false and eq() incorrectly returns true

    Example:

    Code (Text):
    1.  
    2.         <label>Compared with string.equals and found to be same</label>
    3.         <visible>string.equals(#Play.Current.Title, #MovingPictures.SelectedMovie.title)</visible>
    4.  
    5.         <label>Compared with eq and found to be same</label>
    6.         <visible>eq(#Play.Current.Title, #MovingPictures.SelectedMovie.title)</visible>
    7.  
    Full XML (attached)
    Show Spoiler
    Code (Text):
    1. <?xml version="1.0" encoding="utf-8" standalone="yes"?>
    2. <window>
    3. <id>2901</id>
    4. <defaultcontrol>995</defaultcontrol>
    5. <allowoverlay>no</allowoverlay>
    6. <controls>
    7.  
    8. <control>
    9.         <id>36</id>
    10.         <type>fadelabel</type>
    11.         <width>925</width>
    12.         <height>24</height>
    13.         <posX>184</posX>
    14.         <posY>74</posY>
    15.         <font>font10</font>
    16.         <label>[Play.Current.Title: #Play.Current.Title]</label>
    17.     </control>
    18.     <control>
    19.         <description>Movie Name</description>
    20.         <id>36</id>
    21.         <type>fadelabel</type>
    22.         <width>925</width>
    23.         <height>24</height>
    24.         <posX>184</posX>
    25.         <posY>174</posY>
    26.         <font>font10</font>
    27.         <label>[MovingPictures.SelectedMovie.Title: #MovingPictures.SelectedMovie.title]</label>
    28.     </control>
    29.     <control>
    30.         <description>Movie Name</description>
    31.         <id>37</id>
    32.         <type>fadelabel</type>
    33.         <width>925</width>
    34.         <height>24</height>
    35.         <posX>184</posX>
    36.         <posY>274</posY>
    37.         <font>font10</font>
    38.         <label>The next lines should only be visible if the two strings above are equal</label>
    39.             </control>
    40.     <control>
    41.         <description>Movie Name</description>
    42.         <id>4547</id>
    43.         <type>fadelabel</type>
    44.         <width>925</width>
    45.         <height>24</height>
    46.         <posX>184</posX>
    47.         <posY>304</posY>
    48.         <font>font10</font>
    49.         <label>Compared with string.equals and found to be same</label>
    50.         <visible>string.equals(#Play.Current.Title, #MovingPictures.SelectedMovie.title)</visible>
    51.     </control>
    52.  
    53. <control>
    54.         <description>Movie Name</description>
    55.         <id>4548</id>
    56.         <type>fadelabel</type>
    57.         <width>925</width>
    58.         <height>24</height>
    59.         <posX>184</posX>
    60.         <posY>374</posY>
    61.         <font>font10</font>
    62.         <label>Compared with eq and found to be same</label>
    63.         <visible>eq(#Play.Current.Title, #MovingPictures.SelectedMovie.title)</visible>
    64.     </control>
    65.  
    66.  
    67.  
    68.  
    69.  
    70.  
    71. <!-- -->
    72.  
    73.  
    74. <control>
    75.     <description>background image (not used!)</description>
    76.       <type>button</type>
    77.       <id>996</id>
    78.       <posX>2180</posX>
    79.       <posY>628</posY>
    80.       <width>20</width>
    81.       <height>20</height>
    82.       <onup>996</onup>
    83.       <ondown>996</ondown>
    84.       <onleft>996</onleft>
    85.       <onright>996</onright>
    86.     </control>
    87.  
    88. <control>
    89. <description>Info button DUMMY</description>
    90. <posY>888</posY>
    91. <posX>-2000</posX>
    92. <type>button</type>
    93. <id>998</id>
    94. <label>-</label>
    95. <textureFocus>osd_info_button_focus.png</textureFocus>
    96. <textureNoFocus>osd_info_button_nofocus.png</textureNoFocus>
    97. <onup>998</onup>
    98. <ondown>998</ondown>
    99. <onright>218</onright>
    100. <onleft>995</onleft>
    101. <width>43</width>
    102. <height>43</height>
    103. </control>
    104.  
    105. <control>
    106. <description>background top</description>
    107. <type>image</type>
    108. <id>0</id>
    109.     <posX>183</posX>
    110.     <posY>706</posY>
    111.     <width>1553</width>
    112.     <height>352</height>
    113.     <texture>osd_bg.png</texture>
    114. </control>
    115.  
    116.     <control>
    117.     <description>clock bg</description>
    118.     <type>image</type>
    119.     <id>0</id>
    120.     <posX>1481</posX>
    121.     <posY>779</posY>
    122.     <width>187</width>
    123.     <height>88</height>
    124.     <texture>osd_clock_bg.png</texture>
    125.     </control>
    126.  
    127. <control>
    128. <description>Series thumb</description>
    129. <type>image</type>
    130. <id>0</id>
    131.     <posX>275</posX>
    132.     <posY>765</posY>
    133.     <width>166</width>
    134.     <height>242</height>
    135. <texture>#TVSeries.SeriesPoster</texture>
    136. <keepaspectratio>yes</keepaspectratio>
    137. <centered>yes</centered>
    138.       <align>center</align>
    139. <zoom>no</zoom>
    140. <valign>top</valign>
    141. <visible>!string.equals(#TVSeries.Episode.SeriesName,)</visible>
    142. </control>
    143.  
    144. <control>
    145. <description>Movie thumb</description>
    146. <type>image</type>
    147. <id>102</id>
    148.     <posX>275</posX>
    149.     <posY>765</posY>
    150.     <width>166</width>
    151.     <height>242</height>
    152. <texture>#Play.Current.Thumb</texture>
    153. <keepaspectratio>yes</keepaspectratio>
    154. <centered>yes</centered>
    155.       <align>center</align>
    156. <zoom>no</zoom>
    157. <valign>top</valign>
    158. </control>
    159.  
    160. <control>
    161. <description>Movie Name</description>
    162. <id>36</id>
    163.     <type>fadelabel</type>
    164.     <width>925</width>
    165.     <height>24</height>
    166.     <posX>484</posX>
    167.     <posY>774</posY>
    168.     <font>fontB20</font>
    169.     <label>#Play.Current.Title</label>
    170. </control>
    171.  
    172. <control>
    173. <description>Year/Genre Info</description>
    174. <id>0</id>
    175.     <type>fadelabel</type>
    176.     <width>940</width>
    177.     <posX>484</posX>
    178.     <posY>835</posY>
    179.     <font>TitanLight14</font>
    180.     <textcolor>ff6b6b6b</textcolor>
    181. <label>#Play.Current.Genre - #Play.Current.Year</label>
    182. </control>
    183.  
    184.     <control>
    185.     <type>label</type>
    186.     <id>1</id>
    187.     <description>Clock</description>
    188.     <posX>1500</posX>
    189.     <posY>828</posY>
    190.     <width>144</width>
    191.     <font>TitanLight14</font>
    192.     <align>center</align>
    193.     <label>#time</label>
    194.     <textcolor>ff987e60</textcolor>
    195.     </control>
    196.  
    197.  
    198.     <control>
    199.     <description>pause button</description>
    200.     <type>image</type>
    201.     <id>1</id>
    202.     <posX>856</posX>
    203.     <posY>295</posY>
    204.     <width>209</width>
    205.     <height>221</height>
    206.     <texture>osd_pause.png</texture>
    207.       <visible>player.paused</visible>
    208.     </control>
    209.  
    210. <control>
    211. <description>Plot</description>
    212. <type>textboxscrollup</type>
    213. <id>1</id>
    214.     <posX>497</posX>
    215.     <posY>168</posY>
    216.     <width>1120</width>
    217.     <height>500</height>
    218.     <font>TitanLight16</font>
    219.     <textcolor>ff393939</textcolor>
    220. <label>#Play.Current.Plot</label>
    221. <seperator>--------------------------------------------------------------------------------------------------------------------------------------------------------------</seperator>
    222. <visible>Control.HasFocus(998)</visible>
    223. </control>
    224.  
    225.     <control>
    226.     <description>progressbar bg</description>
    227.     <type>image</type>
    228.     <id>0</id>
    229.     <posX>588</posX>
    230.     <posY>907</posY>
    231.     <width>737</width>
    232.     <height>18</height>
    233.     <texture>osd_progress_bg.png</texture>
    234.     </control>
    235.  
    236. <control>
    237. <description>Progress Bar</description>
    238. <type>progress</type>
    239. <id>105</id>
    240.     <posX>578</posX>
    241.     <posY>909</posY>
    242.     <width>758</width>
    243.     <height>15</height>
    244.     <label>#percentage</label>
    245.     <lefttexture>osd_progress_left.png</lefttexture>
    246.     <midtexture>osd_progress_mid.png</midtexture>
    247.     <righttexture>osd_progress_right.png</righttexture>
    248. <label>#percentage</label>
    249. </control>
    250.  
    251. <control>
    252. <description>Remaining time</description>
    253. <type>label</type>
    254. <id>102</id>
    255.     <posX>1435</posX>
    256.     <posY>899</posY>
    257.     <label>#currentremaining</label>
    258.     <align>right</align>
    259.     <font>font11</font>
    260.       <textcolor>ff987e60</textcolor>
    261. </control>
    262.  
    263. <control>
    264. <description>Start Time Info</description>
    265. <type>label</type>
    266. <id>101</id>
    267.     <posX>484</posX>
    268.     <posY>899</posY>
    269.     <label>#currentplaytime</label>
    270.     <align>left</align>
    271.     <font>font11</font>
    272.       <textcolor>ff987e60</textcolor>
    273. </control>
    274.  
    275. <include>videoOSD.mediainfo.xml</include>
    276.  
    277. <control>
    278. <description>Info bg</description>
    279. <type>image</type>
    280. <id>0</id>
    281. <posX>165</posX>
    282. <posY>21</posY>
    283. <width>1590</width>
    284. <height>764</height>
    285. <texture>osd_top_bg.png</texture>
    286. <visible>Control.HasFocus(998)</visible>
    287. </control>
    288.  
    289. <control>
    290. <description>osd logo info</description>
    291. <type>image</type>
    292. <id>0</id>
    293. <posX>257</posX>
    294. <posY>169</posY>
    295. <width>187</width>
    296. <height>127</height>
    297. <texture>osd_logo_info.png</texture>
    298. <visible>Control.HasFocus(998)</visible>
    299. </control>
    300.  
    301. <control>
    302. <description>Settings bg</description>
    303. <type>image</type>
    304. <id>0</id>
    305. <posX>165</posX>
    306. <posY>383</posY>
    307. <width>1590</width>
    308. <height>402</height>
    309. <texture>osd_top_bg_settings.png</texture>
    310. <visible>Control.IsVisible(501) | Control.IsVisible(801) | Control.IsVisible(750)</visible>
    311. </control>
    312.  
    313. <control>
    314. <description>Subtitles Menu</description>
    315. <type>checkbutton</type>
    316. <id>218</id>
    317. <posY>888</posY>
    318. <posX>1555</posX>
    319. <width>47</width>
    320. <height>47</height>
    321.       <markHeight>47</markHeight>
    322.       <markWidth>47</markWidth>
    323.       <markalign>left</markalign>
    324.       <markXOff>0</markXOff>
    325.       <markYOff>0</markYOff>
    326.       <textureFocus>osd_sub_button_focus.png</textureFocus>
    327.       <textureNoFocus>osd_sub_button_nofocus.png</textureNoFocus>
    328.       <textureCheckmark>osd_sub_button_focus.png</textureCheckmark>
    329.       <textureCheckmarkNoFocus>osd_sub_button_nofocus.png</textureCheckmarkNoFocus>
    330. <label>-</label>
    331. <font>-</font>
    332. <onleft>995</onleft>
    333. <onright>221</onright>
    334. <onup>218</onup>
    335. <ondown>218</ondown>
    336. </control>
    337.  
    338. <control>
    339. <description>Audio Menu</description>
    340. <type>checkbutton</type>
    341. <id>221</id>
    342. <posY>887</posY>
    343. <posX>1618</posX>
    344. <width>47</width>
    345. <height>47</height>
    346. <onleft>218</onleft>
    347. <onright>995</onright>
    348. <ondown>221</ondown>
    349. <onup>221</onup>
    350.       <markHeight>47</markHeight>
    351.       <markWidth>47</markWidth>
    352.       <markalign>left</markalign>
    353.       <markXOff>0</markXOff>
    354.       <markYOff>0</markYOff>
    355.       <textureFocus>osd_audio_button_focus.png</textureFocus>
    356.       <textureNoFocus>osd_audio_button_nofocus.png</textureNoFocus>
    357.       <textureCheckmark>osd_audio_button_focus.png</textureCheckmark>
    358.       <textureCheckmarkNoFocus>osd_audio_button_nofocus.png</textureCheckmarkNoFocus>
    359. <label>-</label>
    360. <font>-</font>
    361. </control>
    362.  
    363. <control>
    364. <description>Video Menu</description>
    365.   <type>checkbutton</type>
    366.   <id>220</id>
    367. <posY>888</posY>
    368. <posX>-2000</posX>
    369. <width>47</width>
    370. <height>47</height>
    371.       <markHeight>47</markHeight>
    372.       <markWidth>47</markWidth>
    373.       <markalign>left</markalign>
    374.       <markXOff>0</markXOff>
    375.       <markYOff>0</markYOff>
    376.       <textureFocus>osd_video_button_focus.png</textureFocus>
    377.       <textureNoFocus>osd_video_button_nofocus.png</textureNoFocus>
    378.       <textureCheckmark>osd_video_button_focus.png</textureCheckmark>
    379.       <textureCheckmarkNoFocus>osd_video_button_nofocus.png</textureCheckmarkNoFocus>
    380.   <label>-</label>
    381.   <font>-</font>
    382.   <onleft>995</onleft>
    383.   <onright>221</onright>
    384.   <onup>220</onup>
    385.   <ondown>220</ondown>
    386. </control>
    387.  
    388. <control>
    389. <description>Info button</description>
    390. <posY>887</posY>
    391. <posX>1498</posX>
    392. <type>button</type>
    393. <id>995</id>
    394. <label>-</label>
    395. <textureFocus>osd_info_button_focus.png</textureFocus>
    396. <textureNoFocus>osd_info_button_nofocus.png</textureNoFocus>
    397. <onup>995</onup>
    398. <ondown>995</ondown>
    399. <onright>218</onright>
    400. <onclick>#(skin.setfocus(2901,998))</onclick>
    401. <onleft>221</onleft>
    402.       <width>32</width>
    403.       <height>48</height>
    404. </control>
    405.  
    406. <control>
    407.   <description>Sub Menu Background (subtitles)</description>
    408.   <type>image</type>
    409.   <id>302</id>
    410.   <posX>20</posX>
    411.   <posY>-2000</posY>
    412.   <width>223</width>
    413.   <height>219</height>
    414.   <texture>-</texture>
    415.   <visible>no</visible>
    416. </control>
    417.  
    418. <control>
    419. <description>settings label bg</description>
    420. <type>image</type>
    421. <id>0</id>
    422. <posX>856</posX>
    423. <posY>485</posY>
    424. <width>738</width>
    425. <height>58</height>
    426. <texture>osd_settings_label_bg.png</texture>
    427. <visible>Control.IsVisible(801) | Control.IsVisible(500)</visible>
    428. </control>
    429.  
    430. <control>
    431.   <description>Bookmarks Menu</description>
    432.   <type>checkbutton</type>
    433.   <id>219</id>
    434.   <posX>-2000</posX>
    435.   <posY>537</posY>
    436.   <width>62</width>
    437.   <height>43</height>
    438.       <textureFocus>-</textureFocus>
    439.       <textureNoFocus>-</textureNoFocus>
    440.       <textureCheckmark>-</textureCheckmark>
    441.       <textureCheckmarkNoFocus>-</textureCheckmarkNoFocus>
    442.   <label>-</label>
    443.   <font>-</font>
    444.   <onleft>213</onleft>
    445.   <onright>218</onright>
    446.   <onup>215</onup>
    447.   <ondown>214</ondown>
    448.   <visible>no</visible>
    449. </control>
    450.  
    451. <control>
    452.   <description>Sub Menu Background (volume)</description>
    453.   <type>image</type>
    454.   <id>300</id>
    455.   <posX>782</posX>
    456.   <posY>-2000</posY>
    457.   <width>462</width>
    458.   <height>287</height>
    459.   <texture>-</texture>
    460.   <visible>no</visible>
    461. </control>
    462.  
    463. <control>
    464.   <description>Sub Menu Background (subtitles)</description>
    465.   <type>image</type>
    466.   <id>302</id>
    467.   <posX>782</posX>
    468.   <posY>-2000</posY>
    469.   <width>462</width>
    470.   <height>287</height>
    471.   <texture>-</texture>
    472.   <visible>no</visible>
    473. </control>
    474.  
    475. <control>
    476.   <description>Sub Menu Background (bookmarks)</description>
    477.   <type>image</type>
    478.   <id>303</id>
    479.   <posX>782</posX>
    480.   <posY>-2000</posY>
    481.   <width>462</width>
    482.   <height>287</height>
    483.   <texture>-</texture>
    484.   <visible>no</visible>
    485. </control>
    486.  
    487. <control>
    488.   <description>Sub Menu Background (video)</description>
    489.   <type>image</type>
    490.   <id>304</id>
    491.   <posX>782</posX>
    492.   <posY>-2000</posY>
    493.   <width>462</width>
    494.   <height>287</height>
    495.   <texture>-</texture>
    496.   <visible>no</visible>
    497. </control>
    498.  
    499. <control>
    500.   <description>Sub Menu Background (audio)</description>
    501.   <type>image</type>
    502.   <id>305</id>
    503.   <posX>782</posX>
    504.   <posY>-2000</posY>
    505.   <width>462</width>
    506.   <height>287</height>
    507.   <texture>-</texture>
    508.   <visible>no</visible>
    509. </control>
    510.  
    511. <control>
    512.   <description>Sub Menu Nib</description>
    513.   <type>image</type>
    514.   <id>350</id>
    515.   <texture>-</texture>
    516.   <visible>no</visible>
    517. </control>
    518.  
    519.     <control>
    520.       <description>Video Position label</description>
    521.       <type>label</type>
    522.       <id>750</id>
    523.       <posX>399</posX>
    524.       <posY>464</posY>
    525. <align>left</align>
    526.       <label>Video Position</label>
    527.       <visible>no</visible>
    528. <font>TitanLight12</font>
    529. <textcolor>ff393939</textcolor>
    530.     </control>
    531.  
    532.     <control>
    533.       <description>Video Position Slider</description>
    534.       <type>slider</type>
    535.       <id>700</id>
    536.       <posX>666</posX>
    537.       <posY>459</posY>
    538.       <spintype>float</spintype>
    539.       <showrange>no</showrange>
    540.       <textureSliderBar>osd_slider_bg.png</textureSliderBar>
    541.       <textureSliderNib>osd_slider_nibNF.png</textureSliderNib>
    542.       <textureSliderNibFocus>osd_slider_nibFO.png</textureSliderNibFocus>
    543.       <onup>703</onup>
    544.       <ondown>704</ondown>
    545.       <onleft>700</onleft>
    546.       <onright>700</onright>
    547.       <visible>no</visible>
    548.     </control>
    549.  
    550.     <control>
    551.       <description>Non-Interleaved Checkbox</description>
    552.       <type>checkmark</type>
    553.       <id>701</id>
    554.       <posX>323</posX>
    555.       <posY>246</posY>
    556.       <label>306</label>
    557.       <onup>706</onup>
    558.       <ondown>702</ondown>
    559.       <onleft>701</onleft>
    560.       <onright>701</onright>
    561.       <visible>no</visible>
    562.     </control>
    563.  
    564.     <control>
    565.       <description>No Cache Checkbox</description>
    566.       <type>checkmark</type>
    567.       <id>702</id>
    568.       <posX>323</posX>
    569.       <posY>299</posY>
    570.       <label>431</label>
    571.       <onup>701</onup>
    572.       <ondown>703</ondown>
    573.       <onleft>702</onleft>
    574.       <onright>702</onright>
    575.       <visible>no</visible>
    576.     </control>
    577.  
    578.     <control>
    579.       <description>Adjust Framerate Checkbox</description>
    580.       <type>checkmark</type>
    581.       <id>703</id>
    582.       <posX>323</posX>
    583.       <posY>346</posY>
    584.       <label>343</label>
    585.       <onup>702</onup>
    586.       <ondown>700</ondown>
    587.       <onleft>703</onleft>
    588.       <onright>703</onright>
    589.       <visible>no</visible>
    590.     </control>
    591.  
    592.     <control>
    593.       <description>brightness label</description>
    594.       <type>label</type>
    595.       <id>752</id>
    596.       <posX>399</posX>
    597.       <posY>519</posY>
    598.       <label>464</label>
    599. <font>TitanLight12</font>
    600. <textcolor>ff393939</textcolor>
    601.       <visible>no</visible>
    602.     </control>
    603.  
    604.     <control>
    605.       <description>brightness</description>
    606.       <type>slider</type>
    607.       <id>704</id>
    608.       <posX>666</posX>
    609.       <posY>514</posY>
    610.       <spintype>float</spintype>
    611.       <showrange>no</showrange>
    612.       <textureSliderBar>osd_slider_bg.png</textureSliderBar>
    613.       <textureSliderNib>osd_slider_nibNF.png</textureSliderNib>
    614.       <textureSliderNibFocus>osd_slider_nibFO.png</textureSliderNibFocus>
    615.       <onup>700</onup>
    616.       <ondown>705</ondown>
    617.       <onleft>704</onleft>
    618.       <onright>704</onright>
    619.       <visible>no</visible>
    620.     </control>
    621.  
    622.     <control>
    623.       <description>contrast label</description>
    624.       <type>label</type>
    625.       <id>753</id>
    626.       <posX>399</posX>
    627.       <posY>579</posY>
    628.       <label>465</label>
    629. <font>TitanLight12</font>
    630. <textcolor>ff393939</textcolor>
    631.       <visible>no</visible>
    632.     </control>
    633.  
    634.     <control>
    635.       <description>contrast</description>
    636.       <type>slider</type>
    637.       <id>705</id>
    638.       <posX>666</posX>
    639.       <posY>574</posY>
    640.       <spintype>float</spintype>
    641.       <showrange>no</showrange>
    642.       <textureSliderBar>osd_slider_bg.png</textureSliderBar>
    643.       <textureSliderNib>osd_slider_nibNF.png</textureSliderNib>
    644.       <textureSliderNibFocus>osd_slider_nibFO.png</textureSliderNibFocus>
    645.       <onup>704</onup>
    646.       <ondown>706</ondown>
    647.       <onleft>705</onleft>
    648.       <onright>705</onright>
    649.       <visible>no</visible>
    650.     </control>
    651.  
    652.     <control>
    653.       <description>gamma label</description>
    654.       <type>label</type>
    655.       <id>754</id>
    656.       <posX>399</posX>
    657.       <posY>638</posY>
    658.       <label>466</label>
    659. <font>TitanLight12</font>
    660. <textcolor>ff393939</textcolor>
    661.       <visible>no</visible>
    662.     </control>
    663.  
    664.     <control>
    665.       <description>gamma</description>
    666.       <type>slider</type>
    667.       <id>706</id>
    668.       <posX>666</posX>
    669.       <posY>634</posY>
    670.       <spintype>float</spintype>
    671.       <showrange>no</showrange>
    672.       <textureSliderBar>osd_slider_bg.png</textureSliderBar>
    673.       <textureSliderNib>osd_slider_nibNF.png</textureSliderNib>
    674.       <textureSliderNibFocus>osd_slider_nibFO.png</textureSliderNibFocus>
    675.       <onup>705</onup>
    676.       <ondown>220</ondown>
    677.       <onleft>706</onleft>
    678.       <onright>706</onright>
    679.       <visible>no</visible>
    680.     </control>
    681.  
    682.     <control>
    683.       <description>Create Bookmark</description>
    684.       <type>button</type>
    685.       <id>600</id>
    686.       <posX>328</posX>
    687.       <posY>462</posY>
    688.       <width>293</width>
    689.       <textureFocus>button_green_focus_165x32.png</textureFocus>
    690.       <textureNoFocus>button_green_nofocus_165x32.png</textureNoFocus>
    691.       <label>294</label>
    692.       <font>font12</font>
    693.       <colordiffuse>ffffffff</colordiffuse>
    694.       <onleft>600</onleft>
    695.       <onright>602</onright>
    696.       <onup>600</onup>
    697.       <ondown>601</ondown>
    698.       <visible>no</visible>
    699.     </control>
    700.  
    701.     <control>
    702.       <description>Clear Bookmarks</description>
    703.       <type>button</type>
    704.       <id>602</id>
    705.       <posX>666</posX>
    706.       <posY>462</posY>
    707.       <width>293</width>
    708.       <textureFocus>button_green_focus_165x32.png</textureFocus>
    709.       <textureNoFocus>button_green_nofocus_165x32.png</textureNoFocus>
    710.       <label>296</label>
    711.       <font>font12</font>
    712.       <colordiffuse>ffffffff</colordiffuse>
    713.       <onleft>600</onleft>
    714.       <onright>601</onright>
    715.       <onup>600</onup>
    716.       <ondown>601</ondown>
    717.       <visible>no</visible>
    718.     </control>
    719.  
    720.     <control>
    721.       <description>Bookmarks List Control</description>
    722.       <type>listcontrol</type>
    723.       <id>601</id>
    724.       <posX>328</posX>
    725.       <posY>512</posY>
    726.       <width>631</width>
    727.       <height>150</height>
    728.       <onleft>602</onleft>
    729.       <onright>600</onright>
    730.       <onup>600</onup>
    731.       <ondown>601</ondown>
    732.       <spinPosX>826</spinPosX>
    733.       <spinPosY>600</spinPosY>
    734.       <visible>no</visible>
    735.     </control>
    736.  
    737.     <import>videoOSD.SubtitlesMenu.xml</import>
    738.     <import>videoOSD.AudioMenu.xml</import>
    739.  
    740. </controls>
    741. </window>
    742.  


    Play.current.title =/= Moving.Pictures.SelectedMovie.Title

    bug01.jpg


    Play.current.title = Moving.Pictures.SelectedMovie.Title

    bug02.jpg

    Play.current.title =/= Moving.Pictures.SelectedMovie.Title

    bug03.jpg
     

    Attached Files:

    • videoOSD.xml
      File size:
      20 KB
      Uploaded:
      June 7, 2013
      Views:
      171
    Last edited: June 7, 2013
    • Informative Informative x 1
  4. ajs
    • Team MediaPortal

    ajs Development Group

    Joined:
    February 29, 2008
    Messages:
    8,701
    Likes Received:
    2,688
    Gender:
    Male
    Occupation:
    IT
    Location:
    Kyiv
    Ratings:
    +4,652 / 30
    Home Country:
    Ukraine Ukraine
    Show System Specs
    The same problem and string.contains, And does not work string.trim
     
    Last edited: June 7, 2013
    • Agree Agree x 1
  5. ysmp
    • Team MediaPortal

    ysmp Design Group

    Joined:
    May 17, 2008
    Messages:
    1,861
    Likes Received:
    701
    Gender:
    Male
    Location:
    Seoul.
    Ratings:
    +790 / 1
    Home Country:
    South Korea South Korea
    can i ask 1 qustion ? :)
    is it use to work before ?
    from my expirance in the pass , if ID ,suddenly not view ... is because this ID number use in other xml file ...

    so if this 2 id's use to work before , need to look where the same id use with the xml that you are view ... it can be even totaly defrent xml if use as <import ....> to this main xml ...

    the best thing is to test with DW skin + the pluging DW skin for first ... if is view o.k with DW skin then is Titan skin issue ...or a mode that have bin add.
     
  6. kiwijunglist
    • Team MediaPortal

    kiwijunglist Super Moderator

    Joined:
    June 10, 2008
    Messages:
    6,742
    Likes Received:
    1,417
    Occupation:
    Doctor
    Location:
    New Zealand
    Ratings:
    +1,846 / 9
    Home Country:
    New Zealand New Zealand
    Show System Specs
    I already tried different ID#s
     
    • Agree Agree x 1
  7. ajs
    • Team MediaPortal

    ajs Development Group

    Joined:
    February 29, 2008
    Messages:
    8,701
    Likes Received:
    2,688
    Gender:
    Male
    Occupation:
    IT
    Location:
    Kyiv
    Ratings:
    +4,652 / 30
    Home Country:
    Ukraine Ukraine
    Show System Specs
    The same in 1.4
     

    Attached Files:

    • 15-15-16.png
      15-15-16.png
      File size:
      2.2 MB
      Uploaded:
      June 19, 2013
      Views:
      154
  8. mbuzina
    • Premium Supporter

    mbuzina Retired Team Member

    Joined:
    April 11, 2005
    Messages:
    2,839
    Likes Received:
    627
    Location:
    Germany
    Ratings:
    +723 / 4
    Home Country:
    Germany Germany
    Show System Specs
    I can confirm, have the same issue & posted a bug report. Will put this into mantis tomorrow.
     
    • Like Like x 1
  9. mbuzina
    • Premium Supporter

    mbuzina Retired Team Member

    Joined:
    April 11, 2005
    Messages:
    2,839
    Likes Received:
    627
    Location:
    Germany
    Ratings:
    +723 / 4
    Home Country:
    Germany Germany
    Show System Specs
  10. mbuzina
    • Premium Supporter

    mbuzina Retired Team Member

    Joined:
    April 11, 2005
    Messages:
    2,839
    Likes Received:
    627
    Location:
    Germany
    Ratings:
    +723 / 4
    Home Country:
    Germany Germany
    Show System Specs
    Added to mantis:
    0004491
    [​IMG][​IMG] valid string.equals can break skin visibility for other controls
    Skin Engine - 2013-06-21 10:12
     
    • Like Like x 1
Loading...

Users Viewing Thread (Users: 0, Guests: 0)

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice
  • About The Project

    The vision of the MediaPortal project is to create a free open source media centre application, which supports all advanced media centre functions, and is accessible to all Windows users.

    In reaching this goal we are working every day to make sure our software is one of the best.

             

  • Support MediaPortal!

    The team works very hard to make sure the community is running the best HTPC-software. We give away MediaPortal for free but hosting and software is not for us.

    Care to support our work with a few bucks? We'd really appreciate it!