Prefix Keys with "Radarr"

Makes progress on #285
This commit is contained in:
Tim Turner 2017-01-22 10:09:10 -05:00
parent 585fd87ad6
commit 80ec66b47c
1 changed files with 6 additions and 7 deletions

View File

@ -7,12 +7,12 @@ module.exports = {
}, },
Keys : { Keys : {
DefaultProfileId : 'DefaultProfileId', DefaultProfileId : 'RadarrDefaultProfileId',
DefaultRootFolderId : 'DefaultRootFolderId', DefaultRootFolderId : 'RadarrDefaultRootFolderId',
UseSeasonFolder : 'UseSeasonFolder', UseSeasonFolder : 'RadarrUseSeasonFolder',
DefaultSeriesType : 'DefaultSeriesType', DefaultSeriesType : 'RadarrDefaultSeriesType',
MonitorEpisodes : 'MonitorEpisodes', MonitorEpisodes : 'RadarrMonitorEpisodes',
AdvancedSettings : 'advancedSettings' AdvancedSettings : 'RadarradvancedSettings'
}, },
getValueJson : function (key, defaultValue) { getValueJson : function (key, defaultValue) {
@ -48,7 +48,6 @@ module.exports = {
}, },
setValue : function(key, value) { setValue : function(key, value) {
console.log('Config: [{0}] => [{1}]'.format(key, value)); console.log('Config: [{0}] => [{1}]'.format(key, value));
if (this.getValue(key) === value.toString()) { if (this.getValue(key) === value.toString()) {