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