Skip to content

Commit

Permalink
Callback function for xbmc module (xbmc.Monitor)
Browse files Browse the repository at this point in the history
monitors for:
- onSettingsChanged
- onScreensaverDeactivated
- onScreensaverActivated
- onDatabaseUpdated, will return the database that has been updated (video/music)
  • Loading branch information
amet committed Apr 6, 2012
1 parent 816bab6 commit 0ef8e70
Show file tree
Hide file tree
Showing 16 changed files with 587 additions and 3 deletions.
12 changes: 12 additions & 0 deletions XBMC-ATV2.xcodeproj/project.pbxproj
Expand Up @@ -29,6 +29,8 @@
7CCFD9AA1514952700211D82 /* PCMCodec.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 7CCFD9A81514952700211D82 /* PCMCodec.cpp */; };
7CEE2E6D13D6B7A8000ABF2A /* TimeSmoother.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 7CEE2E6B13D6B7A8000ABF2A /* TimeSmoother.cpp */; };
C807119F135DB842002F601B /* InputOperations.cpp in Sources */ = {isa = PBXBuildFile; fileRef = C807119D135DB842002F601B /* InputOperations.cpp */; };
C8936060152C86EC00812418 /* PythonMonitor.cpp in Sources */ = {isa = PBXBuildFile; fileRef = C893605E152C86EC00812418 /* PythonMonitor.cpp */; };
C8936063152C86F500812418 /* monitor.cpp in Sources */ = {isa = PBXBuildFile; fileRef = C8936061152C86F500812418 /* monitor.cpp */; };
C8EC5D51136954E400CCC10D /* XBMC_keytable.cpp in Sources */ = {isa = PBXBuildFile; fileRef = C8EC5D4F136954E400CCC10D /* XBMC_keytable.cpp */; };
DF0DF16D13A3AF82008ED511 /* NFSDirectory.cpp in Sources */ = {isa = PBXBuildFile; fileRef = DF0DF16A13A3AF82008ED511 /* NFSDirectory.cpp */; };
DF34890913FD96390026A711 /* GUIAction.cpp in Sources */ = {isa = PBXBuildFile; fileRef = DF34890713FD96390026A711 /* GUIAction.cpp */; };
Expand Down Expand Up @@ -1013,6 +1015,10 @@
A192FD47135E46C800D92E9B /* IOSAudioRingBuffer.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = IOSAudioRingBuffer.h; path = AudioRenderers/IOSAudioRingBuffer.h; sourceTree = "<group>"; };
C807119D135DB842002F601B /* InputOperations.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = InputOperations.cpp; sourceTree = "<group>"; };
C807119E135DB842002F601B /* InputOperations.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = InputOperations.h; sourceTree = "<group>"; };
C893605E152C86EC00812418 /* PythonMonitor.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = PythonMonitor.cpp; sourceTree = "<group>"; };
C893605F152C86EC00812418 /* PythonMonitor.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = PythonMonitor.h; sourceTree = "<group>"; };
C8936061152C86F500812418 /* monitor.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = monitor.cpp; sourceTree = "<group>"; };
C8936062152C86F500812418 /* monitor.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = monitor.h; sourceTree = "<group>"; };
C8EC5D4F136954E400CCC10D /* XBMC_keytable.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = XBMC_keytable.cpp; sourceTree = "<group>"; };
C8EC5D50136954E400CCC10D /* XBMC_keytable.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = XBMC_keytable.h; sourceTree = "<group>"; };
DF0DF16A13A3AF82008ED511 /* NFSDirectory.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = NFSDirectory.cpp; sourceTree = "<group>"; };
Expand Down Expand Up @@ -4707,6 +4713,8 @@
F56C758A131EC152000AD0F6 /* keyboard.h */,
F56C758B131EC152000AD0F6 /* listitem.cpp */,
F56C758C131EC152000AD0F6 /* listitem.h */,
C8936061152C86F500812418 /* monitor.cpp */,
C8936062152C86F500812418 /* monitor.h */,
F56C758D131EC152000AD0F6 /* player.cpp */,
F56C758E131EC152000AD0F6 /* player.h */,
F56C758F131EC152000AD0F6 /* pyplaylist.cpp */,
Expand All @@ -4715,6 +4723,8 @@
F5E113AE1435882900175026 /* pyrendercapture.h */,
F56C7568131EC152000AD0F6 /* PythonAddon.cpp */,
F56C7569131EC152000AD0F6 /* PythonAddon.h */,
C893605E152C86EC00812418 /* PythonMonitor.cpp */,
C893605F152C86EC00812418 /* PythonMonitor.h */,
F56C7591131EC152000AD0F6 /* PythonPlayer.cpp */,
F56C7592131EC152000AD0F6 /* PythonPlayer.h */,
F56C7593131EC152000AD0F6 /* pyutil.cpp */,
Expand Down Expand Up @@ -7066,6 +7076,8 @@
DFDB004B1516408F005079A4 /* FileCache.cpp in Sources */,
DFDB004C1516408F005079A4 /* MemBufferCache.cpp in Sources */,
7C1A89BB152671FB00C63311 /* TextureCacheJob.cpp in Sources */,
C8936060152C86EC00812418 /* PythonMonitor.cpp in Sources */,
C8936063152C86F500812418 /* monitor.cpp in Sources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
Expand Down
12 changes: 12 additions & 0 deletions XBMC-IOS.xcodeproj/project.pbxproj
Expand Up @@ -30,6 +30,8 @@
7CCFD9991514950700211D82 /* PCMCodec.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 7CCFD9971514950700211D82 /* PCMCodec.cpp */; };
7CEE2E7F13D6B7D4000ABF2A /* TimeSmoother.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 7CEE2E7D13D6B7D4000ABF2A /* TimeSmoother.cpp */; };
C80711AD135DB85F002F601B /* InputOperations.cpp in Sources */ = {isa = PBXBuildFile; fileRef = C80711AB135DB85F002F601B /* InputOperations.cpp */; };
C893606F152C870600812418 /* monitor.cpp in Sources */ = {isa = PBXBuildFile; fileRef = C893606D152C870600812418 /* monitor.cpp */; };
C8936072152C871400812418 /* PythonMonitor.cpp in Sources */ = {isa = PBXBuildFile; fileRef = C8936070152C871400812418 /* PythonMonitor.cpp */; };
C8EC5D26136953E100CCC10D /* XBMC_keytable.cpp in Sources */ = {isa = PBXBuildFile; fileRef = C8EC5D24136953E100CCC10D /* XBMC_keytable.cpp */; };
DF0DF18013A3AF9F008ED511 /* NFSDirectory.cpp in Sources */ = {isa = PBXBuildFile; fileRef = DF0DF17D13A3AF9F008ED511 /* NFSDirectory.cpp */; };
DF3488F813FD961A0026A711 /* GUIAction.cpp in Sources */ = {isa = PBXBuildFile; fileRef = DF3488F613FD961A0026A711 /* GUIAction.cpp */; };
Expand Down Expand Up @@ -1012,6 +1014,10 @@
8D576316048677EA00EA77CD /* XBMC.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = XBMC.app; sourceTree = BUILT_PRODUCTS_DIR; };
C80711AB135DB85F002F601B /* InputOperations.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = InputOperations.cpp; sourceTree = "<group>"; };
C80711AC135DB85F002F601B /* InputOperations.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = InputOperations.h; sourceTree = "<group>"; };
C893606D152C870600812418 /* monitor.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = monitor.cpp; sourceTree = "<group>"; };
C893606E152C870600812418 /* monitor.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = monitor.h; sourceTree = "<group>"; };
C8936070152C871400812418 /* PythonMonitor.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = PythonMonitor.cpp; sourceTree = "<group>"; };
C8936071152C871400812418 /* PythonMonitor.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = PythonMonitor.h; sourceTree = "<group>"; };
C8EC5D24136953E100CCC10D /* XBMC_keytable.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = XBMC_keytable.cpp; sourceTree = "<group>"; };
C8EC5D25136953E100CCC10D /* XBMC_keytable.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = XBMC_keytable.h; sourceTree = "<group>"; };
DF0DF17D13A3AF9F008ED511 /* NFSDirectory.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = NFSDirectory.cpp; sourceTree = "<group>"; };
Expand Down Expand Up @@ -5063,6 +5069,8 @@
F56C856D131F42EA000AD0F6 /* keyboard.h */,
F56C856E131F42EA000AD0F6 /* listitem.cpp */,
F56C856F131F42EA000AD0F6 /* listitem.h */,
C893606D152C870600812418 /* monitor.cpp */,
C893606E152C870600812418 /* monitor.h */,
F56C8570131F42EA000AD0F6 /* player.cpp */,
F56C8571131F42EA000AD0F6 /* player.h */,
F56C8572131F42EA000AD0F6 /* pyplaylist.cpp */,
Expand All @@ -5071,6 +5079,8 @@
F5E1127C14356C4D00175026 /* pyrendercapture.h */,
F56C854B131F42E9000AD0F6 /* PythonAddon.cpp */,
F56C854C131F42E9000AD0F6 /* PythonAddon.h */,
C8936070152C871400812418 /* PythonMonitor.cpp */,
C8936071152C871400812418 /* PythonMonitor.h */,
F56C8574131F42EA000AD0F6 /* PythonPlayer.cpp */,
F56C8575131F42EA000AD0F6 /* PythonPlayer.h */,
F56C8576131F42EA000AD0F6 /* pyutil.cpp */,
Expand Down Expand Up @@ -7077,6 +7087,8 @@
DFDB00261516403A005079A4 /* FileCache.cpp in Sources */,
DFDB00271516403A005079A4 /* MemBufferCache.cpp in Sources */,
7C1A89CE1526722200C63311 /* TextureCacheJob.cpp in Sources */,
C893606F152C870600812418 /* monitor.cpp in Sources */,
C8936072152C871400812418 /* PythonMonitor.cpp in Sources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
Expand Down
16 changes: 16 additions & 0 deletions XBMC.xcodeproj/project.pbxproj
Expand Up @@ -616,6 +616,10 @@
C84BF7341349BB74006D6FC9 /* JSONServiceDescription.cpp in Sources */ = {isa = PBXBuildFile; fileRef = C84BF7321349BB74006D6FC9 /* JSONServiceDescription.cpp */; };
C85EB75C1174614E0008E5A5 /* Repository.cpp in Sources */ = {isa = PBXBuildFile; fileRef = C85EB75A1174614E0008E5A5 /* Repository.cpp */; };
C85EB75D1174614E0008E5A5 /* Repository.cpp in Sources */ = {isa = PBXBuildFile; fileRef = C85EB75A1174614E0008E5A5 /* Repository.cpp */; };
C8936052152C86CF00812418 /* monitor.cpp in Sources */ = {isa = PBXBuildFile; fileRef = C8936050152C86CF00812418 /* monitor.cpp */; };
C8936053152C86CF00812418 /* monitor.cpp in Sources */ = {isa = PBXBuildFile; fileRef = C8936050152C86CF00812418 /* monitor.cpp */; };
C8936056152C86D800812418 /* PythonMonitor.cpp in Sources */ = {isa = PBXBuildFile; fileRef = C8936054152C86D800812418 /* PythonMonitor.cpp */; };
C8936057152C86D800812418 /* PythonMonitor.cpp in Sources */ = {isa = PBXBuildFile; fileRef = C8936054152C86D800812418 /* PythonMonitor.cpp */; };
C8D0B2AF1265A9A800F0C0AC /* SystemGlobals.cpp in Sources */ = {isa = PBXBuildFile; fileRef = C8D0B2AE1265A9A800F0C0AC /* SystemGlobals.cpp */; };
C8D0B2B01265A9A800F0C0AC /* SystemGlobals.cpp in Sources */ = {isa = PBXBuildFile; fileRef = C8D0B2AE1265A9A800F0C0AC /* SystemGlobals.cpp */; };
C8EC5D0E1369519D00CCC10D /* XBMC_keytable.cpp in Sources */ = {isa = PBXBuildFile; fileRef = C8EC5D0C1369519D00CCC10D /* XBMC_keytable.cpp */; };
Expand Down Expand Up @@ -2627,6 +2631,10 @@
C84BF7331349BB74006D6FC9 /* JSONServiceDescription.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = JSONServiceDescription.h; sourceTree = "<group>"; };
C85EB75A1174614E0008E5A5 /* Repository.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = Repository.cpp; sourceTree = "<group>"; };
C85EB75B1174614E0008E5A5 /* Repository.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = Repository.h; sourceTree = "<group>"; };
C8936050152C86CF00812418 /* monitor.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = monitor.cpp; sourceTree = "<group>"; };
C8936051152C86CF00812418 /* monitor.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = monitor.h; sourceTree = "<group>"; };
C8936054152C86D800812418 /* PythonMonitor.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = PythonMonitor.cpp; sourceTree = "<group>"; };
C8936055152C86D800812418 /* PythonMonitor.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = PythonMonitor.h; sourceTree = "<group>"; };
C8D0B2AE1265A9A800F0C0AC /* SystemGlobals.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = SystemGlobals.cpp; sourceTree = "<group>"; };
C8EC5D0C1369519D00CCC10D /* XBMC_keytable.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = XBMC_keytable.cpp; sourceTree = "<group>"; };
C8EC5D0D1369519D00CCC10D /* XBMC_keytable.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = XBMC_keytable.h; sourceTree = "<group>"; };
Expand Down Expand Up @@ -6164,6 +6172,8 @@
E38E19F80D25F9FB00618676 /* keyboard.h */,
E38E25920D263CE000618676 /* listitem.cpp */,
E38E19FA0D25F9FB00618676 /* listitem.h */,
C8936050152C86CF00812418 /* monitor.cpp */,
C8936051152C86CF00812418 /* monitor.h */,
E38E25930D263CE000618676 /* player.cpp */,
E38E19FE0D25F9FB00618676 /* player.h */,
E38E25940D263CE000618676 /* pyplaylist.cpp */,
Expand All @@ -6172,6 +6182,8 @@
F5E1125D14356B2400175026 /* pyrendercapture.h */,
7CD2CCFE11B38B000009EFC1 /* PythonAddon.cpp */,
7CD2CCFF11B38B000009EFC1 /* PythonAddon.h */,
C8936054152C86D800812418 /* PythonMonitor.cpp */,
C8936055152C86D800812418 /* PythonMonitor.h */,
E38E25950D263CE000618676 /* PythonPlayer.cpp */,
E38E1A020D25F9FB00618676 /* PythonPlayer.h */,
E38E25960D263CE000618676 /* pyutil.cpp */,
Expand Down Expand Up @@ -8195,6 +8207,8 @@
DF93D7F21444B54A007C6459 /* HDHomeRunFile.cpp in Sources */,
DF93D7F61444B568007C6459 /* HDHomeRunDirectory.cpp in Sources */,
7C1A85661520522500C63311 /* TextureCacheJob.cpp in Sources */,
C8936052152C86CF00812418 /* monitor.cpp in Sources */,
C8936056152C86D800812418 /* PythonMonitor.cpp in Sources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
Expand Down Expand Up @@ -9133,6 +9147,8 @@
DF93D7F31444B54A007C6459 /* HDHomeRunFile.cpp in Sources */,
DF93D7F71444B568007C6459 /* HDHomeRunDirectory.cpp in Sources */,
7C1A85651520522500C63311 /* TextureCacheJob.cpp in Sources */,
C8936053152C86CF00812418 /* monitor.cpp in Sources */,
C8936057152C86D800812418 /* PythonMonitor.cpp in Sources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
Expand Down
8 changes: 8 additions & 0 deletions project/VS2010Express/XBMC.vcxproj
Expand Up @@ -650,6 +650,9 @@
<ClCompile Include="..\..\xbmc\interfaces\python\xbmcmodule\listitem.cpp">
<AdditionalIncludeDirectories Condition="'$(Configuration)|$(Platform)'=='Debug (OpenGL)|Win32'">..\..\project\BuildDependencies\include\python;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
</ClCompile>
<ClCompile Include="..\..\xbmc\interfaces\python\xbmcmodule\monitor.cpp">
<AdditionalIncludeDirectories Condition="'$(Configuration)|$(Platform)'=='Debug (OpenGL)|Win32'">..\..\project\BuildDependencies\include\python;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
</ClCompile>
<ClCompile Include="..\..\xbmc\interfaces\python\xbmcmodule\player.cpp">
<AdditionalIncludeDirectories Condition="'$(Configuration)|$(Platform)'=='Debug (OpenGL)|Win32'">..\..\project\BuildDependencies\include\python;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
</ClCompile>
Expand All @@ -663,6 +666,9 @@
<ClCompile Include="..\..\xbmc\interfaces\python\xbmcmodule\PythonPlayer.cpp">
<AdditionalIncludeDirectories Condition="'$(Configuration)|$(Platform)'=='Debug (OpenGL)|Win32'">..\..\project\BuildDependencies\include\python;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
</ClCompile>
<ClCompile Include="..\..\xbmc\interfaces\python\xbmcmodule\PythonMonitor.cpp">
<AdditionalIncludeDirectories Condition="'$(Configuration)|$(Platform)'=='Debug (OpenGL)|Win32'">..\..\project\BuildDependencies\include\python;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
</ClCompile>
<ClCompile Include="..\..\xbmc\interfaces\python\xbmcmodule\pyutil.cpp">
<AdditionalIncludeDirectories Condition="'$(Configuration)|$(Platform)'=='Debug (OpenGL)|Win32'">..\..\project\BuildDependencies\include\python;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
</ClCompile>
Expand Down Expand Up @@ -1604,11 +1610,13 @@
<ClInclude Include="..\..\xbmc\interfaces\python\xbmcmodule\infotagvideo.h" />
<ClInclude Include="..\..\xbmc\interfaces\python\xbmcmodule\keyboard.h" />
<ClInclude Include="..\..\xbmc\interfaces\python\xbmcmodule\listitem.h" />
<ClInclude Include="..\..\xbmc\interfaces\python\xbmcmodule\monitor.h" />
<ClInclude Include="..\..\xbmc\interfaces\python\xbmcmodule\player.h" />
<ClInclude Include="..\..\xbmc\interfaces\python\xbmcmodule\pyjsonrpc.h" />
<ClInclude Include="..\..\xbmc\interfaces\python\xbmcmodule\pyplaylist.h" />
<ClInclude Include="..\..\xbmc\interfaces\python\xbmcmodule\pyrendercapture.h" />
<ClInclude Include="..\..\xbmc\interfaces\python\xbmcmodule\PythonAddon.h" />
<ClInclude Include="..\..\xbmc\interfaces\python\xbmcmodule\PythonMonitor.h" />
<ClInclude Include="..\..\xbmc\interfaces\python\xbmcmodule\PythonPlayer.h" />
<ClInclude Include="..\..\xbmc\interfaces\python\xbmcmodule\pyutil.h" />
<ClInclude Include="..\..\xbmc\interfaces\python\xbmcmodule\window.h" />
Expand Down
12 changes: 12 additions & 0 deletions project/VS2010Express/XBMC.vcxproj.filters
Expand Up @@ -1925,6 +1925,9 @@
<ClCompile Include="..\..\xbmc\interfaces\python\xbmcmodule\listitem.cpp">
<Filter>interfaces\python\xbmcmodule</Filter>
</ClCompile>
<ClCompile Include="..\..\xbmc\interfaces\python\xbmcmodule\monitor.cpp">
<Filter>interfaces\python\xbmcmodule</Filter>
</ClCompile>
<ClCompile Include="..\..\xbmc\interfaces\python\xbmcmodule\player.cpp">
<Filter>interfaces\python\xbmcmodule</Filter>
</ClCompile>
Expand All @@ -1934,6 +1937,9 @@
<ClCompile Include="..\..\xbmc\interfaces\python\xbmcmodule\PythonAddon.cpp">
<Filter>interfaces\python\xbmcmodule</Filter>
</ClCompile>
<ClCompile Include="..\..\xbmc\interfaces\python\xbmcmodule\PythonMonitor.cpp">
<Filter>interfaces\python\xbmcmodule</Filter>
</ClCompile>
<ClCompile Include="..\..\xbmc\interfaces\python\xbmcmodule\PythonPlayer.cpp">
<Filter>interfaces\python\xbmcmodule</Filter>
</ClCompile>
Expand Down Expand Up @@ -4534,6 +4540,9 @@
<ClInclude Include="..\..\xbmc\interfaces\python\xbmcmodule\listitem.h">
<Filter>interfaces\python\xbmcmodule</Filter>
</ClInclude>
<ClInclude Include="..\..\xbmc\interfaces\python\xbmcmodule\monitor.h">
<Filter>interfaces\python\xbmcmodule</Filter>
</ClInclude>
<ClInclude Include="..\..\xbmc\interfaces\python\xbmcmodule\player.h">
<Filter>interfaces\python\xbmcmodule</Filter>
</ClInclude>
Expand All @@ -4546,6 +4555,9 @@
<ClInclude Include="..\..\xbmc\interfaces\python\xbmcmodule\PythonAddon.h">
<Filter>interfaces\python\xbmcmodule</Filter>
</ClInclude>
<ClInclude Include="..\..\xbmc\interfaces\python\xbmcmodule\PythonMonitor.h">
<Filter>interfaces\python\xbmcmodule</Filter>
</ClInclude>
<ClInclude Include="..\..\xbmc\interfaces\python\xbmcmodule\PythonPlayer.h">
<Filter>interfaces\python\xbmcmodule</Filter>
</ClInclude>
Expand Down
4 changes: 4 additions & 0 deletions xbmc/addons/GUIDialogAddonSettings.cpp
Expand Up @@ -48,6 +48,7 @@
#include "dialogs/GUIDialogSelect.h"
#include "GUIWindowAddonBrowser.h"
#include "utils/log.h"
#include "interfaces/python/XBPython.h"

using namespace std;
using namespace ADDON;
Expand Down Expand Up @@ -534,7 +535,10 @@ void CGUIDialogAddonSettings::SaveSettings(void)
m_addon->UpdateSetting(i->first, i->second);

if (m_saveToDisk)
{
m_addon->SaveSettings();
g_pythonParser.OnSettingsChanged(m_addon->ID());
}
}

void CGUIDialogAddonSettings::FreeSections()
Expand Down

0 comments on commit 0ef8e70

Please sign in to comment.