Merge pull request #4568 from MartijnKaijser/fix_pydoc2
authorTrent Nelson <trent.a.b.nelson@gmail.com>
Wed, 16 Apr 2014 15:11:35 +0000 (09:11 -0600)
committerTrent Nelson <trent.a.b.nelson@gmail.com>
Wed, 16 Apr 2014 22:07:11 +0000 (16:07 -0600)
[pydocs] update xbmc.PlaySFX example after 770091c

xbmc/interfaces/legacy/ModuleXbmc.h

index cb225f9..16b5383 100644 (file)
@@ -48,7 +48,8 @@ namespace XBMCAddon
      * \n
      * Text is written to the log for the following conditions.\n
      *           XBMC loglevel == -1 (NONE, nothing at all is logged)\n
-     *           XBMC loglevel == 0 (NORMAL, shows LOGNOTICE, LOGERROR, LOGSEVERE and LOGFATAL)     *           XBMC loglevel == 1 (DEBUG, shows all)\n
+     *           XBMC loglevel == 0 (NORMAL, shows LOGNOTICE, LOGERROR, LOGSEVERE and LOGFATAL)     
+     *           XBMC loglevel == 1 (DEBUG, shows all)\n
      *           See pydocs for valid values for level.\n
      *           
      *           example:
@@ -220,13 +221,14 @@ namespace XBMCAddon
     String getInfoImage(const char * infotag);
 
     /**
-     * playSFX(filename) -- Plays a wav file by filename
+     * playSFX(filename,[useCached]) -- Plays a wav file by filename
      * 
      * filename       : string - filename of the wav file to play.
      * useCached      : [opt] bool - False = Dump any previously cached wav associated with filename
      * 
      * example:
-     *   - xbmc.playSFX('special://xbmc/scripts/dingdong.wav')
+     *   - xbmc.playSFX('special://xbmc/scripts/dingdong.wav')\n
+     *   - xbmc.playSFX('special://xbmc/scripts/dingdong.wav',False)
      */
     void playSFX(const char* filename, bool useCached = true);