Kodi Community Forum
Win 19.3 Matrix - Save own setting in KODI files - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Development (https://forum.kodi.tv/forumdisplay.php?fid=32)
+--- Forum: Kodi Application (https://forum.kodi.tv/forumdisplay.php?fid=93)
+--- Thread: Win 19.3 Matrix - Save own setting in KODI files (/showthread.php?tid=367736)



19.3 Matrix - Save own setting in KODI files - expertup - 2022-04-04

I make own function in source KODI. I want to save in KODI files type integer variable.

I think about save data internal KODI appliaction, not by KODI settings GUI.

I have code:
cpp:
CServiceBroker::GetSettingsComponent()->GetSettings()->SetInt(CSettings::SETTING_SYSTEM_LASTSCREEN, 1);

But this don't save SETTING_SYSTEM_LASTSCREEN data.

I know, that I can make own implementation save information, but I want to use KODI internat functions.

Greetings ;-)