Commit 5962b546 authored by echel0n's avatar echel0n
Browse files

Added UHD to quality preset ANY.

Added quality preset "ANY + Unknown".
Added ability to set quality size for unknown qualities.
parent ed4cc53d
# Changelog
- * 7cbaa2e - 2018-09-18: Release v9.3.79
- * 1ebac36 - 2018-09-20: Added UHD to quality preset ANY. Added quality preset "ANY + Unknown". Added ability to set quality size for unknown qualities.
- * 5bf995b - 2018-09-18: Release v9.3.79
- * dbb7543 - 2018-09-18: Fixed issue with custom webroot and too many redirects
- * a7d0209 - 2018-09-17: Pre-Release v9.3.79.dev10
- * 09b1857 - 2018-09-17: Pre-Release v9.3.79.dev9
......
......@@ -515,7 +515,8 @@ UHD_8K = Quality.combineQualities([Quality.UHD_8K_TV, Quality.UHD_8K_WEBDL, Qual
SD = Quality.combineQualities([Quality.SDTV, Quality.SDDVD], [])
HD = Quality.combineQualities([HD720p, HD1080p], [])
UHD = Quality.combineQualities([UHD_4K, UHD_8K], [])
ANY = Quality.combineQualities([SD, HD], [])
ANY = Quality.combineQualities([SD, HD, UHD], [])
ANY_PLUS_UNKNOWN = Quality.combineQualities([Quality.UNKNOWN, SD, HD, UHD], [])
# legacy template, cant remove due to reference in mainDB upgrade?
BEST = Quality.combineQualities([Quality.SDTV, Quality.HDTV, Quality.HDWEBDL], [Quality.HDTV])
......@@ -527,7 +528,8 @@ qualityPresets = (SD,
UHD,
UHD_4K,
UHD_8K,
ANY)
ANY,
ANY_PLUS_UNKNOWN)
qualityPresetStrings = {SD: "SD",
HD: "HD",
......@@ -536,7 +538,8 @@ qualityPresetStrings = {SD: "SD",
UHD: "UHD",
UHD_4K: "UHD-4K",
UHD_8K: "UHD-8K",
ANY: "Any"}
ANY: "Any",
ANY_PLUS_UNKNOWN: "Any + Unknown"}
class StatusStrings(UserDict):
......
......@@ -1351,7 +1351,8 @@ class TVShow(object):
"Usually ignoring found episode, but forced search allows the quality, getting found episode")
return True
# if we are re-downloading then we only want it if it's in our bestQualities list and better than what we have, or we only have one bestQuality and we do not have that quality yet
# if we are re-downloading then we only want it if it's in our bestQualities list and better than what we
# have, or we only have one bestQuality and we do not have that quality yet
if epStatus in Quality.DOWNLOADED + Quality.SNATCHED + Quality.SNATCHED_PROPER and quality in bestQualities and (
quality > curQuality or curQuality not in bestQualities):
sickrage.app.log.debug(
......
......@@ -22,7 +22,7 @@
</div>
<fieldset class="col-lg-9 col-md-8 col-sm-8 card-text">
% for qtype, qsize in sickrage.app.config.quality_sizes.items():
% if qsize:
% if qtype:
<div class="form-row form-group">
<div class="col-lg-3 col-md-4 col-sm-5">
<label class="component-title">${renderQualityPill(qtype)}</label>
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment