Kodi Community Forum
Release Skin XML Converter + Formatter - 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)
+---- Forum: Skin helper addons (https://forum.kodi.tv/forumdisplay.php?fid=300)
+---- Thread: Release Skin XML Converter + Formatter (/showthread.php?tid=132720)

Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13


RE: [RELEASE] Skin XML Converter + Formatter - phil65 - 2014-11-08

(2014-11-08, 19:03)Hitcher Wrote: They weren't detected by the converter though rather they appeared in Kodi's debug log. Sorry if that wasn't clear.

(2014-11-08, 18:57)phil65 Wrote:
(2014-11-08, 14:46)Hitcher Wrote: [quote='Hitcher' pid='1770587' dateline='1407705551']
A few more additions please -
Code:
ERROR: unmatched parentheses in StringCompare(Skin.String(Home_List_4),Home_Album_List))
ERROR: unmatched parentheses in StringCompare(Skin.String(Home_List_3),Home_Episode_List))
ERROR: unmatched parentheses in StringCompare(Skin.String(Home_List_2),Home_Movie_List))
Many thanks.
those errors seem valid, one of the last two ")" should be removed for those strings.
for the rest: will push some fixes when I find the time.

could you tell me in which xml tags those were used? in <visible> tags?


RE: [RELEASE] Skin XML Converter + Formatter - Hitcher - 2014-11-08

Include condition -

Code:
<include condition="StringCompare(Skin.String(Home_List_4),Home_Album_List))">Home_Album_List</include>



RE: [RELEASE] Skin XML Converter + Formatter - phil65 - 2014-11-08

ok, thx, will have a look.


RE: [RELEASE] Skin XML Converter + Formatter - ztrust - 2014-11-15

Could I use this to convert confluence to 1080 ?
and what settings should be used like the animations multiplier and indenting ?
hope you can help
ztrust


RE: [RELEASE] Skin XML Converter + Formatter - phil65 - 2014-11-15

(2014-11-15, 00:18)ztrust Wrote: Could I use this to convert confluence to 1080 ?
and what settings should be used like the animations multiplier and indenting ?
hope you can help
ztrust
yes, any skin should work.
animations multiplier should change untouched (unless you want it, it can be used to speed up / slow down all animations of the selected skin)
Indenting is your personal preference (common is indent with spaces and indenting = 4 I would say)


RE: [RELEASE] Skin XML Converter + Formatter - Martijn - 2014-11-15

indenting in TABS is in "theory" faster than when using spaces. less processing time for reading the XML files


RE: [RELEASE] Skin XML Converter + Formatter - ztrust - 2014-11-15

thanks


RE: [RELEASE] Skin XML Converter + Formatter - phil65 - 2014-11-15

(2014-11-15, 00:36)Martijn Wrote: indenting in TABS is in "theory" faster than when using spaces. less processing time for reading the XML files

doesnt matter for runtime though since the skin xmls are loaded into memory as an XMLObject.
For maximum processing speed my suggestion is to set indenting to nothing. Smile


RE: [RELEASE] Skin XML Converter + Formatter - henrava - 2015-02-15

Is this tool yet developed? is compatible with kodi helix?


RE: [RELEASE] Skin XML Converter + Formatter - phil65 - 2015-02-15

yes and yes. (I didnt upload an exe with latest commits yet though)


RE: [RELEASE] Skin XML Converter + Formatter - henrava - 2015-02-15

Thank you Phil. This tool is very useful to find the errors when creating / modify a skin.
i'm waiting for a new build!


RE: [RELEASE] Skin XML Converter + Formatter - henrava - 2015-03-07

I'm sorry for the bump if is inappropriate.

When i use the texture check, I have some errors relevant to the folder flags in the media parent folder, also for the general icons in the root of media folder.

Phil, can you compile a new exe ?


RE: [RELEASE] Skin XML Converter + Formatter - phil65 - 2015-03-07

(2015-03-07, 18:02)henrava Wrote: I'm sorry for the bump if is inappropriate.

When i use the texture check, I have some errors relevant to the folder flags in the media parent folder, also for the general icons in the root of media folder.

Phil, can you compile a new exe ?
Which errors exactly?


RE: [RELEASE] Skin XML Converter + Formatter - henrava - 2015-03-08

the texture check output is wrong about unused textures:

-- Unused Textures --

flags/audio/0.png
flags/audio/1.png
...(all the audio)
flags/cases/560p.png
flags/codec/aac.png
flags/codec/ac-3.png
flags/codec/ac3.png
... (all the codec)
flags/subtitles/flags/ar.png
... (all the country flags)

but in my dialogvideoinfo.xml:

<texture>$INFO[Listitem.AudioCodec,flags/codec/,.png]</texture>
<texture>$INFO[Listitem.VideoCodec,flags/codec/,.png]</texture>

and in my dialogsubtitles.xml:

<texture>flags/subtitles/flags/$INFO[ListItem.Art(thumb).png</texture>


RE: [RELEASE] Skin XML Converter + Formatter - phil65 - 2015-03-08

(2015-03-08, 15:13)henrava Wrote: the texture check output is wrong about unused textures:

-- Unused Textures --

flags/audio/0.png
flags/audio/1.png
...(all the audio)
flags/cases/560p.png
flags/codec/aac.png
flags/codec/ac-3.png
flags/codec/ac3.png
... (all the codec)
flags/subtitles/flags/ar.png
... (all the country flags)

but in my dialogvideoinfo.xml:

<texture>$INFO[Listitem.AudioCodec,flags/codec/,.png]</texture>
<texture>$INFO[Listitem.VideoCodec,flags/codec/,.png]</texture>

and in my dialogsubtitles.xml:

<texture>flags/subtitles/flags/$INFO[ListItem.Art(thumb).png</texture>

As already pointed out many times, I cannot detect which InfoLabels are used so there are some false positives. It´s impossible to check that in a "perfect" way.