1
0
mirror of https://github.com/Radarr/Radarr.git synced 2026-04-21 22:05:43 -04:00

Added: Ability to add custom formats, working similar to qualities. (#2669)

Originally called project metis, this feature allows you to do a lot of cool stuff, such as upgrading to a x265 encode, downloading releases with multiple languages, etc. Check out the wiki page at: https://github.com/Radarr/Radarr/wiki/Custom-Formats to learn more! Note: This feature is currently in "beta" and will get more tags and features in the future. Please let me know, if you have any issues and I hope this will allow for a lot of customization!
This commit is contained in:
Leonardo Galli
2018-08-05 16:28:05 +02:00
committed by GitHub
parent d046a73f78
commit 77f146b262
272 changed files with 12585 additions and 4092 deletions
@@ -1,31 +1,62 @@
<span class="col-md-2 col-sm-3">
{{quality.name}}
</span>
<span class="col-md-2 col-sm-3">
<div class="row quality-definition-row">
<span class="col-md-2 col-sm-3">
{{#if parentQualityDefinition }}
<span class="label label-warning">Custom Format</span>
{{ else }}
{{quality.name}}
{{/if}}
</span>
<span class="col-md-2 col-sm-3">
<input type="text" class="form-control" name="title">
</span>
<span class="col-md-4 col-sm-6">
<span class="col-md-4 col-sm-6">
<div class="x-slider"></div>
<div class="size-label-wrapper">
<div class="pull-left">
<span class="label label-warning x-min-thirty"
name="thirtyMinuteMinSize"
title="Minimum size for a 90 minute movie">
name="thirtyMinuteMinSize"
title="Minimum size for a 90 minute movie">
</span>
<span class="label label-info x-min-sixty"
name="sixtyMinuteMinSize"
title="Minimum size for a 140 minute movie">
name="sixtyMinuteMinSize"
title="Minimum size for a 140 minute movie">
</span>
</div>
<div class="pull-right">
<span class="label label-warning x-max-thirty"
name="thirtyMinuteMaxSize"
title="Maximum size for a 90 minute movie">
<span class="label label-warning"
title="Maximum size for a 90 minute movie. Click to edit, allows you to go beyond the maximum value.
Radarr will automatically convert this field from Gigabytes to Megabytes per minute of runtime assuming a 90 minute movie, when you click outside of this label.">
<input type="text" name="thirtyMinuteMaxSize" class="x-max-thirty label-textfield">
</span>
<span class="label label-info x-max-sixty"
name="sixtyMinuteMaxSize"
title="Maximum size for a 140 minute movie">
name="sixtyMinuteMaxSize"
title="Maximum size for a 140 minute movie">
</span>
</div>
</div>
</span>
{{#if parentQualityDefinition }}
<span class="col-md-1">
Parent:
</span>
<span class="col-md-3 col-sm-4">
<select class="form-control x-parent" name="parentQuality">
{{#each qualities}}
<option value="{{id}}">{{title}}</option>
{{/each}}
</select>
</span>
{{else}}
<span class="col-md-3 col-sm-4 advanced-setting">
<button class="btn btn-success x-create-format">Create Custom Format</button>
</span>
{{/if}}
</div>
{{#if parentQualityDefinition}}
{{/if}}