diff --git a/plugins/miscellanea/autostart/UIConfig.json b/plugins/miscellanea/autostart/UIConfig.json index 4abec4f1f..a13308961 100755 --- a/plugins/miscellanea/autostart/UIConfig.json +++ b/plugins/miscellanea/autostart/UIConfig.json @@ -34,7 +34,7 @@ "element": "input", "doc": "TRANSLATE.AUTOSTART_DELAY_DOC", "label": "TRANSLATE.AUTOSTART_DELAY", - "value": 10000 + "value": 20000 } ] } diff --git a/plugins/miscellanea/autostart/autostart.zip b/plugins/miscellanea/autostart/autostart.zip index 0f0fbc948..c23505f8c 100644 Binary files a/plugins/miscellanea/autostart/autostart.zip and b/plugins/miscellanea/autostart/autostart.zip differ diff --git a/plugins/miscellanea/autostart/config.json b/plugins/miscellanea/autostart/config.json index 7387866ed..d3bd01419 100755 --- a/plugins/miscellanea/autostart/config.json +++ b/plugins/miscellanea/autostart/config.json @@ -13,6 +13,6 @@ }, "autostartDelay": { "type": "number", - "value": 10000 + "value": 20000 } } diff --git a/plugins/miscellanea/autostart/index.js b/plugins/miscellanea/autostart/index.js index 3fcc72c50..b9c068bc8 100755 --- a/plugins/miscellanea/autostart/index.js +++ b/plugins/miscellanea/autostart/index.js @@ -21,7 +21,7 @@ autostart.prototype.onVolumioStart = function () { var playFromLastPosition = config.get('playFromLastPosition') || false; var lastPosition = config.get('lastPosition') || -1; - var autostartDelay = config.get('autostartDelay') || 10000; + var autostartDelay = config.get('autostartDelay') || 20000; setTimeout(function () { self.logger.info('AutoStart - getting queue'); @@ -101,7 +101,7 @@ autostart.prototype.getUIConfig = function () { autostart.prototype.setUIConfig = function (data) { var playFromLastPosition = data['playFromLastPosition'] || false; - var autostartDelay = data['autostartDelay'] || 10000; + var autostartDelay = data['autostartDelay'] || 20000; config.set('playFromLastPosition', playFromLastPosition); config.set('autostartDelay', autostartDelay); this.commandRouter.pushToastMessage('success', 'Autostart', this.commandRouter.getI18nString("COMMON.CONFIGURATION_UPDATE_DESCRIPTION")); diff --git a/plugins/miscellanea/autostart/package.json b/plugins/miscellanea/autostart/package.json index 0c43797d0..bdb856cf4 100755 --- a/plugins/miscellanea/autostart/package.json +++ b/plugins/miscellanea/autostart/package.json @@ -1,7 +1,7 @@ { "name": "autostart", - "version": "1.1.1", - "description": "Ths plugin starts the first entry in the queue after rebooting volumio.", + "version": "1.1.2", + "description": "Ths plugin starts the first entry in the queue or from the last played position after rebooting volumio.", "main": "index.js", "scripts": { "test": "echo \"Error: no test specified\" && exit 1" @@ -12,10 +12,10 @@ "prettyName": "AutoStart", "icon": "fa-play-circle-o", "plugin_type": "miscellanea", - "boot_priority": 100 + "boot_priority": 10 }, "dependencies": { "kew": "^0.7.0", - "v-conf": "^1.4.0" + "v-conf": "^1.4.2" } }