No categories in addon settings available

  • Ok so to start with appologies because this is 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 here? ?(

    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>

  • I think the missing part is <group></group> as a wrapper for setting. Its mandatory also if you doesn‘t have more than 1 group.

    Edited once, last by HarryH (May 28, 2024 at 1:39 PM).

  • I think the missing part is <group></group> as a wrapper for setting. Its mandatory also if you doesn‘t have more than 1 group.

    Thanks, good suggestion but no luck yet unfortunately.
    It recognizes the section but then it stops :(

  • Are you sure that you edit in the right directory ?

    Your add-on with the settings.xml file for defining the GUI items should be located here: /storage/.kodi/addons/script.test

    Add-on structure - Official Kodi Wiki

    In the directory /storage/.kodi/userdata/addon_data/script.test , there should only be the corresponding settings.xml file for saving values and will be generated automatically.

    Edited 3 times, last by HarryH (May 28, 2024 at 5:14 PM).