Required skin changes for commonly used addons
if your skin ships with custom xml for any of these addons,
here's a list of the needed changes for gotham:
GlobalSearch
- script-globalsearch-contextmenu.xml now uses a single background image, with id="999".
- the positioning logic of the context menu has also changed, so double check if it still pops up where you want it to.
CU LRC Lyrics
- the script now runs as a service by default. if your skins auto-starts this addon, you can remove it as it's no longer needed.
users can disable this option if they want, so keep the button on the MusicOSD to manually start the addon.
- script-XBMC_Lyrics-main.xml, change
<label>$LOCALIZE[SCRIPT0]</label> to
<label>$ADDON[script.cu.lrclyrics 32199]</label>.
- script-XBMC_Lyrics-main.xml, remove the controls with id="100" and id="101". those are not used anymore.
other addon authors are welcome to post their required changes in this thread as well.
edit:
oh, the addons can be found here btw.
http://mirrors.xbmc.org/addons/gotham/
2013-11-01 New control positioning method
this commit adds a new way to position controls on screen.
- <left>
- <top>
- <right>
- <bottom>
- <centerleft>
- <centertop>
- <centerright>
- <centerbottom>
on top of that, it also allows you to use percentages instead of absolute values.
note: the old way (posx/posy/width/height) will still work in gotham
note: for label positioning to work correctly, defaults.xml should have no position defined for label.
for more info, please use the forum thread below.
forum thread:
http://forum.xbmc.org/showthread.php?tid=176115
git commit:
https://github.com/xbmc/xbmc/commit/a52e...01ae0868f3
pull request:
3451 (PR)
2013-11-02 New built-in function
Changes the stereo mode of the GUI. Params can be: toggle, next, previous, select, tomono or any of the supported stereomodes (off, split_vertical, split_horizontal, row_interleaved, hardware_based, anaglyph_cyan_red, anaglyph_green_magenta, monoscopic)
git commit:
https://github.com/da-anda/xbmc/commit/7...ef11067abe
pull request:
3307 (PR)
2013-11-06 New infolabel + infobool
will return true if the selected video is 3D.
- ListItem.StereoscopicMode
will return the stereomode of the selected video (i.e. mono, split_vertical, split_horizontal, row_interleaved, anaglyph_cyan_red, anaglyph_green_magenta)
git commit:
https://github.com/xbmc/xbmc/commit/cb38...b7f89c8f0b
pull request:
3340 (PR)
As XBMC now tries to follow XML specifications, all XMLs without proper header are fully checked for correct UTF-8 chars.
Add correct header to all your XML files if you don't want additional parsing overhead.
Example of correct header:
Code:
<?xml version="1.0" encoding="UTF-8"?>
2013-08-10 Remove Stack and Flatten buttons
forgot to mention this one when it was merged...
remove the stack and flatten buttons (id="7" / id="17") from MyVideoNav.xml
these options have been moved to settings > video > file lists
git commit:
https://github.com/xbmc/xbmc/commit/6a2f...399f27f298
pull request:
3017 (PR)
2013-11-11 Add textbox to OK, YesNo and Progress dialogs
Use a textbox control (id="9") instead of three separate labels (id's 2, 3 & 4) in:
- DialogOK.xml
- DialogProgress.xml
- DialogYesNo.xml
git commit:
https://github.com/xbmc/xbmc/commit/a2ac...100df74da7
pull request:
3573 (PR)
JM EDIT: This is optional for skinners, but I'd strongly suggest you change to doing this, as it will allow better localisation in future