mirror of
https://github.com/Radarr/Radarr.git
synced 2026-04-24 22:35:49 -04:00
Added: Options to make parsing more lenient. (Adds support for some german and french releasegroups) (#1692)
Fixes #1676. Fixes #1632.
This commit is contained in:
@@ -9,7 +9,8 @@ var view = Marionette.ItemView.extend({
|
||||
template : 'Settings/Indexers/Options/IndexerOptionsViewTemplate',
|
||||
|
||||
ui : {
|
||||
hcwhitelist : '.x-hcwhitelist',
|
||||
hcwhitelist : '.x-hcwhitelist',
|
||||
leniencyTooltip : '.x-leniency-tooltip',
|
||||
},
|
||||
|
||||
onRender : function() {
|
||||
@@ -18,6 +19,18 @@ var view = Marionette.ItemView.extend({
|
||||
allowDuplicates: true,
|
||||
tagClass : 'label label-success'
|
||||
});
|
||||
|
||||
this.templateFunction = Marionette.TemplateCache.get('Settings/Indexers/Options/LeniencyTooltipTemplate');
|
||||
var content = this.templateFunction();
|
||||
|
||||
this.ui.leniencyTooltip.popover({
|
||||
content : content,
|
||||
html : true,
|
||||
trigger : 'hover',
|
||||
title : 'Parsing Leniency Notes',
|
||||
placement : 'right',
|
||||
container : this.$el
|
||||
});
|
||||
},
|
||||
});
|
||||
|
||||
|
||||
@@ -91,6 +91,22 @@
|
||||
|
||||
</div>
|
||||
|
||||
<div class="form-group advanced-setting">
|
||||
<label class="col-sm-3 control-label">Parser Leniency</label>
|
||||
|
||||
<div class="col-sm-1 col-sm-push-2 help-inline">
|
||||
<i class="icon-sonarr-form-info leniency-tooltip x-leniency-tooltip"/>
|
||||
</div>
|
||||
|
||||
<div class="col-sm-2 col-sm-pull-1">
|
||||
<select class="form-control" name="parsingLeniency">
|
||||
<option value="strict">Strict</option>
|
||||
<option value="parsingLenient">Lenient Parsing</option>
|
||||
<option value="mappingLenient">Lenient Mapping</option>
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<legend>Availability Options</legend>
|
||||
<div class="form-group">
|
||||
<label class="col-sm-3 control-label">Availability Delay</label>
|
||||
|
||||
@@ -0,0 +1,7 @@
|
||||
How strict the Parser should be. (Note: Strict is strongly recommended!)
|
||||
<br><br>
|
||||
<b>Strict:</b> Just as before, year must immediately follow title.
|
||||
<br><br>
|
||||
<b>Lenient Parsing:</b> Either year or language tag must immediately follow after title. (Note: May prevent Movies with language tags in title - e.g. The Danish Girl - from being parsed correctly)
|
||||
<br><br>
|
||||
<b>Lenient Mapping:</b> Includes Lenient Parsing. When title cannot be found Try mapping just parts of the title. (Useful when no year is present / not after title. <b>NOT IMPLEMENTED YET</b>)
|
||||
Reference in New Issue
Block a user