Kodi Community Forum

Full Version: Changes to the skinning engine for Kodi Leia
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3 4
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/...5f5a90553b
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
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
the Wiki is now updated with all the info above.
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/...7ef8cce5f7
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/a45d...77e4e2fd33
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/e29b...7083f187ce
2018-12-13 New icon


pull requests: 14971 (PR)
commit: https://github.com/xbmc/xbmc/pull/14971/...dfd2e396b4
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/57df...f8456f8429
Pages: 1 2 3 4