Prefix Keys with "Radarr"

Makes progress on #285
pull/2/head
Tim Turner 8 years ago
parent 585fd87ad6
commit 80ec66b47c

@ -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()) {

Loading…
Cancel
Save