commit/StationPlaylist: josephsl: Encoder support (7.0-dev): Make sure connection tone flags are properly initialized, remove unnecessary debug flag in SAM encoder's connection reporter.

  • From: commits-noreply@xxxxxxxxxxxxx
  • To: nvda-addons-commits@xxxxxxxxxxxxx
  • Date: Wed, 27 Jan 2016 20:35:50 -0000

1 new commit in StationPlaylist:

https://bitbucket.org/nvdaaddonteam/stationplaylist/commits/15f4499a84c4/
Changeset:   15f4499a84c4
Branch:      master
User:        josephsl
Date:        2016-01-27 20:35:29+00:00
Summary:     Encoder support (7.0-dev): Make sure connection tone flags are 
properly initialized, remove unnecessary debug flag in SAM encoder's connection 
reporter.

Affected #:  1 file

diff --git a/addon/globalPlugins/SPLStudioUtils/encoders.py 
b/addon/globalPlugins/SPLStudioUtils/encoders.py
index 369faf7..1cbed13 100755
--- a/addon/globalPlugins/SPLStudioUtils/encoders.py
+++ b/addon/globalPlugins/SPLStudioUtils/encoders.py
@@ -48,7 +48,7 @@ streamLabels = None
 
 # Load stream labels (and possibly other future goodies) from a file-based 
database.
 def loadStreamLabels():
-       global streamLabels, SAMStreamLabels, SPLStreamLabels, 
SPLFocusToStudio, SPLPlayAfterConnecting, SPLBackgroundMonitor
+       global streamLabels, SAMStreamLabels, SPLStreamLabels, 
SPLFocusToStudio, SPLPlayAfterConnecting, SPLBackgroundMonitor, 
SPLNoConnectionTone
        streamLabels = ConfigObj(os.path.join(globalVars.appArgs.configPath, 
"splStreamLabels.ini"))
        # Read stream labels.
        try:
@@ -534,7 +534,6 @@ class SAMEncoder(Encoder):
                                                
fetchSPLForegroundWindow().setFocus()
                                        except AttributeError:
                                                pass
-                               focused = True
                                if self.playAfterConnecting and not encoding:
                                        # Do not interupt the currently playing 
track.
                                        if winUser.sendMessage(SPLWin, SPLMSG, 
0, SPL_TrackPlaybackStatus) == 0:

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: Encoder support (7.0-dev): Make sure connection tone flags are properly initialized, remove unnecessary debug flag in SAM encoder's connection reporter. - commits-noreply