forked from volumio/volumio-plugins
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into fix-chromium-crashed-bubble
- Loading branch information
Showing
1,690 changed files
with
1,500 additions
and
128,575 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
{ | ||
"PI2_DESIGN_TUBE_AMP_TITLE":"PI2Design 503TA Tube Amp GPIO configuratie", | ||
"GPIO_SETTINGS": "GPIO instellingen", | ||
"SAVE":"Opslaan", | ||
"ROLLOFF_SETTING": "Hoge frequentie Rolloff" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
{ | ||
"IR_CONFIGURATION":"IR afstandsbediening configuratie", | ||
"SAVE": "Opslaan", | ||
"PROFILE_SELECTOR": "Selecteer profiel", | ||
"PROFILE_SELECTOR_DOC": "Selecteer de juiste configuratie voor uw afstandsbediening uit de beschikbare profielen" | ||
} |
16 changes: 16 additions & 0 deletions
16
plugins/audio_interface/volparametriceq/i18n/strings_nl.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
{ | ||
"VOLUMIO_PARAMETRIC":"Volumio parametrische equalizer", | ||
"PARAMETRIC_SETTINGS":"Equalizer instellingen (EqFA4p)", | ||
"ENABLEEQ":"Equalizer inschakelen=aan of uitschakelen=uit", | ||
"MG":"Hoofdvolume", | ||
"MG_DESC":"Hoofdvolume van de equalizer. Verklein de waarde om knippen te voorkomen", | ||
"P11":"Lage band", | ||
"P11_DESC":"Lage band instelling (30-125Hz)", | ||
"P21":"Midden lage band", | ||
"P21_DESC":"Midden lage band instelling (200-2000Hz)", | ||
"P31":"Midden hoge band", | ||
"P31_DESC":"Midden hoge band instelling (1500-9000Hz)", | ||
"P41":"Hoge band", | ||
"P41_DESC":"Hoge band instelling (8000-14000Hz)", | ||
"APPLY":"Toepassen" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
{ | ||
"page": { | ||
"label": "TRANSLATE.AUTO_PLAY_CONFIGURATION" | ||
}, | ||
"sections": [ | ||
{ | ||
"id": "no_setting", | ||
"element": "section", | ||
"label": "TRANSLATE.HEADING", | ||
"icon": "fa-plug", | ||
"content": [ | ||
{ | ||
} | ||
] | ||
} | ||
] | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
{ | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
{ | ||
"AUTO_PLAY_CONFIGURATION":"Autoplay", | ||
"HEADING": "No Settings, just enable this plugin in order to play music when volumio starts" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
{ | ||
"AUTO_PLAY_CONFIGURATION":"Autoplay", | ||
"HEADING": "Geen instellingen, schakel gewoon deze plug-in in om muziek te spelen wanneer Volumio start" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,108 @@ | ||
'use strict'; | ||
var libQ = require('kew'); | ||
var MPD = require('node-mpd'); | ||
|
||
|
||
module.exports = ControllerAutoPlay; | ||
|
||
function ControllerAutoPlay(context) { | ||
var self = this; | ||
|
||
this.context = context; | ||
this.commandRouter = this.context.coreCommand; | ||
this.logger = this.context.logger; | ||
this.configManager = this.context.configManager; | ||
} | ||
|
||
|
||
/* | ||
* This method can be defined by every plugin which needs to be informed of the startup of Volumio. | ||
* The Core controller checks if the method is defined and executes it on startup if it exists. | ||
*/ | ||
ControllerAutoPlay.prototype.onVolumioStart = function () { | ||
var self = this; | ||
|
||
var mpdPlugin = this.commandRouter.pluginManager.getPlugin('music_service', 'mpd'); | ||
var mpdHost = mpdPlugin.getConfigParam('nHost'); | ||
var mpdPort = mpdPlugin.getConfigParam('nPort'); | ||
|
||
self.logger.info('ControllerAutoPlay - connecting mpd on host: ' + mpdHost + '; port: ' + mpdPort); | ||
|
||
var mpd = new MPD({ | ||
host : mpdHost, | ||
port : mpdPort | ||
}); | ||
|
||
mpd.on("ready", function() { | ||
self.logger.info('ControllerAutoPlay - mpd ready'); | ||
mpd.disconnect(); | ||
|
||
setTimeout(function () { | ||
self.logger.info('ControllerAutoPlay - getting queue'); | ||
var queue = self.commandRouter.volumioGetQueue(); | ||
if (queue && queue.length > 0) { | ||
self.logger.info('ControllerAutoPlay - start playing -> queue is not empty'); | ||
self.commandRouter.volumioPlay(); | ||
} | ||
}, 5000); | ||
}); | ||
|
||
mpd.connect(); | ||
|
||
return libQ.resolve(); | ||
}; | ||
|
||
|
||
ControllerAutoPlay.prototype.onStart = function() { | ||
var self = this; | ||
|
||
return libQ.resolve(); | ||
}; | ||
|
||
|
||
ControllerAutoPlay.prototype.onStop = function () { | ||
var self = this; | ||
//Perform stop tasks here | ||
}; | ||
|
||
ControllerAutoPlay.prototype.onRestart = function () { | ||
var self = this; | ||
//Perform restart tasks here | ||
}; | ||
|
||
ControllerAutoPlay.prototype.onInstall = function () { | ||
var self = this; | ||
//Perform your installation tasks here | ||
}; | ||
|
||
ControllerAutoPlay.prototype.onUninstall = function () { | ||
var self = this; | ||
//Perform your deinstallation tasks here | ||
}; | ||
|
||
ControllerAutoPlay.prototype.getUIConfig = function() { | ||
var defer = libQ.defer(); | ||
var self = this; | ||
|
||
var lang_code = this.commandRouter.sharedVars.get('language_code'); | ||
|
||
self.commandRouter.i18nJson(__dirname+'/i18n/strings_'+lang_code+'.json', | ||
__dirname+'/i18n/strings_en.json', | ||
__dirname + '/UIConfig.json') | ||
.then(function(uiconf) | ||
{ | ||
defer.resolve(uiconf); | ||
}) | ||
.fail(function() | ||
{ | ||
defer.reject(new Error()); | ||
}); | ||
|
||
return defer.promise; | ||
}; | ||
|
||
|
||
ControllerAutoPlay.prototype.setUIConfig = function(data) | ||
{ | ||
|
||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
#!/usr/bin/env bash | ||
# NOP |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
{ | ||
"name": "auto_play", | ||
"version": "1.0.0", | ||
"description": "Autoplay plugin - Enable this plugin in order to let volumio start playing the last entry in the queue after a reboot.", | ||
"main": "index.js", | ||
"scripts": { | ||
"test": "echo \"Error: no test specified\" && exit 1" | ||
}, | ||
"author": "Thomas Doerr", | ||
"volumio_info": { | ||
"prettyName": "Autoplay", | ||
"icon": "fa-play-circle-o", | ||
"plugin_type": "miscellanea", | ||
"boot_priority": 10 | ||
}, | ||
"dependencies": { | ||
"kew": "^0.7.0", | ||
"node-mpd": "^0.0.1" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
#!/usr/bin/env bash | ||
# NOP |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,6 +13,6 @@ | |
}, | ||
"autostartDelay": { | ||
"type": "number", | ||
"value": 10000 | ||
"value": 20000 | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
{ | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
{ | ||
"BRUTEFIR":{ | ||
"VOLUMIO_DSP":"Volumio DSP centrum", | ||
"BRUTEFIR_EQUALIZER_SETTINGS":"Brutefir equalizer", | ||
"EQUALIZER":"equalizer", | ||
"EQUALIZER_SETTINGS":"Equalizer instellingen", | ||
"EQUALIZER_MODE":"Aan= Niveau instellingen / Uit= Fase instellingen", | ||
"PHASE_EQUALIZER":"Fase equalizer", | ||
"GAIN_EQUALIZER":"Equalizer", | ||
"BRUTEFIR_ADVANCED_SETTINGS":"Brutefir geavanceerde instellingen", | ||
"ADVANCED_SETTINGS":"Geavanceerde instellingen", | ||
"INPUT_ATTENUATION":"Invoer verzwakking", | ||
"LEFT_FILTER":"Linker filter", | ||
"RIGHT_FILTER":"Rechter filter", | ||
"FILTER_FORMAT":"Filter formaat", | ||
"FILTER_SIZE":"Filter grootte", | ||
"NUMBER_PARTITION":"Aantal partities", | ||
"INTERNAL_RESOLUTION":"Interne resolutie", | ||
"SAMPLE_RATE":"Sample snelheid", | ||
"INPUT_FORMAT":"Invoer formaat", | ||
"OUTPUT_FORMAT":"Uitvoer formaat", | ||
"INPUT_DEVICE":"Invoer apparaat hw:", | ||
"SAVE":"Opslaan", | ||
"APPLY":"Toepassen", | ||
"OUTPUT_DEVICE":"Uitvoer apparaat hw:" | ||
}, | ||
"BAUER":{ | ||
"BAUER_TITLE":"Bauer Stereo naar binaural filter kan een conflict veroorzaken met softvol!!!", | ||
"BAUER_FILTER_SETTINGS":"Bauer filter inschakelen", | ||
"FCUT":"Frequentie snijpunt (Hz)", | ||
"FLEVEL":"Niveau feed (dB)" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,3 @@ | ||
.gitignore | ||
node_modules | ||
npm-debug.log* | ||
*.zip |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.