commit/StationPlaylist: josephsl: Config management (7.0-dev): Install tasks will convert audio ducking reminder setting to the new format when upgrading from 6.x to 7.0.

  • From: commits-noreply@xxxxxxxxxxxxx
  • To: nvda-addons-commits@xxxxxxxxxxxxx
  • Date: Fri, 15 Jan 2016 06:18:20 -0000

1 new commit in StationPlaylist:

https://bitbucket.org/nvdaaddonteam/stationplaylist/commits/7dd132c0de05/
Changeset:   7dd132c0de05
Branch:      master
User:        josephsl
Date:        2016-01-15 06:17:45+00:00
Summary:     Config management (7.0-dev): Install tasks will convert audio 
ducking reminder setting to the new format when upgrading from 6.x to 7.0.

Affected #:  1 file

diff --git a/addon/installTasks.py b/addon/installTasks.py
index a6775ca..84cf354 100755
--- a/addon/installTasks.py
+++ b/addon/installTasks.py
@@ -39,8 +39,8 @@ SayListenerCount = boolean(default=true)
 SayPlayingCartName = boolean(default=true)
 SayPlayingTrackName = string(default="True")
 SPLConPassthrough = boolean(default=false)
-CompatibilityLayer = option("off", "jfw", "wineyes", default="off")
-AutoUpdateCheck = boolean(default=true)
+CompatibilityLayer = option("off", "jfw", default="off")
+AudioDuckingReminder = boolean(default=true)
 """), encoding="UTF-8", list_values=False)
 confspec.newlines = "\r\n"
 
@@ -70,14 +70,14 @@ _conversionConfig = {
        "SayPlayingTrackName":"SayStatus",
        "SPLConPassthrough":"Advanced",
        "CompatibilityLayer":"Advanced",
-       "AutoUpdateCheck":"Update",
+       "AudioDuckingReminder":"Startup",
 }
 
 # Invoked when upgrading to 7.0 (to be removed in 7.2).
 def config6to7(path):
        profile = ConfigObj(path, configspec = confspec, encoding="UTF-8")
        # Optimization: no need to convert if sectionized.
-       for section in ["General", "IntroOutroAlarms", "MicrophoneAlarm", 
"ColumnAnnouncement", "MetadataStreaming", "SayStatus", "Advanced", "Update"]:
+       for section in ["General", "IntroOutroAlarms", "MicrophoneAlarm", 
"ColumnAnnouncement", "MetadataStreaming", "SayStatus", "Advanced", "Startup"]:
                if section in profile:
                        return
        # For now, manually convert.

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: Config management (7.0-dev): Install tasks will convert audio ducking reminder setting to the new format when upgrading from 6.x to 7.0. - commits-noreply