From 4772e5f6758ac4b1e27d111d0edebe3306869db3 Mon Sep 17 00:00:00 2001 From: ronie Date: Sat, 25 Oct 2014 15:07:35 +0200 Subject: Remove 'XBMC.' from built-ins --- docs/manpages/kodi-send.1 | 2 +- system/keymaps/appcommand.xml | 2 +- system/keymaps/gamepad.xml | 10 ++--- ...ystick.Alienware.Dual.Compatible.Controller.xml | 6 +-- system/keymaps/joystick.AppleRemote.xml | 4 +- system/keymaps/joystick.Harmony.xml | 38 ++++++++--------- system/keymaps/joystick.Interact.AxisPad.xml | 4 +- system/keymaps/joystick.Logitech.RumblePad.2.xml | 6 +-- .../joystick.Microsoft.Xbox.360.Controller.xml | 36 ++++++++-------- .../joystick.Microsoft.Xbox.Controller.S.xml | 10 ++--- .../joystick.Nintendo.Wii.U.Pro.Controller.xml | 6 +-- system/keymaps/joystick.PS3.Remote.Keyboard.xml | 4 +- .../joystick.Sony.PLAYSTATION(R)3.Controller.xml | 6 +-- system/keymaps/joystick.WiiRemote.xml | 16 ++++---- system/keymaps/joystick.xml.sample | 14 +++---- system/keymaps/keyboard.xml | 26 ++++++------ system/keymaps/nyxboard/keyboard.xml | 2 +- system/keymaps/remote.xml | 48 +++++++++++----------- system/peripherals.xml | 2 +- tools/EventClients/Clients/Kodi Send/kodi-send.py | 2 +- .../EventClients/examples/python/example_action.py | 2 +- xbmc/Autorun.cpp | 4 +- xbmc/input/ButtonTranslator.h | 2 +- xbmc/interfaces/Builtins.cpp | 24 +++++------ xbmc/interfaces/legacy/ListItem.h | 2 +- xbmc/interfaces/legacy/ModuleXbmc.h | 18 ++++---- xbmc/pvr/PVRManager.cpp | 4 +- 27 files changed, 150 insertions(+), 150 deletions(-) diff --git a/docs/manpages/kodi-send.1 b/docs/manpages/kodi-send.1 index 7e1921235f..03ca685177 100644 --- a/docs/manpages/kodi-send.1 +++ b/docs/manpages/kodi-send.1 @@ -8,7 +8,7 @@ This program is used for sending actions for Kodi. .PP Example .IP -kodi\-send \fB\-\-host\fR=\fI192\fR.168.0.1 \fB\-\-port\fR=\fI9777\fR \fB\-\-action=\fR"XBMC.Quit" +kodi\-send \fB\-\-host\fR=\fI192\fR.168.0.1 \fB\-\-port\fR=\fI9777\fR \fB\-\-action=\fR"Quit" .PP Options .TP diff --git a/system/keymaps/appcommand.xml b/system/keymaps/appcommand.xml index 2d14bd9748..2cbee66a6f 100644 --- a/system/keymaps/appcommand.xml +++ b/system/keymaps/appcommand.xml @@ -17,7 +17,7 @@ Stop PlayPause - XBMC.ActivateWindow(MyMusic) + ActivateWindow(MyMusic) ActivateWindow(MyPrograms) ActivateWindow(MyPrograms) Play diff --git a/system/keymaps/gamepad.xml b/system/keymaps/gamepad.xml index a21f07098e..6015eb4f7c 100644 --- a/system/keymaps/gamepad.xml +++ b/system/keymaps/gamepad.xml @@ -19,7 +19,7 @@ - + @@ -44,14 +44,14 @@ Queue ContextMenu - XBMC.ActivateWindow(PlayerControls) + ActivateWindow(PlayerControls) PreviousMenu Left Right Up Down Screenshot - XBMC.ActivateWindow(ShutdownMenu) + ActivateWindow(ShutdownMenu) ScrollUp ScrollDown AnalogSeekBack @@ -62,7 +62,7 @@ - XBMC.Skin.ToggleSetting(HomeViewToggle) + Skin.ToggleSetting(HomeViewToggle) @@ -144,7 +144,7 @@ Pause Stop - XBMC.ActivateWindow(VisualisationPresetList) + ActivateWindow(VisualisationPresetList) CodecInfo Info OSD diff --git a/system/keymaps/joystick.Alienware.Dual.Compatible.Controller.xml b/system/keymaps/joystick.Alienware.Dual.Compatible.Controller.xml index d9872d6e8c..0e3a02ccbc 100644 --- a/system/keymaps/joystick.Alienware.Dual.Compatible.Controller.xml +++ b/system/keymaps/joystick.Alienware.Dual.Compatible.Controller.xml @@ -19,7 +19,7 @@ - + @@ -50,9 +50,9 @@ - + - + AnalogSeekBack AnalogSeekForward diff --git a/system/keymaps/joystick.AppleRemote.xml b/system/keymaps/joystick.AppleRemote.xml index bf1fcb8277..fa6335a3db 100644 --- a/system/keymaps/joystick.AppleRemote.xml +++ b/system/keymaps/joystick.AppleRemote.xml @@ -19,7 +19,7 @@ - + @@ -84,7 +84,7 @@ - + diff --git a/system/keymaps/joystick.Harmony.xml b/system/keymaps/joystick.Harmony.xml index 3ab4104b8e..1567cd7d3f 100644 --- a/system/keymaps/joystick.Harmony.xml +++ b/system/keymaps/joystick.Harmony.xml @@ -19,7 +19,7 @@ - + @@ -84,37 +84,37 @@ - - - - + + + + - - - + + + - + - + - + - + - + - - - - + + + + @@ -208,8 +208,8 @@ - - + + diff --git a/system/keymaps/joystick.Interact.AxisPad.xml b/system/keymaps/joystick.Interact.AxisPad.xml index 922642aefd..2d292474fc 100644 --- a/system/keymaps/joystick.Interact.AxisPad.xml +++ b/system/keymaps/joystick.Interact.AxisPad.xml @@ -19,7 +19,7 @@ - + @@ -50,7 +50,7 @@ - + AnalogSeekBack diff --git a/system/keymaps/joystick.Logitech.RumblePad.2.xml b/system/keymaps/joystick.Logitech.RumblePad.2.xml index 5e1bb71ba0..6d1485274d 100644 --- a/system/keymaps/joystick.Logitech.RumblePad.2.xml +++ b/system/keymaps/joystick.Logitech.RumblePad.2.xml @@ -9,7 +9,7 @@ - + @@ -31,7 +31,7 @@ Logitech Cordless RumblePad 2 Logitech RumblePad 2 USB - + @@ -97,7 +97,7 @@ Logitech RumblePad 2 USB - + diff --git a/system/keymaps/joystick.Microsoft.Xbox.360.Controller.xml b/system/keymaps/joystick.Microsoft.Xbox.360.Controller.xml index 22bcd95545..f4fda0de1e 100644 --- a/system/keymaps/joystick.Microsoft.Xbox.360.Controller.xml +++ b/system/keymaps/joystick.Microsoft.Xbox.360.Controller.xml @@ -14,7 +14,7 @@ - + @@ -99,10 +99,10 @@ - + - - + + @@ -141,10 +141,10 @@ - - - - + + + + @@ -183,7 +183,7 @@ Xbox Receiver for Windows (Wireless Controller) Xbox wireless receiver for windows (Controller) Gamepad F310 (Controller) - + BigBen Interactive XBOX 360 Controller @@ -195,7 +195,7 @@ Pelican PL-3601 'TSZ' Wired Xbox 360 Controller Xbox 360 Wireless Receiver Xbox 360 Wireless Receiver (XBOX) - + @@ -335,8 +335,8 @@ - - + + @@ -542,10 +542,10 @@ Gamepad F310 (Controller) - - + + - + @@ -569,10 +569,10 @@ Xbox 360 Wireless Receiver (XBOX) - - + + - + diff --git a/system/keymaps/joystick.Microsoft.Xbox.Controller.S.xml b/system/keymaps/joystick.Microsoft.Xbox.Controller.S.xml index e2697e84dc..897f6fcaea 100644 --- a/system/keymaps/joystick.Microsoft.Xbox.Controller.S.xml +++ b/system/keymaps/joystick.Microsoft.Xbox.Controller.S.xml @@ -19,7 +19,7 @@ - + @@ -49,10 +49,10 @@ + - + @@ -71,7 +71,7 @@ Mad Catz MicroCON Logitech Xbox Cordless Controller Microsoft X-Box pad (Japan) - + @@ -179,7 +179,7 @@ - + diff --git a/system/keymaps/joystick.Nintendo.Wii.U.Pro.Controller.xml b/system/keymaps/joystick.Nintendo.Wii.U.Pro.Controller.xml index 4ada215aa9..2b0d422545 100644 --- a/system/keymaps/joystick.Nintendo.Wii.U.Pro.Controller.xml +++ b/system/keymaps/joystick.Nintendo.Wii.U.Pro.Controller.xml @@ -52,11 +52,11 @@ - + - - + + diff --git a/system/keymaps/joystick.PS3.Remote.Keyboard.xml b/system/keymaps/joystick.PS3.Remote.Keyboard.xml index f930059260..4bc629cc09 100644 --- a/system/keymaps/joystick.PS3.Remote.Keyboard.xml +++ b/system/keymaps/joystick.PS3.Remote.Keyboard.xml @@ -19,7 +19,7 @@ - + @@ -50,7 +50,7 @@ - + Left Right Up diff --git a/system/keymaps/joystick.Sony.PLAYSTATION(R)3.Controller.xml b/system/keymaps/joystick.Sony.PLAYSTATION(R)3.Controller.xml index 1dc997b31e..ae4b4b8a6f 100644 --- a/system/keymaps/joystick.Sony.PLAYSTATION(R)3.Controller.xml +++ b/system/keymaps/joystick.Sony.PLAYSTATION(R)3.Controller.xml @@ -19,7 +19,7 @@ - + @@ -51,8 +51,8 @@ - - + + VolumeDown VolumeUp AnalogSeekForward diff --git a/system/keymaps/joystick.WiiRemote.xml b/system/keymaps/joystick.WiiRemote.xml index aedeec5c47..1e1d42b9f9 100644 --- a/system/keymaps/joystick.WiiRemote.xml +++ b/system/keymaps/joystick.WiiRemote.xml @@ -19,7 +19,7 @@ - + @@ -45,17 +45,17 @@ - + - + - - + + @@ -126,7 +126,7 @@ - + @@ -139,8 +139,8 @@ - - + + diff --git a/system/keymaps/joystick.xml.sample b/system/keymaps/joystick.xml.sample index 001e5e2903..ddaa88c801 100644 --- a/system/keymaps/joystick.xml.sample +++ b/system/keymaps/joystick.xml.sample @@ -42,10 +42,10 @@ - + - - + + @@ -70,7 +70,7 @@ - + @@ -166,10 +166,10 @@ - - + + - + diff --git a/system/keymaps/keyboard.xml b/system/keymaps/keyboard.xml index c162aa867d..c764b41996 100644 --- a/system/keymaps/keyboard.xml +++ b/system/keymaps/keyboard.xml @@ -19,7 +19,7 @@ - + @@ -99,11 +99,11 @@ ActivateWindow(shutdownmenu) ActivateWindow(shutdownmenu) - XBMC.ActivateWindow(TVGuide) - XBMC.ActivateWindow(TVChannels) - XBMC.ActivateWindow(RadioChannels) - XBMC.ActivateWindow(TVRecordings) - XBMC.ActivateWindow(TVTimers) + ActivateWindow(TVGuide) + ActivateWindow(TVChannels) + ActivateWindow(RadioChannels) + ActivateWindow(TVRecordings) + ActivateWindow(TVTimers) Back @@ -111,7 +111,7 @@ ActivateWindow(Favourites) - XBMC.ActivateWindow(Home) + ActivateWindow(Home) Mute VolumeDown VolumeUp @@ -123,7 +123,7 @@ Rewind - XBMC.ActivateWindow(MyMusic) + ActivateWindow(MyMusic) ActivateWindow(MyPrograms) ActivateWindow(MyPrograms) @@ -158,13 +158,13 @@ - XBMC.ShutDown() + ShutDown() info - XBMC.ShutDown() + ShutDown() @@ -268,7 +268,7 @@ AudioDelay Fullscreen Playlist - XBMC.ActivateWindow(Teletext) + ActivateWindow(Teletext) SubtitleShiftUp SubtitleShiftDown SkipNext @@ -318,8 +318,8 @@ CodecInfo LockPreset FullScreen - XBMC.ActivateWindow(PVROSDGuide) - XBMC.ActivateWindow(PVROSDChannels) + ActivateWindow(PVROSDGuide) + ActivateWindow(PVROSDChannels) diff --git a/system/keymaps/nyxboard/keyboard.xml b/system/keymaps/nyxboard/keyboard.xml index dc50bd69cf..7075f3934c 100644 --- a/system/keymaps/nyxboard/keyboard.xml +++ b/system/keymaps/nyxboard/keyboard.xml @@ -3,7 +3,7 @@ - XBMC.ActivateWindow(Home) + ActivateWindow(Home) OSD ActivateWindow(video) ActivateWindow(music) diff --git a/system/keymaps/remote.xml b/system/keymaps/remote.xml index 3b7ddfc0d3..f1f851a813 100644 --- a/system/keymaps/remote.xml +++ b/system/keymaps/remote.xml @@ -19,7 +19,7 @@ - + @@ -60,24 +60,24 @@ FullScreen PreviousMenu Record - XBMC.EjectTray() + EjectTray() VolumeUp VolumeDown Mute - XBMC.ShutDown() - XBMC.ActivateWindow(MyVideos) - XBMC.ActivateWindow(MyMusic) - XBMC.ActivateWindow(MyPictures) - XBMC.ActivateWindow(TVChannels) - XBMC.ActivateWindow(TVGuide) - XBMC.ActivateWindow(TVChannels) - XBMC.ActivateWindow(RadioChannels) - XBMC.ActivateWindow(TVRecordings) - XBMC.ActivateWindow(TVSearch) - XBMC.ActivateWindow(TVChannels) - XBMC.ActivateWindow(MyVideos) - XBMC.ActivateWindow(MyMusic) - XBMC.ActivateWindow(MyPictures) + ShutDown() + ActivateWindow(MyVideos) + ActivateWindow(MyMusic) + ActivateWindow(MyPictures) + ActivateWindow(TVChannels) + ActivateWindow(TVGuide) + ActivateWindow(TVChannels) + ActivateWindow(RadioChannels) + ActivateWindow(TVRecordings) + ActivateWindow(TVSearch) + ActivateWindow(TVChannels) + ActivateWindow(MyVideos) + ActivateWindow(MyMusic) + ActivateWindow(MyPictures) Number0 Number1 JumpSMS2 @@ -93,9 +93,9 @@ - XBMC.ActivateWindow(SystemInfo) - XBMC.ActivateWindow(Weather) - XBMC.ActivateWindow(Settings) + ActivateWindow(SystemInfo) + ActivateWindow(Weather) + ActivateWindow(Settings) @@ -187,8 +187,8 @@ CodecInfo Info - XBMC.ActivateWindow(PVROSDGuide) - XBMC.ActivateWindow(Teletext) + ActivateWindow(PVROSDGuide) + ActivateWindow(Teletext) NextSubtitle NextSubtitle AudioNextLanguage @@ -224,12 +224,12 @@ DecreaseRating Back CodecInfo - + OSD OSD Info - XBMC.ActivateWindow(PVROSDGuide) - XBMC.ActivateWindow(PVROSDChannels) + ActivateWindow(PVROSDGuide) + ActivateWindow(PVROSDChannels) diff --git a/system/peripherals.xml b/system/peripherals.xml index a906628994..57af5d13a0 100644 --- a/system/peripherals.xml +++ b/system/peripherals.xml @@ -4,7 +4,7 @@ - + diff --git a/tools/EventClients/Clients/Kodi Send/kodi-send.py b/tools/EventClients/Clients/Kodi Send/kodi-send.py index a49a4db0c1..f4a6527def 100755 --- a/tools/EventClients/Clients/Kodi Send/kodi-send.py +++ b/tools/EventClients/Clients/Kodi Send/kodi-send.py @@ -31,7 +31,7 @@ except: def usage(): print "kodi-send [OPTION] --action=ACTION" print 'Example' - print '\tkodi-send --host=192.168.0.1 --port=9777 --action="XBMC.Quit"' + print '\tkodi-send --host=192.168.0.1 --port=9777 --action="Quit"' print "Options" print "\t-?, --help\t\t\tWill bring up this message" print "\t--host=HOST\t\t\tChoose what HOST to connect to (default=localhost)" diff --git a/tools/EventClients/examples/python/example_action.py b/tools/EventClients/examples/python/example_action.py index d5ab9cf61c..2e84bc1573 100755 --- a/tools/EventClients/examples/python/example_action.py +++ b/tools/EventClients/examples/python/example_action.py @@ -27,7 +27,7 @@ def main(): xbmc.send_action(sys.argv[1], ACTION_EXECBUILTIN) except Exception, e: print str(e) - xbmc.send_action("XBMC.ActivateWindow(ShutdownMenu)") + xbmc.send_action("ActivateWindow(ShutdownMenu)") # ok we're done, close the connection diff --git a/xbmc/Autorun.cpp b/xbmc/Autorun.cpp index 533de8e0a9..dfe4cc0d23 100644 --- a/xbmc/Autorun.cpp +++ b/xbmc/Autorun.cpp @@ -351,7 +351,7 @@ bool CAutorun::RunDisc(IDirectory* pDir, const CStdString& strDrive, int& nAdded && (bypassSettings)) { bPlaying = true; - CStdString strExec = StringUtils::Format("XBMC.RecursiveSlideShow(%s)", pItem->GetPath().c_str()); + CStdString strExec = StringUtils::Format("RecursiveSlideShow(%s)", pItem->GetPath().c_str()); CBuiltins::Execute(strExec); return true; } @@ -428,7 +428,7 @@ bool CAutorun::RunDisc(IDirectory* pDir, const CStdString& strDrive, int& nAdded if (!pItem->m_bIsFolder && pItem->IsPicture()) { bPlaying = true; - CStdString strExec = StringUtils::Format("XBMC.RecursiveSlideShow(%s)", strDrive.c_str()); + CStdString strExec = StringUtils::Format("RecursiveSlideShow(%s)", strDrive.c_str()); CBuiltins::Execute(strExec); break; } diff --git a/xbmc/input/ButtonTranslator.h b/xbmc/input/ButtonTranslator.h index 740810ac26..59e12dad37 100644 --- a/xbmc/input/ButtonTranslator.h +++ b/xbmc/input/ButtonTranslator.h @@ -39,7 +39,7 @@ class TiXmlNode; struct CButtonAction { int id; - std::string strID; // needed for "XBMC.ActivateWindow()" type actions + std::string strID; // needed for "ActivateWindow()" type actions }; /// /// singleton class to map from buttons to actions diff --git a/xbmc/interfaces/Builtins.cpp b/xbmc/interfaces/Builtins.cpp index a88e145e1c..72be36cbf2 100644 --- a/xbmc/interfaces/Builtins.cpp +++ b/xbmc/interfaces/Builtins.cpp @@ -258,7 +258,7 @@ void CBuiltins::GetHelp(std::string &help) int CBuiltins::Execute(const std::string& execString) { - // Get the text after the "XBMC." + // Deprecated. Get the text after the "XBMC." std::string execute; vector params; CUtil::SplitExecFunction(execString, execute, params); @@ -545,7 +545,7 @@ int CBuiltins::Execute(const std::string& execString) g_RarManager.ExtractArchive(params[0],strDestDirect); #endif else - CLog::Log(LOGERROR, "XBMC.Extract, No archive given"); + CLog::Log(LOGERROR, "Extract, No archive given"); } else if (execute == "runplugin") { @@ -560,7 +560,7 @@ int CBuiltins::Execute(const std::string& execString) } else { - CLog::Log(LOGERROR, "XBMC.RunPlugin called with no arguments."); + CLog::Log(LOGERROR, "RunPlugin called with no arguments."); } } else if (execute == "runaddon") @@ -614,7 +614,7 @@ int CBuiltins::Execute(const std::string& execString) } else { - CLog::Log(LOGERROR, "XBMC.RunAddon called with no arguments."); + CLog::Log(LOGERROR, "RunAddon called with no arguments."); } } else if (execute == "notifyall") @@ -628,13 +628,13 @@ int CBuiltins::Execute(const std::string& execString) ANNOUNCEMENT::CAnnouncementManager::Get().Announce(ANNOUNCEMENT::Other, params[0].c_str(), params[1].c_str(), data); } else - CLog::Log(LOGERROR, "XBMC.NotifyAll needs two parameters"); + CLog::Log(LOGERROR, "NotifyAll needs two parameters"); } else if (execute == "playmedia") { if (!params.size()) { - CLog::Log(LOGERROR, "XBMC.PlayMedia called with empty parameter"); + CLog::Log(LOGERROR, "PlayMedia called with empty parameter"); return -3; } @@ -733,7 +733,7 @@ int CBuiltins::Execute(const std::string& execString) // play media if (!g_application.PlayMedia(item, playlist)) { - CLog::Log(LOGERROR, "XBMC.PlayMedia could not play media: %s", params[0].c_str()); + CLog::Log(LOGERROR, "PlayMedia could not play media: %s", params[0].c_str()); return false; } } @@ -742,7 +742,7 @@ int CBuiltins::Execute(const std::string& execString) { if (!params.size()) { - CLog::Log(LOGERROR, "XBMC.ShowPicture called with empty parameter"); + CLog::Log(LOGERROR, "ShowPicture called with empty parameter"); return -2; } CGUIMessage msg(GUI_MSG_SHOW_PICTURE, 0, 0); @@ -754,7 +754,7 @@ int CBuiltins::Execute(const std::string& execString) { if (!params.size()) { - CLog::Log(LOGERROR, "XBMC.SlideShow called with empty parameter"); + CLog::Log(LOGERROR, "SlideShow called with empty parameter"); return -2; } std::string beginSlidePath; @@ -810,7 +810,7 @@ int CBuiltins::Execute(const std::string& execString) g_application.WakeUpScreenSaverAndDPMS(); if (!params.size()) { - CLog::Log(LOGERROR, "XBMC.PlayerControl called with empty parameter"); + CLog::Log(LOGERROR, "PlayerControl called with empty parameter"); return -3; } if (paramlow == "play") @@ -1441,7 +1441,7 @@ int CBuiltins::Execute(const std::string& execString) if (!g_application.IsVideoScanning()) g_application.StartVideoCleanup(userInitiated); else - CLog::Log(LOGERROR, "XBMC.CleanLibrary is not possible while scanning or cleaning"); + CLog::Log(LOGERROR, "CleanLibrary is not possible while scanning or cleaning"); } else if (StringUtils::EqualsNoCase(params[0], "music")) { @@ -1454,7 +1454,7 @@ int CBuiltins::Execute(const std::string& execString) musicdatabase.Close(); } else - CLog::Log(LOGERROR, "XBMC.CleanLibrary is not possible while scanning for media info"); + CLog::Log(LOGERROR, "CleanLibrary is not possible while scanning for media info"); } } else if (execute == "exportlibrary" && !params.empty()) diff --git a/xbmc/interfaces/legacy/ListItem.h b/xbmc/interfaces/legacy/ListItem.h index 535e4b07c9..588b855b0c 100644 --- a/xbmc/interfaces/legacy/ListItem.h +++ b/xbmc/interfaces/legacy/ListItem.h @@ -288,7 +288,7 @@ namespace XBMCAddon * Once you use a keyword, all following arguments require the keyword.\n * \n * example: - * - listitem.addContextMenuItems([('Theater Showtimes', 'XBMC.RunScript(special://home/scripts/showtimes/default.py,Iron Man)',)])n + * - listitem.addContextMenuItems([('Theater Showtimes', 'RunScript(special://home/scripts/showtimes/default.py,Iron Man)',)])n */ void addContextMenuItems(const std::vector >& items, bool replaceItems = false) throw (ListItemException); diff --git a/xbmc/interfaces/legacy/ModuleXbmc.h b/xbmc/interfaces/legacy/ModuleXbmc.h index 30620a7942..b534741ff4 100644 --- a/xbmc/interfaces/legacy/ModuleXbmc.h +++ b/xbmc/interfaces/legacy/ModuleXbmc.h @@ -89,7 +89,7 @@ namespace XBMCAddon * List of functions - http://wiki.xbmc.org/?title=List_of_Built_In_Functions * * example: - * - xbmc.executebuiltin('XBMC.RunXBE(c:\\avalaunch.xbe)') + * - xbmc.executebuiltin('RunXBE(c:\\avalaunch.xbe)') */ void executebuiltin(const char* function, bool wait = false); @@ -227,14 +227,14 @@ namespace XBMCAddon void playSFX(const char* filename, bool useCached = true); /** - * stopSFX() -- Stops wav file - * - * example: - * - xbmc.stopSFX() - */ - void stopSFX(); - - /** + * stopSFX() -- Stops wav file + * + * example: + * - xbmc.stopSFX() + */ + void stopSFX(); + + /** * enableNavSounds(yesNo) -- Enables/Disables nav sounds * * yesNo : integer - enable (True) or disable (False) nav sounds diff --git a/xbmc/pvr/PVRManager.cpp b/xbmc/pvr/PVRManager.cpp index ff25c27c33..2b6018ba7a 100644 --- a/xbmc/pvr/PVRManager.cpp +++ b/xbmc/pvr/PVRManager.cpp @@ -129,9 +129,9 @@ void CPVRManager::OnSettingChanged(const CSetting *setting) if (settingId == "pvrmanager.enabled") { if (((CSettingBool*)setting)->GetValue()) - CApplicationMessenger::Get().ExecBuiltIn("XBMC.StartPVRManager", false); + CApplicationMessenger::Get().ExecBuiltIn("StartPVRManager", false); else - CApplicationMessenger::Get().ExecBuiltIn("XBMC.StopPVRManager", false); + CApplicationMessenger::Get().ExecBuiltIn("StopPVRManager", false); } else if (settingId == "pvrparental.enabled") { -- cgit v1.2.3