3 new commits in StationPlaylist: https://bitbucket.org/nvdaaddonteam/stationplaylist/commits/55c375a4d211/ Changeset: 55c375a4d211 Branch: None User: josephsl Date: 2014-12-03 00:40:47+00:00 Summary: Braille Timer (4.0/legacy): allow braille timer to show remaining time for the track and its intro regardless of alarm time value. Affected #: 1 file diff --git a/addon/appModules/splstudio.py b/addon/appModules/splstudio.py index 2b9cae6..9540da8 100644 --- a/addon/appModules/splstudio.py +++ b/addon/appModules/splstudio.py @@ -177,13 +177,13 @@ class AppModule(appModuleHandler.AppModule): elif obj.windowClassName == "TStaticText": # For future extensions. if obj.simplePrevious != None and obj.simplePrevious.name == "Remaining Time": # End of track for SPL 5.x. - if self.brailleTimer in [self.brailleTimerEnding, self.brailleTimerBoth] and "00:00" < obj.name <= self.SPLEndOfTrackTime: + if self.brailleTimer in [self.brailleTimerEnding, self.brailleTimerBoth]: #and "00:00" < obj.name <= self.SPLEndOfTrackTime: braille.handler.message(obj.name) if obj.name == self.SPLEndOfTrackTime: tones.beep(440, 200) elif obj.simplePrevious != None and obj.simplePrevious.name == "Remaining Song Ramp": # Song intro for SPL 5.x. - if self.brailleTimer in [self.brailleTimerIntro, self.brailleTimerBoth] and "00:00" < obj.name <= self.SPLSongRampTime: + if self.brailleTimer in [self.brailleTimerIntro, self.brailleTimerBoth]: #and "00:00" < obj.name <= self.SPLSongRampTime: braille.handler.message(obj.name) if obj.name == self.SPLSongRampTime: tones.beep(512, 400) https://bitbucket.org/nvdaaddonteam/stationplaylist/commits/b80e8d1033ff/ Changeset: b80e8d1033ff Branch: None User: josephsl Date: 2014-12-03 00:41:31+00:00 Summary: Braille Timer (4.0/legacy): allow braille timer to show remaining time for the track and its intro regardless of alarm time value. Affected #: 1 file diff --git a/addon/appModules/splstudio.py b/addon/appModules/splstudio.py index dc7f3a5..b298c8c 100644 --- a/addon/appModules/splstudio.py +++ b/addon/appModules/splstudio.py @@ -198,13 +198,13 @@ class AppModule(appModuleHandler.AppModule): tones.beep(512, 400) elif obj.simplePrevious != None and obj.simplePrevious.name == "Remaining Time": # End of track for SPL 5.x. - if self.brailleTimer in [self.brailleTimerEnding, self.brailleTimerBoth] and "00:00" < obj.name <= self.SPLEndOfTrackTime: + if self.brailleTimer in [self.brailleTimerEnding, self.brailleTimerBoth]: #and "00:00" < obj.name <= self.SPLEndOfTrackTime: braille.handler.message(obj.name) if obj.name == self.SPLEndOfTrackTime: tones.beep(440, 200) elif obj.simplePrevious != None and obj.simplePrevious.name == "Remaining Song Ramp": # Song intro for SPL 5.x. - if self.brailleTimer in [self.brailleTimerIntro, self.brailleTimerBoth] and "00:00" < obj.name <= self.SPLSongRampTime: + if self.brailleTimer in [self.brailleTimerIntro, self.brailleTimerBoth]: #and "00:00" < obj.name <= self.SPLSongRampTime: braille.handler.message(obj.name) if obj.name == self.SPLSongRampTime: tones.beep(512, 400) https://bitbucket.org/nvdaaddonteam/stationplaylist/commits/b716c8b1f86c/ Changeset: b716c8b1f86c Branch: legacy User: josephsl Date: 2014-12-03 00:43:34+00:00 Summary: Legacy: port braille counter changes to SPL 4.x. Affected #: 1 file diff --git a/addon/appModules/splstudio.py b/addon/appModules/splstudio.py index b298c8c..c059856 100644 --- a/addon/appModules/splstudio.py +++ b/addon/appModules/splstudio.py @@ -186,13 +186,13 @@ class AppModule(appModuleHandler.AppModule): elif obj.windowClassName == "TStaticText": # For future extensions. if obj.simpleParent.name == "Remaining Time": # End of track for SPL 4.x. - if self.brailleTimer in [self.brailleTimerEnding, self.brailleTimerBoth] and "00:00" < obj.name <= self.SPLEndOfTrackTime: + if self.brailleTimer in [self.brailleTimerEnding, self.brailleTimerBoth]: #and "00:00" < obj.name <= self.SPLEndOfTrackTime: braille.handler.message(obj.name) if obj.name == self.SPLEndOfTrackTime: tones.beep(440, 200) elif obj.simpleParent.name == "Remaining Song Ramp": # Song intro for SPL 4.x. - if self.brailleTimer in [self.brailleTimerIntro, self.brailleTimerBoth] and "00:00" < obj.name <= self.SPLSongRampTime: + if self.brailleTimer in [self.brailleTimerIntro, self.brailleTimerBoth]: #and "00:00" < obj.name <= self.SPLSongRampTime: braille.handler.message(obj.name) if obj.name == self.SPLSongRampTime: tones.beep(512, 400) 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.