Private GIT
Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
SickRage-1
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
vlbox
SickRage-1
Commits
9a9bc6c7
Commit
9a9bc6c7
authored
Mar 24, 2018
by
p00chie
Committed by
miigotu
Mar 25, 2018
Browse files
Options
Downloads
Patches
Plain Diff
Update common.py
parent
70e23a81
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
sickbeard/common.py
+3
-2
3 additions, 2 deletions
sickbeard/common.py
with
3 additions
and
2 deletions
sickbeard/common.py
+
3
−
2
View file @
9a9bc6c7
...
@@ -338,7 +338,7 @@ class Quality(object):
...
@@ -338,7 +338,7 @@ class Quality(object):
if
ep
.
avc
and
ep
.
bluray
:
if
ep
.
avc
and
ep
.
bluray
:
result
=
Quality
.
UHD_4K_BLURAY
if
not
full_res
else
Quality
.
UHD_8K_BLURAY
result
=
Quality
.
UHD_4K_BLURAY
if
not
full_res
else
Quality
.
UHD_8K_BLURAY
# WEB-DL
# WEB-DL
elif
(
ep
.
avc
and
ep
.
itunes
)
or
ep
.
web
:
elif
ep
.
itunes
or
ep
.
amazon
or
ep
.
netflix
or
ep
.
web
:
result
=
Quality
.
UHD_4K_WEBDL
if
not
full_res
else
Quality
.
UHD_8K_WEBDL
result
=
Quality
.
UHD_4K_WEBDL
if
not
full_res
else
Quality
.
UHD_8K_WEBDL
# HDTV
# HDTV
elif
ep
.
avc
and
ep
.
tv
==
'
hd
'
:
elif
ep
.
avc
and
ep
.
tv
==
'
hd
'
:
...
@@ -352,7 +352,7 @@ class Quality(object):
...
@@ -352,7 +352,7 @@ class Quality(object):
if
ep
.
avc
and
(
ep
.
bluray
or
ep
.
hddvd
):
if
ep
.
avc
and
(
ep
.
bluray
or
ep
.
hddvd
):
result
=
Quality
.
FULLHDBLURAY
if
full_res
else
Quality
.
HDBLURAY
result
=
Quality
.
FULLHDBLURAY
if
full_res
else
Quality
.
HDBLURAY
# WEB-DL
# WEB-DL
elif
(
ep
.
avc
and
ep
.
itunes
)
or
ep
.
web
:
elif
ep
.
itunes
or
ep
.
amazon
or
ep
.
netflix
or
ep
.
web
:
result
=
Quality
.
FULLHDWEBDL
if
full_res
else
Quality
.
HDWEBDL
result
=
Quality
.
FULLHDWEBDL
if
full_res
else
Quality
.
HDWEBDL
# HDTV
# HDTV
elif
ep
.
avc
and
ep
.
tv
==
'
hd
'
:
elif
ep
.
avc
and
ep
.
tv
==
'
hd
'
:
...
@@ -382,6 +382,7 @@ class Quality(object):
...
@@ -382,6 +382,7 @@ class Quality(object):
# SD TV/HD TV
# SD TV/HD TV
result
=
Quality
.
SDTV
result
=
Quality
.
SDTV
return
Quality
.
UNKNOWN
if
result
is
None
else
result
return
Quality
.
UNKNOWN
if
result
is
None
else
result
@staticmethod
@staticmethod
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment