commit/StationPlaylist: 2 new changesets

  • From: commits-noreply@xxxxxxxxxxxxx
  • To: nvda-addons-commits@xxxxxxxxxxxxx
  • Date: Wed, 24 Jun 2015 22:33:21 -0000

2 new commits in StationPlaylist:

https://bitbucket.org/nvdaaddonteam/stationplaylist/commits/91bfedd96c5d/
Changeset: 91bfedd96c5d
Branch: None
User: josephsl
Date: 2015-06-24 16:49:30+00:00
Summary: 5.1: Enable Track Dial for Track Tool

Affected #: 1 file

diff --git a/addon/appModules/tracktool.py b/addon/appModules/tracktool.py
index a5e55ed..627cd84 100755
--- a/addon/appModules/tracktool.py
+++ b/addon/appModules/tracktool.py
@@ -3,19 +3,19 @@
# Copyright 2014-2015 Joseph Lee and contributors, released under gPL.
# Functionality is based on JFW scripts for SPL Track Tool by Brian Hartgen.

-#import ctypes
+import ctypes
import appModuleHandler
import addonHandler
import api
import tones
-#import speech
-#import braille
+import speech
+import braille
from controlTypes import ROLE_LISTITEM
import ui
-#import winKernel
-#from winUser import sendMessage
-from NVDAObjects.IAccessible import IAccessible #, sysListView32 # Place
holder for add-on 5.1.
-#from splstudio import splconfig
+import winKernel
+from winUser import sendMessage
+from NVDAObjects.IAccessible import IAccessible, sysListView32
+from splstudio import splconfig
addonHandler.initTranslation()

# Track Tool allows a broadcaster to manage track intros, cues and so forth.
Each track is a list item with descriptions such as title, file name, intro
time and so forth.
@@ -33,8 +33,6 @@ class TrackToolItem(IAccessible):
tones.beep(550, 100)
super(TrackToolItem, self).reportFocus()

- # Incubating:
- """
def initOverlayClass(self):
if self.appModule.TTDial:
self.bindGesture("kb:rightArrow", "nextColumn")
@@ -124,17 +122,13 @@ class TrackToolItem(IAccessible):

__gestures={
#"kb:control+`":"toggleTrackDial",
- }"""
- # To be enabled in 5.1 after optimizing the app module.
+ }


class AppModule(appModuleHandler.AppModule):

- #def terminate(self):
- #super(AppModule, self).terminate()
-
- #TTDial = False
- #SPLColNumber = 0
+ TTDial = False
+ SPLColNumber = 0

def chooseNVDAObjectOverlayClasses(self, obj, clsList):
if obj.windowClassName in ("TListView",
"TTntListView.UnicodeClass") and obj.role == ROLE_LISTITEM:


https://bitbucket.org/nvdaaddonteam/stationplaylist/commits/d4c591ce6929/
Changeset: d4c591ce6929
Branch: master
User: josephsl
Date: 2015-06-24 22:32:52+00:00
Summary: Merged Track Dial for Track Tool feature into master

Affected #: 2 files

diff --git a/addon/appModules/tracktool.py b/addon/appModules/tracktool.py
index a5e55ed..627cd84 100755
--- a/addon/appModules/tracktool.py
+++ b/addon/appModules/tracktool.py
@@ -3,19 +3,19 @@
# Copyright 2014-2015 Joseph Lee and contributors, released under gPL.
# Functionality is based on JFW scripts for SPL Track Tool by Brian Hartgen.

-#import ctypes
+import ctypes
import appModuleHandler
import addonHandler
import api
import tones
-#import speech
-#import braille
+import speech
+import braille
from controlTypes import ROLE_LISTITEM
import ui
-#import winKernel
-#from winUser import sendMessage
-from NVDAObjects.IAccessible import IAccessible #, sysListView32 # Place
holder for add-on 5.1.
-#from splstudio import splconfig
+import winKernel
+from winUser import sendMessage
+from NVDAObjects.IAccessible import IAccessible, sysListView32
+from splstudio import splconfig
addonHandler.initTranslation()

# Track Tool allows a broadcaster to manage track intros, cues and so forth.
Each track is a list item with descriptions such as title, file name, intro
time and so forth.
@@ -33,8 +33,6 @@ class TrackToolItem(IAccessible):
tones.beep(550, 100)
super(TrackToolItem, self).reportFocus()

- # Incubating:
- """
def initOverlayClass(self):
if self.appModule.TTDial:
self.bindGesture("kb:rightArrow", "nextColumn")
@@ -124,17 +122,13 @@ class TrackToolItem(IAccessible):

__gestures={
#"kb:control+`":"toggleTrackDial",
- }"""
- # To be enabled in 5.1 after optimizing the app module.
+ }


class AppModule(appModuleHandler.AppModule):

- #def terminate(self):
- #super(AppModule, self).terminate()
-
- #TTDial = False
- #SPLColNumber = 0
+ TTDial = False
+ SPLColNumber = 0

def chooseNVDAObjectOverlayClasses(self, obj, clsList):
if obj.windowClassName in ("TListView",
"TTntListView.UnicodeClass") and obj.role == ROLE_LISTITEM:

diff --git a/readme.md b/readme.md
index c313286..0c8cb5b 100755
--- a/readme.md
+++ b/readme.md
@@ -119,7 +119,7 @@ To learn cart assignments, from SPL Studio, press
Control+NVDA+3. Pressing the c

## Track Dial

-You can use arrow keys to review various information about a track. To turn
Track Dial on, while a track is focused in the main playlist viewer, press
Control+Grave. Then use left and right arrow keys to review information such as
artist, duration and so on.
+You can use arrow keys to review various information about a track. To turn
Track Dial on, while a track is focused in the main playlist viewer, press the
command you assigned for toggling Track Dial. Then use left and right arrow
keys to review information such as artist, duration and so on.

## Configuration dialog

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: