Kodi Community Forum
Were to get system values (from advancedsettings.xml)? - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Development (https://forum.kodi.tv/forumdisplay.php?fid=32)
+--- Forum: Add-ons (https://forum.kodi.tv/forumdisplay.php?fid=26)
+--- Thread: Were to get system values (from advancedsettings.xml)? (/showthread.php?tid=283454)



Were to get system values (from advancedsettings.xml)? - Wimpie - 2016-07-22

I need the Kodi settings for watched status and resume point in my addon.

The wiki says I need 3 tags that each have a default value:

- playcountminimumpercent, default is 90
- ignoresecondsatstart, default is 180
- ignorepercentatend, default is 8

How can I read these values? I can't find a function that would give me these settings (could have overlooked it though).

Should I just read the advancedsettings.xml file? Is this allowed for addons that want to be in the official repo?

Thanks


RE: Were to get system values (from advancedsettings.xml)? - vl_maksime - 2019-10-19

@Wimpie, did you find any solution?