Commit graph

879 commits

Author SHA1 Message Date
morpheus65535
0980af1060 Fixed assrt provider to prevent making too many queries to the API. #1953 2022-09-28 10:18:56 -04:00
vitiko98
c791f39e53 Subdivx Provider: improve spanish detection 2022-09-27 17:21:13 -04:00
vitiko98
571f9a195c no log: fix gestdown provider logger 2022-09-26 18:21:24 -04:00
Antoine Aflalo
5413f31b41
Use new endpoint for gestdown (#1949)
This endpoint rely on caching from cloudflare and will better scale.

Right now, I'm getting around 3M request per day, so I'd like to use the caching as much as possible.
2022-09-26 18:09:41 -04:00
morpheus65535
a338de147e Fixed import error after last commit. 2022-09-22 06:33:33 -04:00
morpheus65535
131b4e5cde
Added Swagger documentation for Bazarr API 2022-09-21 23:51:34 -04:00
vitiko98
803dfe3512 Embedded Subtitles provider: add support for alpha2 tags
Done by updating the fese library
2022-09-20 17:18:24 -04:00
morpheus65535
663e8d7395 Fixed opensubtitles.com authentication issue. #1935 2022-09-17 09:10:08 -04:00
vitiko98
29383ba742 no log: rollback subliminal_path's subtitle changes
Needs testing. This change seems not safe.
2022-09-02 23:43:01 -04:00
vitiko98
6e521143e1 Embedded Subtitles provider: improve ASS subtitles filtering 2022-09-02 23:37:17 -04:00
vitiko98
0bc05232ed Ignore mods for non-tested subtitle formats 2022-09-02 23:37:17 -04:00
vitiko98
09d1eb78c9 Avoid error trying to scan some videos
This removes unused code from subliminal_patch's core. Thanks to
refining, we don't need extra magic to guess from filenames anymore.
2022-08-29 20:50:50 -04:00
Jakob Koschel
26082780d5
Improved the fix uppercase mod to better deal with non-alphabetical characters 2022-08-29 15:34:55 -04:00
Sander van Kasteel
0d39928a7b
Added support for CORS headers 2022-08-22 15:35:35 -04:00
vitiko98
fca1c9656e Avoid 'Insufficient data to process the guess' error (fix #1910) 2022-08-16 22:46:50 -04:00
vitiko98
5624ae431e Embedded Subtitles provider: add support for unknown language tags 2022-07-20 02:51:30 -04:00
vitiko98
a748903dc4 Fix provider configs updates 2022-07-02 22:52:14 -04:00
VisoTC
b9ba99e189
Fixed Zimuku provider to bypass yunsuo protection 2022-07-02 08:35:54 -04:00
Samuel Bartík
331cbbd3bd
Fixed Titulky provider to fail silently if media is missing IMDB ID. 2022-06-30 22:07:26 -04:00
vitiko98
d2b40bd781 Add Karagarga.in provider 2022-06-29 00:07:18 -04:00
vitiko98
171747751a no log: include refiner in embeddedsubtitles.py 2022-06-28 23:29:44 -04:00
vitiko98
8086bce5c4 Embedded Subtitles Provider: major update
* fese library was updated
* mergerfs_mode support was dropped. Too much false positives
* extended codec support (two new codecs added: webvtt and mov_text)
* disable conversion to srt by default
2022-06-28 23:21:31 -04:00
morpheus65535
f543368089 Fixed DNS queries caching issue. 2022-06-24 07:49:51 -04:00
vitiko98
14153d7688 Subdivx provider: avoid TypeError 2022-06-21 01:44:24 -04:00
vitiko98
696becbeb1 Try to avoid guessit internal exception (#1858)
I was unable to reproduce the exception, but I found a strange pattern:
whenever the hints["expected_title"] value had the same value as the
title found in the filename, there was a list from the rebulk module
constantly growing. Once I remove the expected_title "hint", this
behavior is gone.

This change is transparent. If for some reason guessit returns a
different movie/series title, Bazarr will refine it with the database
anyway.
2022-06-19 18:52:52 -04:00
vitiko98
246c2f3004 Subf2m provider: improve episode matching 2022-06-12 15:48:24 -04:00
morpheus65535
a7b1b2a454 Fixed Wizdom API url. #1870 2022-06-10 22:34:22 -04:00
morpheus65535
8de8c2c0c1 no log: fixed imports 2022-06-08 21:34:21 -04:00
vitiko98
5a13046d58 Gestdown provider: improve http error handling
423 code retries were blocking every language query for too much time.
The amount of retries was reduced from 5 to 3
2022-05-25 20:44:47 -04:00
vitiko98
25281709c1 Gestdown provider: ignore incomplete subtitles 2022-05-23 23:28:26 -04:00
vitiko98
0e98880494 Gestdown provider: implement retries on 423 status codes 2022-05-23 23:27:04 -04:00
vitiko98
848836c5bb Subf2m provider: add season pack support 2022-05-23 22:46:20 -04:00
vitiko98
d3e5dc34d7 no log: add providers utility 2022-05-23 22:46:20 -04:00
Samuel Bartík
fde1e0e069
Improved titulky provider search 2022-05-23 06:09:17 -04:00
Vitiko
473041158c Subf2m provider: improve matches parsing 2022-05-21 01:50:14 -04:00
Vitiko
0e1120e037 Subdivx provider: improve movie searches 2022-05-20 15:03:03 -04:00
Vitiko
c9d63f717f Add Gestdown.info Provider 2022-05-19 21:58:51 -04:00
morpheus65535
24196d899f Merge remote-tracking branch 'origin/development' into development 2022-05-18 06:47:07 -04:00
morpheus65535
642733f92f Added support for unar RAR extraction utility. #1833 2022-05-18 06:46:52 -04:00
Vitiko
770ae2d6f6 Embedded Subtitles provider: fix cached streams with HI fallback
Fix #1884
2022-05-18 00:16:55 -04:00
Vitiko
b96fd93269 Embedded Subtitles provider: improve HI fallback 2022-05-16 23:56:52 -04:00
Gabor Lengyel
c676095783
Fixed provider Supersubtitles following domain name change 2022-05-16 14:27:30 -04:00
Vitiko
9c2737c963 no log: type (no behavior changes at all) 2022-05-13 02:03:23 -04:00
Vitiko
4edc2b756b no log: small subliminal_patch's core refactor
Try to make some methods more readable
2022-05-13 01:57:41 -04:00
Vitiko
23a5ab9b0e Improve provider configs updates 2022-05-13 01:10:10 -04:00
morpheus65535
1dff555fc8 Updated apprise to the latest version. #1834 2022-05-08 09:50:49 -04:00
Vitiko
a783515ad4 Avoid NoneType on providers pool updates 2022-05-05 14:16:30 -04:00
Vitiko
134613711a Embedded Subtitles provider: improve detection of potentially incomplete subtitles 2022-05-05 00:04:37 -04:00
Vitiko
e186bd1a0f no log: update embedded subtitles provider release info representation 2022-05-05 00:04:37 -04:00
Vitiko
0427c83cda no log: update fese library 2022-05-05 00:04:37 -04:00
morpheus65535
b7e908645e Fixed issue with indexing of external subtitles that include utf8 characters in file name. 2022-05-04 15:47:05 -04:00
morpheus65535
6e7423c9b5 Merge remote-tracking branch 'origin/development' into development 2022-05-04 06:35:49 -04:00
morpheus65535
2cb3e36f8d Fixed yify download link parsing 2022-05-04 06:31:12 -04:00
Vitiko
ce33b4f5fd Improve subtitles pack extraction 2022-05-03 23:38:55 -04:00
Vitiko
7423c80a28 Subdivx Provider: improve language parser 2022-05-03 14:47:16 -04:00
morpheus65535
2f01ab8523
Reworked Bazarr file structure to improve support and optimization 2022-05-01 08:00:20 -04:00
Vitiko
3f95784bb8 Subdivx Provider: avoid false positives on episodes search
The series search fallback was returning unrelated subtitles that
were impossible to detect with get_subtitle_from_archive()
2022-04-29 22:56:44 -04:00
Vitiko
f01d916f95 Embedded subtitles provider: improve exception handling
Related to fese's library update. Close #1819
2022-04-27 17:46:06 -04:00
Vitiko
9e2b2d8b00 no log: update legendasdivx subtitle id property (again) 2022-04-26 22:38:25 -04:00
Vitiko
4e6fd61188 no log: update legendasdivx subtitle id property 2022-04-26 21:34:08 -04:00
Vitiko
23e847290b Legendasdivx provider: improve subtitles ID consistency 2022-04-26 21:21:20 -04:00
Samuel Bartík
e6551dc4d3
Fixed Titulky provider and made some code maintenance 2022-04-25 23:36:02 -04:00
Samuel Bartík
a4d9eb694d
Improved search and fixed some issues with Titulky provider 2022-04-20 05:52:46 -04:00
Vitiko
883b0fe7a1 Subdivx Provider: improve episode searching and downloading 2022-04-18 20:17:51 -04:00
Vitiko
a95086555f no log: add update_matches() providers util 2022-04-18 20:12:07 -04:00
Vitiko
d95d6b9d35 no log: update subf2m provider 2022-04-18 16:58:11 -04:00
Vitiko
5e0461eee5 no log: add subliminal_patch provider utils
This will be used to modulate and simplify some tasks and reduce redundant code
2022-04-18 16:38:23 -04:00
Vitiko
63eded5aa3 Add subf2m.co Provider 2022-04-17 22:39:37 -04:00
Vitiko
9a327b9e4d no log: fix AttributeError on providers mixin 2022-04-17 22:10:15 -04:00
Vitiko
75f3ac9f6c Improve episode detection from compressed series packs 2022-04-16 16:45:20 -04:00
Vitiko
31e4f835cf SuperSubtitles Provider: fix filetype detection 2022-04-16 16:44:00 -04:00
Vitiko
d3e3e31fa1 Embedded subtitles provider: add timeout option 2022-04-16 15:05:11 -04:00
Samuel Bartík
ec24f3c854
Fixed Titulky login caching 2022-04-16 13:50:57 -04:00
morpheus65535
ebde572ca2 no log: some small improvements to opensubtitles.com provider 2022-04-08 09:40:30 -04:00
Vitiko
4c063bc682 no log: update supersubtitles.py comments 2022-04-07 22:18:22 -04:00
Vitiko
7040fbc071 Supersubtitles provider: Fix AttributeError for some queries (#1792) 2022-04-07 22:11:57 -04:00
morpheus65535
77da09d51f Removed support for BSplayer providers because it was causing way much issue than providing subtitles. 2022-04-06 11:34:21 -04:00
Vitiko
86d6c211af Fix ValueError for persistent pools on multithreaded setups 2022-03-31 23:11:32 -04:00
Vitiko
8c4e83c18d Fix subliminal core: wrong providers being restarted 2022-03-19 02:02:05 -04:00
Liang Yi
50a252fdd7
Frontend improvement and cleanup (#1690)
* Replace Create-React-App with Vite.js

* Update React-Router to v6

* Cleanup unused codes
2022-03-16 14:26:15 +08:00
maxwillx
33a9e512ac
Added languages profile settings to prevent downloaded subtitles from being converted to srt. 2022-03-14 20:54:36 -04:00
morpheus65535
6edc196163 Fixed Invalid IPv6 URL exception with common fix 2022-03-14 19:42:38 -04:00
morpheus65535
b73c7866e0 no log: one more fix for legendasdivx 2022-03-14 10:43:42 -04:00
morpheus65535
040ddb2362 Improved throttling of LegendasDivx provider to prevent IP address blocking by reaching 150 searches a day. #1757 2022-03-11 22:18:36 -05:00
Samuel Bartík
36f8472e28
no log: Fix titulky provider TypeError (#1760) 2022-03-11 13:56:20 -05:00
Samuel Bartík
8a9fbbeaec
Fixed titulky provider UnicodeEncodeError 2022-03-09 14:08:26 -05:00
morpheus65535
bd5aae7f77 Fixed opensubtitlescom provider to remove filename from query because it was too specific and reduced number of subtitles returned for no good reason. 2022-02-28 10:14:31 -05:00
morpheus65535
c23ce4a4d1 Reverted auditok to ffsubsync supported version 2022-02-23 22:01:11 -05:00
Vitiko
4a777c13c8 no log: update fese library
This directly improves the integrity check of subtitles from the
Embedded Subtitles provider.
2022-02-21 02:33:42 -04:00
Vitiko
644617c7c2 Improve Argenteam results matching (Covers #1728) 2022-02-21 01:50:56 -04:00
3klips
a22bb0fd12
Fixed addic7ed subtitles search query to return all languages instead of relying on filter defined in addic7ed profiles. 2022-02-08 12:10:48 -05:00
morpheus65535
23e2626df9 Fixed legendastv issue since rarfile upgrade. #1711 2022-02-06 21:36:04 -05:00
Samuel Bartík
45f085eb5d
Added cookies caching to titulky provider 2022-02-04 06:47:46 -05:00
morpheus65535
2a8dd4a89c no log: opensubtitles.com - fixed query arguments ordering to prevent redirection and additional request to provider. 2022-02-03 09:37:53 -05:00
morpheus65535
83e36e4c1c Fixed JSON parsing exception in supersubtitles provider. #1700 2022-01-30 11:21:11 -05:00
morpheus65535
6b36920b1c no log: improvement to opensubtitles.com again 2022-01-29 09:01:13 -05:00
morpheus65535
669bd3376a Improved opensubtitles.com resilience and properly deal with the Invalid JSON/Bad Gateway exception. 2022-01-28 15:56:04 -05:00
morpheus65535
d879128dcd Improved retry and exception handling in opensubtitles.com provider. 2022-01-25 23:29:42 -05:00
morpheus65535
c7500c1d04 Fixed missing tzdata module. #1693 2022-01-24 20:00:37 -05:00
morpheus65535
0c3c5a02a7 Upgraded vendored Python dependencies to the latest versions and removed the unused dependencies. 2022-01-23 23:07:52 -05:00
Vitiko
36bf0d219d no log: remove useless conditional 2022-01-23 23:12:40 -04:00
Vitiko
4c15a50134 Add Embedded Subtitles mergerfs mode 2022-01-23 23:04:56 -04:00
Vitiko
111998eb79 Add Embedded Subtitles provider memoization/cache 2022-01-23 21:50:44 -04:00
morpheus65535
75d73cf604 Fixed Subscene provider for US shows. #1678 2022-01-16 09:56:34 -05:00
Vitiko
8ad4ec95f9 Improve Subdivx provider: use a random cookie to speed up downloads and
match release groups properly
2022-01-12 00:15:57 -04:00
th3r3v
6c22b7aedd
Fixed SuperSubtitles provider and made some improvements (#1668)
SuperSubtitles provider:
- added Referer header to the session, to avoid being redirected to the main page while searching for series ID
- improved the inconsistent naming logic. Via this solution, it is not necessary anymore to add an exclusion for every Marvel series that has a different name on this provider.
- the series-related part of the subtitle search logic has been refactored to use a different (JSON) endpoint, based on the SuperSubtitles XBMC (Kodi) plugin
- changed the format of the release_info, for better scoring results
- improved the "get_matches" logic of the provider, to check for resolution and source, plus removed some unnecessary checks too
2022-01-09 17:06:06 -05:00
morpheus65535
dbf0bf2638 Fixed issue with addic7ed where alternative titles were not used properly in during searches. #1669 2022-01-08 22:40:50 -05:00
morpheus65535
58a967c892 Added settings to change the hearing-impaired subtitles file extension to use when saving to disk. 2022-01-08 14:26:40 -05:00
Anthony Arnaud
1a03d9fd12
Added cookies option for addic7ed to avoid anti-captcha provider requirement 2022-01-06 07:56:24 -05:00
morpheus65535
f55492a25c Upgraded guessit to latest version and include new dependencies. 2022-01-05 20:12:46 -05:00
Antoine Malliarakis
c83d661fb1
no log: Remove unsolicited test logs from soustitres.eu 2022-01-02 18:16:25 -05:00
Samuel Bartík
3653ef163f
Added validation for V.I.P. account status in titulky provider 2022-01-01 23:31:42 -05:00
Vitiko
68a9f2fb0c Handle InvalidFile with Embedded Subtitles Provider (close #1652) 2022-01-01 19:20:33 -04:00
Vitiko
1261e91870 Add MustGetBlacklisted exception for redundant download_subtitle calls 2022-01-01 19:18:40 -04:00
Vitiko
b90dab03e8 Add hi_fallback option to Embedded Subtitles Provider 2022-01-01 18:13:02 -04:00
morpheus65535
d8f14560e3
Improved search speed by reusing providers pools 2022-01-01 10:21:19 -05:00
Vitiko
d373bc8c0e Subdivx provider: Improve scraper 2021-12-30 15:41:16 -04:00
Vitiko
75926dc776 Fix broken Subdivx provider: update scraper
Subdivx provider has been broken for about one week. They have made
some changes on their API.
2021-12-30 15:31:59 -04:00
morpheus65535
46051646c6 Improved opensubtitles.com server-side error handling 2021-12-30 10:49:15 -05:00
Vitiko
c05997bd33 no log: update fese version 2021-12-28 15:46:09 -04:00
Vitiko
e65d643fae Embedded Subtitles provider: fix language error (fix #1653) 2021-12-28 15:38:06 -04:00
Vitiko
5d8897f675 Fix Addic7ed provider: handle language errors, avoid guessit exception and match version for movies 2021-12-23 21:57:13 -04:00
Vitiko
a88f0a7f19 Fix Addic7ed provider TypeError 2021-12-23 21:10:35 -04:00
Vitiko
048307e429 Update embeddedsubtitles provider: use original_path instead of name 2021-12-23 19:45:26 -04:00
Vitiko
d0b93a7b35 Update version.txt 2021-12-23 17:19:24 -04:00
morpheus65535
2faed982d9 Fixed issues with release_info for some providers. #1644 2021-12-19 09:56:13 -05:00
morpheus65535
5d1dccde99 Added vip and daily download limit to addic7ed and try to slow down a little to prevent being ip blocked by the provider. 2021-12-18 09:41:48 -05:00
Vitiko
b5c66e1470 Embedded Subtitles Provider: rebuild language if forced 2021-12-14 15:58:50 -04:00
Vitiko
9b74ad8610 Update Embedded Subtitles provider: add forced and ass-only support 2021-12-14 15:50:45 -04:00
Vitiko
ffca84a1b4 Add Embedded Subtitles provider 2021-12-13 17:13:40 -04:00
Vitiko
409e1a5854 Add fese module for embedded subtitles 2021-12-13 17:12:19 -04:00
Vitiko
718bd2f8b9 Add default attribute to Subtitle 2021-12-13 15:41:46 -04:00
morpheus65535
63b326aa2f
Implemented words/regex ban list for subtitles 2021-12-11 07:44:53 -05:00
morpheus65535
d51dc68ebb Updated Apprise notification module to the latest providers. 2021-12-01 21:19:18 -05:00
morpheus65535
402c82d84f Upgraded some embedded dependencies to be ready for Python 3.10. This doesn't mean that it's fully supported right now. 2021-12-01 15:47:00 -05:00
Vitiko
247f69c210 Fix Hosszupuska provider not returning results 2021-11-30 19:28:25 -04:00
Vitiko
92a60ef7bb Update bad import (dev environment issue) 2021-11-30 18:01:29 -04:00
Vitiko
d2bbc479bc Argenteam provider: fix decoding error 2021-11-30 17:40:51 -04:00
Vitiko
e1386aedc0 Avoid breaking function with optional keyword parameter 2021-11-30 15:00:03 -04:00
morpheus65535
4b8f0dbe81 Fixed addic7ed provider that wasn't able to find all shows. #1619 2021-11-30 12:02:19 -05:00
morpheus65535
c60c7513a5 Upgraded engine.io module to improve socket.io connection stability. Should help to prevent #1613. 2021-11-29 23:07:14 -05:00
morpheus65535
a7a685491a Merge remote-tracking branch 'origin/development' into development 2021-11-29 20:15:31 -05:00
Bruno Maia
592dc799e9
Improved sanitize function to replace apostrophe and backticks 2021-11-29 20:15:14 -05:00
morpheus65535
f0828959f3 Updated deep-translator module and made some fix to support translation to Chinese. There's still a bug in this module that prevent it but one it's fixed, it should be fine. 2021-11-29 14:28:30 -05:00
Samuel Bartík
d8fffe8e52
Improved Titulky provider 2021-11-14 15:30:54 -05:00
morpheus65535
b53f8ad80a Implemented some utility functions to subliminal_patch providers to list supported languages and video types. 2021-11-09 22:55:47 -05:00
morpheus65535
faa368b662 Fixed some issues in opensubtitles.com provider. #1602 2021-11-03 21:46:26 -04:00
redglory
0f31c9858b
no log: other improvement to LegendasDivx 2021-11-01 08:22:15 -04:00
redglory
f53ef40d57
Improved LegendasDivx provider to get more accurate results and prevent unnecessary throttling 2021-11-01 07:11:05 -04:00
Samuel Bartík
618bddebf9
added more improvement to Titulki provider 2021-10-31 23:35:29 -04:00