v21 no categories available - Printable Version +- Kodi Community Forum (https://forum.kodi.tv) +-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33) +--- Forum: Add-on Support (https://forum.kodi.tv/forumdisplay.php?fid=27) +--- Thread: v21 no categories available (/showthread.php?tid=377717) |
no categories available - robertvg65 - 2024-05-28 Ok so probably a newby question (new to addon development, my first addon) but I can't figure out what I am doing wrong here: I have added a settings.xml file in the userdata\addon_data subdir of my addon, the 'Configure' button of my addon becomes available, however the settings are not available and on the left side I only see "No categories available". What am I missing? Content of my settings.xml file: <?xml version="1.0" ?> <settings version="1"> <section id="service.test"> <category id="generic" label="Generic" help="Help!"> <setting id="file" type="video" label="File" help="Select the video file"> </setting> </category> </section> </settings> RE: no categories available - Hitcher - 2024-05-28 Doesn't it go in the resources folder in your addon?
RE: no categories available - robertvg65 - 2024-05-28 (2024-05-28, 01:22)Hitcher Wrote: Doesn't it go in the If I put it there it doesn't do anything - it does not even enable the Configure button. RE: no categories available - scott967 - 2024-06-03 Your labels have to be numbers that index into your strings.po language localization files, or the main kodi language resource strings.po file. Addon localized strings should start at 32000. You can't put literal strings in there. Tweak constraints as needed. Place in your addon's resources folder. userdata/addon_data is where the user's settings will be saved after he/she configures the addon settings. scott s. . |