Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update guessit to 3.0.0 (+subliminal update) #4244

Merged
merged 56 commits into from
Sep 6, 2018
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
56 commits
Select commit Hold shift + click to select a range
df636da
Update guessit to v3.0.0
sharkykh May 22, 2018
09eee54
Initial update to guessit 3
medariox Mar 13, 2018
fbf463c
Mostly format => source changes and renames
sharkykh May 22, 2018
dafac41
Fix SourceStandardizer rule
sharkykh May 22, 2018
78fa87f
Remove ScreenSizeStandardizer - fixed upstream
sharkykh May 22, 2018
6408ea0
Discard custom 4320p screen_size match - fixed upstream
sharkykh May 22, 2018
e0fad24
Remove FixSeasonRangeWithGap - fixed upstream
sharkykh May 22, 2018
983b940
Remove unused `website_rebulk`
sharkykh May 22, 2018
08c86a7
'DolbyDigital' => 'Dolby Digital' => 'AC3'
sharkykh May 22, 2018
a204ddb
Fix `Quality.to_guessit_source`
sharkykh May 22, 2018
7886588
Split Rip/Mux from plain
sharkykh May 22, 2018
4dab8de
Workarounds - temporary!
sharkykh May 22, 2018
a470f3e
Merge branch 'develop' into feature/guessit-3
sharkykh May 26, 2018
a8d51b0
Merge branch 'develop' into feature/guessit-3
sharkykh May 28, 2018
68af1f5
Merge branch 'develop' into feature/guessit-3
sharkykh Jun 6, 2018
d752085
Update guessit_map and 4K => 2160p
sharkykh Jun 6, 2018
ae1cb74
Fix Quality.to_guessit_source
sharkykh Jun 6, 2018
40c2858
Update guessit conversions to support 4320p (8K)
sharkykh Jun 6, 2018
2e4a1cb
Merge branch 'develop' into feature/guessit-3
sharkykh Jun 21, 2018
25b7af8
Fix test_common.py
sharkykh Jun 21, 2018
2bc983a
Merge branch 'develop' into feature/guessit-3
sharkykh Jul 13, 2018
f226c14
Remove ignore from renovate.json
sharkykh Jul 13, 2018
48da662
Update vendored packages list
sharkykh Jul 13, 2018
42ce194
Merge branch 'develop' into feature/guessit-3
sharkykh Aug 21, 2018
cb2faba
Fix test with invalid release group and absolute numbering
medariox Aug 21, 2018
e5772b0
guessit changes that don't need fixes
medariox Aug 25, 2018
c300d74
Fix invalid episode titles between ep ranges
medariox Aug 29, 2018
1c56e54
Stop testing absurd naming
medariox Aug 29, 2018
db430d3
Update guessit result
medariox Aug 29, 2018
a108efa
Fix wrong season parsed from year
medariox Aug 29, 2018
ecc2613
Remove clean_groupname workaround
sharkykh Aug 29, 2018
ddbc156
Remove workaround note
sharkykh Aug 29, 2018
23cd910
Merge branch 'develop' into feature/guessit-3
sharkykh Aug 29, 2018
1251619
Python 2/3 compatibility
sharkykh Aug 29, 2018
14e2c14
without -> with
sharkykh Aug 29, 2018
3a1e8ad
Update tests
medariox Aug 29, 2018
a0f54e9
Use custom subliminal version that supports guessit v3
medariox Aug 29, 2018
6e83d7b
video.source -> video.source
medariox Aug 29, 2018
f29b7da
video.format -> video.source
medariox Aug 29, 2018
fbf6f9d
video.format -> video.source
medariox Aug 29, 2018
cb44942
Fix subtitles download tests
medariox Aug 30, 2018
5535ffe
Merge branch 'develop' into feature/guessit-3
medariox Aug 30, 2018
5fdf22c
format -> source
sharkykh Aug 29, 2018
6c9b037
Fix parent folder replacing episode title, add test
medariox Aug 30, 2018
5828dea
Merge branch 'develop' into feature/guessit-3
medariox Aug 30, 2018
4dbf95a
Revert subtitles download test fix (not needed anymore)
medariox Aug 30, 2018
a03e734
Improve previous fix
medariox Aug 30, 2018
88385bb
Optimized previous fix
medariox Aug 31, 2018
f21ea87
Fix audio profile messing up title. Fixes #3300
medariox Sep 1, 2018
6ccdea2
Make fix more generic to fix more invalid guesses
medariox Sep 1, 2018
c984ebb
Merge branch 'develop' into feature/guessit-3
medariox Sep 1, 2018
cafb505
Merge branch 'develop' into feature/guessit-3
sharkykh Sep 4, 2018
0ad07ce
Update ext/readme.md
sharkykh Sep 4, 2018
e54e116
Merge branch 'develop' into feature/guessit-3
medariox Sep 6, 2018
1468c54
Update CHANGELOG.md
sharkykh Sep 6, 2018
9dc6ede
Merge branch 'develop' into feature/guessit-3
medariox Sep 6, 2018
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions medusa/name_parser/rules/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,9 @@
from medusa.name_parser.rules.rules import rules


# @FIXME: Workaround
default_api.configure({})
sharkykh marked this conversation as resolved.
Show resolved Hide resolved

default_api.rebulk.rebulk(blacklist())
default_api.rebulk.rebulk(source())
default_api.rebulk.rebulk(screen_size())
Expand Down
8 changes: 7 additions & 1 deletion medusa/name_parser/rules/rules.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,8 @@

from guessit.rules.common.comparators import marker_sorted
from guessit.rules.common.formatters import cleanup
from guessit.rules.properties.release_group import clean_groupname
# @FIXME: `clean_groupname` is no longer available...
# from guessit.rules.properties.release_group import clean_groupname
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It was a public function, now it's an inner function inside the release_group function.
clean_groupname is used in ReleaseGroupPostProcessor.


from rebulk.processors import POST_PROCESS
from rebulk.rebulk import Rebulk
Expand All @@ -48,6 +49,11 @@
range_separator = ('-', '~', '_-_', 'to', '.to.')


# @FIXME: `clean_groupname` is no longer available...
def clean_groupname(string):
return string


class BlacklistedReleaseGroup(Rule):
"""Blacklist some release groups."""

Expand Down