mirror of
https://github.com/Radarr/Radarr
synced 2025-02-25 23:53:14 +00:00
parent
585fd87ad6
commit
80ec66b47c
1 changed files with 6 additions and 7 deletions
|
@ -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…
Reference in a new issue