commit/StationPlaylist: josephsl: Beeps will not be heard when NVDA is told to not play alarm sounds in app module.

  • From: commits-noreply@xxxxxxxxxxxxx
  • To: nvda-addons-commits@xxxxxxxxxxxxx
  • Date: Sun, 22 Mar 2015 21:27:53 -0000

1 new commit in StationPlaylist:

https://bitbucket.org/nvdaaddonteam/stationplaylist/commits/8d2e9437768e/
Changeset:   8d2e9437768e
Branch:      master
User:        josephsl
Date:        2015-03-22 21:27:40+00:00
Summary:     Beeps will not be heard when NVDA is told to not play alarm sounds 
in app module.

Affected #:  2 files

diff --git a/addon/appModules/splstudio/__init__.py 
b/addon/appModules/splstudio/__init__.py
index 99b7967..8978c6a 100755
--- a/addon/appModules/splstudio/__init__.py
+++ b/addon/appModules/splstudio/__init__.py
@@ -349,13 +349,15 @@ class AppModule(appModuleHandler.AppModule):
                                        # End of track for SPL 5.x.
                                        if splconfig.SPLConfig["BrailleTimer"] 
in ("outro", "both") and api.getForegroundObject().processID == self.processID: 
#and "00:00" < obj.name <= self.SPLEndOfTrackTime:
                                                
braille.handler.message(obj.name)
-                                       if obj.name == 
"00:{0:02d}".format(splconfig.SPLConfig["EndOfTrackTime"]):
+                                       if (obj.name == 
"00:{0:02d}".format(splconfig.SPLConfig["EndOfTrackTime"])
+                                       and 
splconfig.SPLConfig["SayEndOfTrack"]):
                                                tones.beep(440, 200)
                                if obj.simplePrevious.name == "Remaining Song 
Ramp":
                                        # Song intro for SPL 5.x.
                                        if splconfig.SPLConfig["BrailleTimer"] 
in ("intro", "both") and api.getForegroundObject().processID == self.processID: 
#and "00:00" < obj.name <= self.SPLSongRampTime:
                                                
braille.handler.message(obj.name)
-                                       if obj.name == 
"00:{0:02d}".format(splconfig.SPLConfig["SongRampTime"]):
+                                       if (obj.name == 
"00:{0:02d}".format(splconfig.SPLConfig["SongRampTime"])
+                                       and splconfig.SPLConfig["SaySongRamp"]):
                                                tones.beep(512, 400)
                nextHandler()
 

diff --git a/addon/globalPlugins/SPLStudioUtils/__init__.py 
b/addon/globalPlugins/SPLStudioUtils/__init__.py
index 91d0b39..8658a70 100755
--- a/addon/globalPlugins/SPLStudioUtils/__init__.py
+++ b/addon/globalPlugins/SPLStudioUtils/__init__.py
@@ -95,7 +95,7 @@ def fetchSPLForegroundWindow():
 class GlobalPlugin(globalPluginHandler.GlobalPlugin):
 
        # Translators: Script category for Station Playlist commands in input 
gestures dialog.
-       scriptCategory = _("Station Playlist Studio")
+       scriptCategory = _("StationPlaylist Studio")
 
 
        # Do some initialization, such as stream labels for SAM encoders.

Repository URL: https://bitbucket.org/nvdaaddonteam/stationplaylist/

--

This is a commit notification from bitbucket.org. You are receiving
this because you have the service enabled, addressing the recipient of
this email.

Other related posts:

  • » commit/StationPlaylist: josephsl: Beeps will not be heard when NVDA is told to not play alarm sounds in app module. - commits-noreply