Private GIT
Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
Sick-Beard
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
Sick-Beard
Commits
da4d8eb1
Commit
da4d8eb1
authored
Apr 19, 2012
by
Nic Wolfe
Browse files
Options
Downloads
Plain Diff
Merge branch 'master' of
git://github.com/azcom/Sick-Beard
into development
parents
d8e07580
12c25154
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
sickbeard/providers/newzbin.py
+15
-10
15 additions, 10 deletions
sickbeard/providers/newzbin.py
with
15 additions
and
10 deletions
sickbeard/providers/newzbin.py
+
15
−
10
View file @
da4d8eb1
...
...
@@ -115,10 +115,11 @@ class NewzbinProvider(generic.NZBProvider):
def
_is_SDTV
(
self
,
attrs
):
# Video Fmt: (XviD
or
DivX), NOT 720p, NOT 1080p
video_fmt
=
'
Video Fmt
'
in
attrs
and
(
'
XviD
'
in
attrs
[
'
Video Fmt
'
]
or
'
DivX
'
in
attrs
[
'
Video Fmt
'
])
\
# Video Fmt: (XviD
,
DivX
, x264 or H.264
), NOT 720p, NOT 1080p
, NOT 1080i
video_fmt
=
'
Video Fmt
'
in
attrs
and
(
'
XviD
'
in
attrs
[
'
Video Fmt
'
]
or
'
DivX
'
in
attrs
[
'
Video
Fmt
'
]
or
'
x264
'
in
attrs
[
'
Video Fmt
'
]
or
'
H.264
'
in
attrs
[
'
Video
Fmt
'
])
\
and
(
'
720p
'
not
in
attrs
[
'
Video Fmt
'
])
\
and
(
'
1080p
'
not
in
attrs
[
'
Video Fmt
'
])
and
(
'
1080p
'
not
in
attrs
[
'
Video Fmt
'
])
\
and
(
'
1080i
'
not
in
attrs
[
'
Video Fmt
'
])
# Source: TV Cap or HDTV or (None)
source
=
'
Source
'
not
in
attrs
or
'
TV Cap
'
in
attrs
[
'
Source
'
]
or
'
HDTV
'
in
attrs
[
'
Source
'
]
...
...
@@ -130,10 +131,11 @@ class NewzbinProvider(generic.NZBProvider):
def
_is_SDDVD
(
self
,
attrs
):
# Video Fmt: (XviD
or
DivX), NOT 720p, NOT 1080p
video_fmt
=
'
Video Fmt
'
in
attrs
and
(
'
XviD
'
in
attrs
[
'
Video Fmt
'
]
or
'
DivX
'
in
attrs
[
'
Video Fmt
'
])
\
# Video Fmt: (XviD
,
DivX
, x264 or H.264
), NOT 720p, NOT 1080p
, NOT 1080i
video_fmt
=
'
Video Fmt
'
in
attrs
and
(
'
XviD
'
in
attrs
[
'
Video Fmt
'
]
or
'
DivX
'
in
attrs
[
'
Video
Fmt
'
]
or
'
x264
'
in
attrs
[
'
Video Fmt
'
]
or
'
H.264
'
in
attrs
[
'
Video
Fmt
'
])
\
and
(
'
720p
'
not
in
attrs
[
'
Video Fmt
'
])
\
and
(
'
1080p
'
not
in
attrs
[
'
Video Fmt
'
])
and
(
'
1080p
'
not
in
attrs
[
'
Video Fmt
'
])
\
and
(
'
1080i
'
not
in
attrs
[
'
Video Fmt
'
])
# Source: DVD
source
=
'
Source
'
in
attrs
and
'
DVD
'
in
attrs
[
'
Source
'
]
...
...
@@ -158,14 +160,17 @@ class NewzbinProvider(generic.NZBProvider):
def
_is_WEBDL
(
self
,
attrs
):
# Video Fmt: H.264, 720p
video_fmt
=
'
Video Fmt
'
in
attrs
and
(
'
H.264
'
in
attrs
[
'
Video Fmt
'
])
\
# Video Fmt:
x264,
H.264, 720p
video_fmt
=
'
Video Fmt
'
in
attrs
and
(
'
x264
'
in
attrs
[
'
Video Fmt
'
]
or
'
H.264
'
in
attrs
[
'
Video Fmt
'
])
\
and
(
'
720p
'
in
attrs
[
'
Video Fmt
'
])
# Source: Web-DL
source
=
'
Source
'
in
attrs
and
'
Web-dl
'
in
attrs
[
'
Source
'
]
# Subtitles: (None)
subs
=
'
Subtitles
'
not
in
attrs
return
video_fmt
and
subs
return
video_fmt
and
source
and
subs
def
_is_720pBluRay
(
self
,
attrs
):
...
...
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