2016-01-17, 02:18
hi skilled skinners,
i'm currently working on reducing the amount of xml files skinners have to code.
the (obvious) goal is to reduce the amount of work you have to do when creating a skin,
while still allowing you to customize each dialog/window should you wish to do so.
at this point these PR's have been submitted to kodi:
https://github.com/xbmc/xbmc/pull/8856
merges all these xml files into DialogSettings.xml:
https://github.com/xbmc/xbmc/pull/8865
merges these xml files into DialogConfirm.xml:
https://github.com/xbmc/xbmc/pull/8875
merges these xml files into DialogVolumeBar.xml:
https://github.com/xbmc/xbmc/pull/8892
merges these xml files into DialogMusicInfo.xml:
https://github.com/xbmc/xbmc/pull/8910
merges these xml files into MyPlaylist.xml:
while all the xml files would be removed, their window names are not (with the exception of mutebug).
this will still give you the opportunity the define multiple layouts per xml based on a Window.IsVisible() condition, in case you want to.
(as for the mutebug exception, you can use Player.Muted as a condition)
i'm interested in your feedback... if you have any thoughts to share, have questions, see any problems, please let me know.
of course, i also like to hear if you have any suggestions for other xml files that could be merged.
i'm currently working on reducing the amount of xml files skinners have to code.
the (obvious) goal is to reduce the amount of work you have to do when creating a skin,
while still allowing you to customize each dialog/window should you wish to do so.
at this point these PR's have been submitted to kodi:
https://github.com/xbmc/xbmc/pull/8856
merges all these xml files into DialogSettings.xml:
- DialogAudioDSPSettings.xml
- DialogContentSettings.xml
- DialogPeripheralSettings.xml
- DialogPVRTimerSettings.xml
- LockSettings.xml
- ProfileSettings.xml
- VideoOSDSettings.xml
https://github.com/xbmc/xbmc/pull/8865
merges these xml files into DialogConfirm.xml:
- DialogOK.xml
- DialogProgress.xml
- DialogYesNo.xml
https://github.com/xbmc/xbmc/pull/8875
merges these xml files into DialogVolumeBar.xml:
- DialogMuteBug.xml
- DialogVolumeBar.xml
https://github.com/xbmc/xbmc/pull/8892
merges these xml files into DialogMusicInfo.xml:
- DialogAlbumInfo.xml
- DialogSongInfo.xml
https://github.com/xbmc/xbmc/pull/8910
merges these xml files into MyPlaylist.xml:
- MyMusicPlaylist.xml
- MyVideoPlaylist.xml
while all the xml files would be removed, their window names are not (with the exception of mutebug).
this will still give you the opportunity the define multiple layouts per xml based on a Window.IsVisible() condition, in case you want to.
(as for the mutebug exception, you can use Player.Muted as a condition)
i'm interested in your feedback... if you have any thoughts to share, have questions, see any problems, please let me know.
of course, i also like to hear if you have any suggestions for other xml files that could be merged.