Changes to the skinning engine for XBMC Gotham
#31
2013-10-13 add seperate radio textures for focused and unfocused state
  • textureradioonfocus
  • textureradioonnofocus
  • textureradioofffocus
  • textureradiooffnofocus

pull request: 2876 (PR)
git commit: https://github.com/xbmc/xbmc/commit/e387...72f4027fb3
forum thread: http://forum.xbmc.org/showthread.php?tid=164787
Do not PM or e-mail Team-Kodi members directly asking for support.
Always read the Forum rules, Kodi online-manual, FAQ, Help and Search the forum before posting.
Reply
#32
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/
Do not PM or e-mail Team-Kodi members directly asking for support.
Always read the Forum rules, Kodi online-manual, FAQ, Help and Search the forum before posting.
Reply
#33
2013-11-01 New infolabel
  • Player.Filename
will return the filename, without the full path, of the currently playing video.

git commit: https://github.com/xbmc/xbmc/commit/8a66...372913de26
pull request: 3452 (PR)
Do not PM or e-mail Team-Kodi members directly asking for support.
Always read the Forum rules, Kodi online-manual, FAQ, Help and Search the forum before posting.
Reply
#34
2013-11-01 Remove 'reset settings' button

a few months ago, a 'reset settings' button was addon to SettingsCategory.xml
this change is now reverted.

if you already added it to your skin at this point, you can safely remove it.

git commit: https://github.com/xbmc/xbmc/commit/c399...92f150ece7
pull request: 3498 (PR)
Do not PM or e-mail Team-Kodi members directly asking for support.
Always read the Forum rules, Kodi online-manual, FAQ, Help and Search the forum before posting.
Reply
#35
2013-11-01 New infobool
  • System.Platform(linux.raspberrypi)
will return true if xbmc is running on a raspberrypi.

git commit: https://github.com/xbmc/xbmc/commit/7a32...4eb79c69e3
pull request: 2973 (PR)
Do not PM or e-mail Team-Kodi members directly asking for support.
Always read the Forum rules, Kodi online-manual, FAQ, Help and Search the forum before posting.
Reply
#36
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>

Image

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)
Do not PM or e-mail Team-Kodi members directly asking for support.
Always read the Forum rules, Kodi online-manual, FAQ, Help and Search the forum before posting.
Reply
#37
2013-11-02 New built-in function
  • SetStereoMode()
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)
Do not PM or e-mail Team-Kodi members directly asking for support.
Always read the Forum rules, Kodi online-manual, FAQ, Help and Search the forum before posting.
Reply
#38
2013-11-06 New infolabel + infobool
  • ListItem.IsStereoscopic
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)
Do not PM or e-mail Team-Kodi members directly asking for support.
Always read the Forum rules, Kodi online-manual, FAQ, Help and Search the forum before posting.
Reply
#39
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"?>
Reply
#40
2013-11-07 New EPGGrid texture
  • <progresstexture>

you can use this texture to place a marker on the epg grid, indicating the current time.

git commit: https://github.com/xbmc/xbmc/commit/d687...a460d40a56
pull request: 3542 (PR)
Do not PM or e-mail Team-Kodi members directly asking for support.
Always read the Forum rules, Kodi online-manual, FAQ, Help and Search the forum before posting.
Reply
#41
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)
Do not PM or e-mail Team-Kodi members directly asking for support.
Always read the Forum rules, Kodi online-manual, FAQ, Help and Search the forum before posting.
Reply
#42
2013-11-07 Add parameter support to Playlist infolabels

you can now pass a 'video' or 'music' parameter to the Playlist.* infolabels.

ex. Playlist.Length(video)

git commit: https://github.com/Montellese/xbmc/commi...ef9584960c
pull request: 3586 (PR)
Do not PM or e-mail Team-Kodi members directly asking for support.
Always read the Forum rules, Kodi online-manual, FAQ, Help and Search the forum before posting.
Reply
#43
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 Smile
Do not PM or e-mail Team-Kodi members directly asking for support.
Always read the Forum rules, Kodi online-manual, FAQ, Help and Search the forum before posting.
Reply
#44
2013-11-11 Allow skins to query directories (e.g. plugins) to fill a container with static content

for more info: http://forum.xbmc.org/showthread.php?tid=176864


git commit: https://github.com/xbmc/xbmc/commit/8297...e985e06d99
pull request: 3522 (PR)
Do not PM or e-mail Team-Kodi members directly asking for support.
Always read the Forum rules, Kodi online-manual, FAQ, Help and Search the forum before posting.
Reply
#45
2013-11-12 New window: DialogSubtitles.xml

the xbmc subtitles addon will no longer be used in gotham.
instead, much of the code has been moved to xbmc core.

for this change, you need to:
- remove script.xbmc.subtitles from your addon.xml file
- rename script-XBMC-Subtitles-main.xml to DialogSubtitles.xml
- change the onclick of the subtitle button on the video osd to: ActivateWindow(SubtitleSearch)
- remove the code in skin settings where the user can select a subtitle addon
- rating images are now on a scale 0-5 (previously 0-10)
- add an extension to the flag images: https://github.com/xbmc/xbmc/commit/eee7...5680ac8d5f


confluence example: https://github.com/xbmc/xbmc/commit/4baf...2f49b5b93e

git commit: https://github.com/xbmc/xbmc/commit/8dc1...6d4ecb25cf
pull request: 3552 (PR)
Do not PM or e-mail Team-Kodi members directly asking for support.
Always read the Forum rules, Kodi online-manual, FAQ, Help and Search the forum before posting.
Reply

Logout Mark Read Team Forum Stats Members Help
Changes to the skinning engine for XBMC Gotham3