Kodi Community Forum
Changes to the skinning engine for Kodi Leia - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Development (https://forum.kodi.tv/forumdisplay.php?fid=32)
+--- Forum: Skinning (https://forum.kodi.tv/forumdisplay.php?fid=12)
+--- Thread: Changes to the skinning engine for Kodi Leia (/showthread.php?tid=298565)

Pages: 1 2 3 4


RE: Changes to the skinning engine for Kodi Leia - Hitcher - 2018-10-03

2018-10-03 DialogAddonInfo.xml - new dependencies button

Add button (id="10") to DialogAddonInfo.xml to view the dependencies of an addon.

pull-request: https://github.com/xbmc/xbmc/pull/12242
commit: https://github.com/xbmc/xbmc/pull/12242/commits/0ca5a2c409be863488c93b50f564195f5a90553b


Skinning changes to support Games in Kodi Leia - garbear - 2018-10-25

Kodi Leia adds the ability to play games. This is a major feature, so I'll document all the changes and additions I made to allow game support.

New windows
  • FullscreenGame (VideoFullScreen.xml) - This window is analogous to FullscreenVideo, but doesn't use any controls.
  • Games (MyGames.xml) - The game library window. Incredibly limited, just files and add-ons, I could use some help improving this.
  • GameSettings (SettingsCategory.xml) - The settings category window for game settings (details)

New dialogs (for in-game OSD)
  • GameOSD (GameOSD.xml) - The root OSD for games. You can find some pictures here: Game playback controls (wiki)
  • GameVideoFilter (DialogSelect.xml) - The dialog for selecting video filters (a.k.a. shaders)
  • GameStretchMode (DialogSelect.xml) - The dialog for selecting stretch modes (e.g. normal, stretch 16:9, original size)
  • GameVideoRotation (DialogSelect.xml) - The dialog for rotation the game's video output
  • GameVolume (DialogSlider.xml) - The dialog for changing the volume. Game plays in the background.
  • GameControllers (DialogGameControllers.xml) - Added in v17, heavily modified for v18. Only shows controllers for the current game, or all controllers if no game is playing
  • GameAdvancedSettings - Virtual window that opens AddonSettings (DialogAddonSettings.xml) for the current game client (e.g. ActivateWindow(GameAdvancedSettings))

New controls
  • gamewindow - A thumbnail view of the FullscreenGame window, analogous to the videowindow control
  • gamecontroller - A game controller image set by core. Added in v17, aspect ratio set to square in v18

New content types
New add-on sources
  • game - Python scripts and standalone game clients (e.g. addons://sources/game/)

New plugin sources
  • game - Provides games (e.g. <provides>game</provides>)

New add-on categories
  • category.gameaddons - Python scripts and standalone game clients (e.g. addons://all/category.gameaddons)
  • category.emulators - Game add-ons that can be used to emulate a file
  • category.standalonegames - Game add-ons that can be launched standalone
  • category.gameproviders - Game plugins
  • category.gameresources - Not used yet
  • category.gamesupport - Add-ons that offer additional game features, such as Libretro support or shader support

New settings
  • gamesgeneral.enable - Whether games are enabled or not. True by default
  • gamesgeneral.showosdhelp - True if the help dialog should be shown in the GameOSD dialog
  • gamesgeneral.enableautosave- True if autosave is enabled
  • gamesgeneral.enablerewind - True if rewind is enabled
  • gamesgeneral.rewindtime - Rewind buffer time, in seconds
  • input.asknewcontrollers - True if Kodi will ask about configuring new controllers
  • input.controllerpoweroff - True if Kodi will power off controllers (only supported on Windows)

New settings category
  • gamesettings

New builtin actions
  • PlayerControl(Reset) - Action to do a virtual reset on the emulator, analogous to pushing "Reset" on a game console

New infolabels
  • Game.Title - The game title
  • Game.Platform - The game platform
  • Game.Genres - The game genres
  • Game.Publisher - The game publisher
  • Game.Developer - The game developer
  • Game.Overview - The game overview/summary
  • Game.Year - The game release year
  • Game.GameClient - The add-on ID of the game client (a.k.a. emulator) to use for playing the game
  • Listitem.Property(game.videofilter) - The filter/shader used for the gamewindow control
  • Listitem.Property(game.stretchmode) - The stretch mode used for the gamewindow control
  • Listitem.Property(game.videorotation) - The rotation used for the gamewindow control

New infobools
New default icons
  • DefaultAddonGame.png - Used for game controllers, game clients, Python game add-ons, game resources, and "game" add-on sources


forum discussion: https://forum.kodi.tv/showthread.php?tid=336876



RE: Changes to the skinning engine for Kodi Leia - ronie - 2018-10-26

2018-04-02 Audio DSP support removed

kodi no longer supports digital sound processing addons.

these two dialogs were removed:
  • AudioDSPManager (DialogAudioDSPManager.xml)
  • OSDAudioDSPSettings

this defaulticon can be removed:
  • DefaultAddonAudioDSP.png

the following infobools were removed:
  • System.HasADSP
  • ADSP.IsActive
  • ADSP.HasInputResample
  • ADSP.HasPreProcess
  • ADSP.HasMasterProcess
  • ADSP.HasPostProcess
  • ADSP.HasOutputResample
  • ADSP.MasterActive

and these new infolabels are also removed:
  • ADSP.ActiveStreamType
  • ADSP.DetectedStreamType
  • ADSP.MasterName
  • ADSP.MasterInfo
  • ADSP.MasterOwnIcon
  • ADSP.MasterOverrideIcon


pull request: https://github.com/xbmc/xbmc/pull/13723
pull request: https://github.com/xbmc/xbmc/pull/13733
pull request: https://github.com/xbmc/xbmc/pull/13737


RE: Changes to the skinning engine for Kodi Leia - ronie - 2018-10-27

the Wiki is now updated with all the info above.


RE: Changes to the skinning engine for Kodi Leia - Hitcher - 2018-10-31

2018-10-30 Updated infolabel

ListItem.VideoResolution can now return 8K for the relevant content

pull-request: https://github.com/xbmc/xbmc/pull/14742
commit: https://github.com/xbmc/xbmc/pull/14742/commits/0b64fc6e926a6719bc431e94c443497ef8cce5f7


RE: Changes to the skinning engine for Kodi Leia - ronie - 2018-11-19

2018-11-18 xbmc.gui bump

xbmc.gui has been bumped to 5.14.0

due to the long development cycle of kodi v18, we have a bunch of skins in the kodi leia repo that we're added many months ago, but haven't been updated in a while.
those skins are not compatible with the current state of kodi, as they are lacking several recent skinning changes.

we would like to encourage all skinners to double-check if their skin works correctly with kodi leia.
if they already are, please do the xbmc.gui bump and resubmit your skin to the repo.
to the skinners that have been keeping their skin(s) up-to-date, we're sorry for the little inconvenience.



pull-request: https://github.com/xbmc/xbmc/pull/14896
commit: https://github.com/xbmc/xbmc/commit/a45d319f0ae8b3afde07d1b6b7ed9a77e4e2fd33


RE: Changes to the skinning engine for Kodi Leia - ronie - 2018-11-26

2018-11-25 new infolabel

ListItem.NextDuration show the duration of the next EPG Event in PVR windows

pull-request: https://github.com/xbmc/xbmc/pull/14929
commit: https://github.com/xbmc/xbmc/commit/e29b4bbc6e8a39e7ad5ab7b51d8b6e7083f187ce


RE: Changes to the skinning engine for Kodi Leia - Hitcher - 2018-12-14

2018-12-13 New icon

OverlaySpoiler.png

pull requests: 14971 (PR)
commit: https://github.com/xbmc/xbmc/pull/14971/commits/905a410cc56a7da2045b2ece36148cdfd2e396b4


RE: Changes to the skinning engine for Kodi Leia - ronie - 2019-01-12

2019-01-12 new infobool

System.HasMediaAudioCD returns true when there's an audio cd in the drive

pull-request: https://github.com/xbmc/xbmc/pull/15222
commit: https://github.com/xbmc/xbmc/commit/57df27d9920a114191bafd05425983f8456f8429


This forum uses Lukasz Tkacz MyBB addons.