From 92f1f550c611465ae71a56e161ce2446f40b14724afb3b2dd65be20eadc0d32e Mon Sep 17 00:00:00 2001 From: Luigi Baldoni Date: Sat, 3 Sep 2016 20:26:24 +0000 Subject: [PATCH] Accepting request 424635 from home:alois:branches:devel:languages:python Update to 2.0.5 OBS-URL: https://build.opensuse.org/request/show/424635 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-subliminal?expand=0&rev=6 --- python-subliminal.changes | 10 ++++++++++ python-subliminal.spec | 4 ++-- subliminal-2.0.4.tar.gz | 3 --- subliminal-2.0.5.tar.gz | 3 +++ subliminal.1 | 31 ++++++++++++++++++++++++++----- 5 files changed, 41 insertions(+), 10 deletions(-) delete mode 100644 subliminal-2.0.4.tar.gz create mode 100644 subliminal-2.0.5.tar.gz diff --git a/python-subliminal.changes b/python-subliminal.changes index 86507f8..9587bd0 100644 --- a/python-subliminal.changes +++ b/python-subliminal.changes @@ -1,3 +1,13 @@ +------------------------------------------------------------------- +Sat Sep 3 20:16:58 UTC 2016 - aloisio@gmx.com + +- Update to version 2.0.5 + * Fix addic7ed provider for some series name + * Fix existing subtitles detection + * Improve scoring + * Add Docker container + * Add .ogv video extension + ------------------------------------------------------------------- Sat Sep 3 16:19:03 UTC 2016 - aloisio@gmx.com diff --git a/python-subliminal.spec b/python-subliminal.spec index d58f60b..10afbb4 100644 --- a/python-subliminal.spec +++ b/python-subliminal.spec @@ -19,13 +19,13 @@ %define subliminal_priority 30 Name: python-subliminal -Version: 2.0.4 +Version: 2.0.5 Release: 0 Summary: Python library to search and download subtitles License: MIT Group: Development/Languages/Python Url: https://github.com/Diaoul/subliminal -Source0: http://pypi.python.org/packages/source/s/subliminal/subliminal-%{version}.tar.gz +Source0: https://github.com/Diaoul/subliminal/archive/%{version}.tar.gz#/subliminal-%{version}.tar.gz Source1: subliminal.1 BuildRequires: fdupes BuildRequires: python-argparse >= 1.3.0 diff --git a/subliminal-2.0.4.tar.gz b/subliminal-2.0.4.tar.gz deleted file mode 100644 index bdd9371..0000000 --- a/subliminal-2.0.4.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:712c3a168aed05ffb4d26b2b1c96bb0a7d96eda6917406677ffb40c559533998 -size 4439411 diff --git a/subliminal-2.0.5.tar.gz b/subliminal-2.0.5.tar.gz new file mode 100644 index 0000000..5a5a9ea --- /dev/null +++ b/subliminal-2.0.5.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:b956f02ae0286ad04be5bbf1c5570964aa17bb53c99fcce067e8334d99516ae2 +size 4440754 diff --git a/subliminal.1 b/subliminal.1 index 7059d20..dced195 100644 --- a/subliminal.1 +++ b/subliminal.1 @@ -1,6 +1,6 @@ .\" Man page generated from reStructuredText. . -.TH "SUBLIMINAL" "1" "Sep 03, 2016" "2.0.4" "subliminal" +.TH "SUBLIMINAL" "1" "Sep 03, 2016" "2.0.5" "subliminal" .SH NAME subliminal \- subliminal Documentation . @@ -1468,7 +1468,7 @@ Download \fIsubtitle\fP\(aqs \fBcontent\fP\&. .SS Addic7ed .INDENT 0.0 .TP -.B subliminal.providers.addic7ed.series_year_re = re.compile("^(?P[ \e\ew\e\e\(aq.:\-]+)(?: \e\e((?P\e\ed{4})\e\e))?$") +.B subliminal.providers.addic7ed.series_year_re = re.compile("^(?P[ \e\ew\e\e\(aq.:(),&!?\-]+?)(?: \e\e((?P\e\ed{4})\e\e))?$") Series header parsing regex .UNINDENT .INDENT 0.0 @@ -1543,7 +1543,7 @@ the show id, if found. .SS LegendasTv .INDENT 0.0 .TP -.B subliminal.providers.legendastv.type_map = {\(aqC\(aq: \(aqepisode\(aq, \(aqS\(aq: \(aqepisode\(aq, \(aqM\(aq: \(aqmovie\(aq} +.B subliminal.providers.legendastv.type_map = {\(aqM\(aq: \(aqmovie\(aq, \(aqC\(aq: \(aqepisode\(aq, \(aqS\(aq: \(aqepisode\(aq} Conversion map for types .UNINDENT .INDENT 0.0 @@ -2167,16 +2167,37 @@ tvdb_id .UNINDENT .INDENT 0.0 .TP -.B subliminal.score.episode_scores = {\(aqseason\(aq: 30, \(aqresolution\(aq: 2, \(aqaudio_codec\(aq: 3, \(aqepisode\(aq: 30, \(aqformat\(aq: 7, \(aqhearing_impaired\(aq: 1, \(aqvideo_codec\(aq: 2, \(aqyear\(aq: 90, \(aqhash\(aq: 359, \(aqseries\(aq: 180, \(aqrelease_group\(aq: 15} +.B subliminal.score.episode_scores = {\(aqresolution\(aq: 2, \(aqseries\(aq: 180, \(aqvideo_codec\(aq: 2, \(aqrelease_group\(aq: 15, \(aqformat\(aq: 7, \(aqhearing_impaired\(aq: 1, \(aqseason\(aq: 30, \(aqhash\(aq: 359, \(aqyear\(aq: 90, \(aqepisode\(aq: 30, \(aqaudio_codec\(aq: 3} Scores for episodes .UNINDENT .INDENT 0.0 .TP -.B subliminal.score.movie_scores = {\(aqresolution\(aq: 2, \(aqaudio_codec\(aq: 3, \(aqtitle\(aq: 60, \(aqhearing_impaired\(aq: 1, \(aqyear\(aq: 30, \(aqhash\(aq: 119, \(aqvideo_codec\(aq: 2, \(aqrelease_group\(aq: 15, \(aqformat\(aq: 7} +.B subliminal.score.movie_scores = {\(aqresolution\(aq: 2, \(aqvideo_codec\(aq: 2, \(aqrelease_group\(aq: 15, \(aqformat\(aq: 7, \(aqhearing_impaired\(aq: 1, \(aqhash\(aq: 119, \(aqyear\(aq: 30, \(aqtitle\(aq: 60, \(aqaudio_codec\(aq: 3} Scores for movies .UNINDENT .INDENT 0.0 .TP +.B subliminal.score.equivalent_release_groups = ({\(aqDIMENSION\(aq, \(aqLOL\(aq}, {\(aqASAP\(aq, \(aqFLEET\(aq, \(aqIMMERSE\(aq}) +Equivalent release groups +.UNINDENT +.INDENT 0.0 +.TP +.B subliminal.score.get_equivalent_release_groups(release_group) +Get all the equivalents of the given release group. +.INDENT 7.0 +.TP +.B Parameters +\fBrelease_group\fP (\fI\%str\fP) \-\- the release group to get the equivalents of. +.TP +.B Returns +the equivalent release groups. +.TP +.B Return type +\fI\%set\fP +.UNINDENT +.UNINDENT +.INDENT 0.0 +.TP .B subliminal.score.get_scores(video) Get the scores dict for the given \fIvideo\fP\&. .sp