1
0
mirror of https://github.com/Radarr/Radarr.git synced 2026-04-20 21:55:03 -04:00

Specific Subtitle tags (such as nlsub) can now be whitelisted and will be downloaded.

Fixes #540 and fixes a lot of other requests.
This commit is contained in:
Leonardo Galli
2017-04-10 11:41:08 +02:00
parent 7066b078ab
commit c17deb7d92
6 changed files with 49 additions and 3 deletions
@@ -10,6 +10,7 @@ namespace NzbDrone.Api.Config
public int RssSyncInterval { get; set; }
public int AvailabilityDelay { get; set; }
public bool AllowHardcodedSubs { get; set; }
public string WhitelistedHardcodedSubs { get; set; }
}
public static class IndexerConfigResourceMapper
@@ -23,6 +24,8 @@ namespace NzbDrone.Api.Config
RssSyncInterval = model.RssSyncInterval,
AvailabilityDelay = model.AvailabilityDelay,
AllowHardcodedSubs = model.AllowHardcodedSubs,
WhitelistedHardcodedSubs = model.WhitelistedHardcodedSubs,
};
}
}