diff --git a/inputstream.adaptive/resources/language/resource.language.en_gb/strings.po b/inputstream.adaptive/resources/language/resource.language.en_gb/strings.po index c54bc4ea4..3dd88fb81 100644 --- a/inputstream.adaptive/resources/language/resource.language.en_gb/strings.po +++ b/inputstream.adaptive/resources/language/resource.language.en_gb/strings.po @@ -336,3 +336,13 @@ msgstr "" msgctxt "#30241" msgid "Saves the license data for example: initial data, challenge data and response data, in the \"cdm\" folder of the Kodi data folder." msgstr "" + +#. Setting to enable verbose debug +msgctxt "#30242" +msgid "Enable verbose debug" +msgstr "" + +#. Description of setting with label #30242 +msgctxt "#30243" +msgid "Verbose debugging can be useful for debugging components, but in some cases it may expose sensitive information in the log." +msgstr "" diff --git a/inputstream.adaptive/resources/settings.xml.in b/inputstream.adaptive/resources/settings.xml.in index cc406e9f1..3a8461869 100644 --- a/inputstream.adaptive/resources/settings.xml.in +++ b/inputstream.adaptive/resources/settings.xml.in @@ -248,6 +248,11 @@ false + + 0 + false + + diff --git a/src/CompKodiProps.cpp b/src/CompKodiProps.cpp index f0f031727..e4a7868f8 100644 --- a/src/CompKodiProps.cpp +++ b/src/CompKodiProps.cpp @@ -9,6 +9,7 @@ #include "CompKodiProps.h" #include "CompSettings.h" +#include "SrvBroker.h" #include "decrypters/Helpers.h" #include "utils/StringUtils.h" #include "utils/UrlUtils.h" @@ -122,11 +123,11 @@ void ADP::KODI_PROPS::CCompKodiProps::Init(const std::map fields = STRING::SplitToVec(propValue, '|'); size_t fieldCount = fields.size(); diff --git a/src/CompSettings.cpp b/src/CompSettings.cpp index 3f7b2bd3d..2ccf4c262 100644 --- a/src/CompSettings.cpp +++ b/src/CompSettings.cpp @@ -124,3 +124,8 @@ bool ADP::SETTINGS::CCompSettings::IsDebugManifest() const { return kodi::addon::GetSettingBoolean("debug.save.manifest"); } + +bool ADP::SETTINGS::CCompSettings::IsDebugVerbose() const +{ + return kodi::addon::GetSettingBoolean("debug.verbose"); +} diff --git a/src/CompSettings.h b/src/CompSettings.h index b06519684..f1aef17d0 100644 --- a/src/CompSettings.h +++ b/src/CompSettings.h @@ -73,6 +73,7 @@ class ATTR_DLL_LOCAL CCompSettings bool IsDebugLicense() const; bool IsDebugManifest() const; + bool IsDebugVerbose() const; }; } // namespace SETTINGS