Commit Graph

973 Commits

Author SHA1 Message Date
Vitiko e83f37d42e SuperSubtitles provider: fix hungarian subtitles downloads 2023-05-04 19:15:35 -04:00
Jens Lee e2ba532cee
Fixed zimuku that now require anti-captcha 2023-04-21 06:25:09 -04:00
Christian Segundo e263927779
Fixed yifysubtitles url 2023-04-20 06:35:57 -04:00
Vitiko da542a311a Subdivx Provider: handle UnicodeEncodeError for some titles 2023-04-14 23:19:12 -04:00
Alex Yancey fab9f2ea85
no log: Fix a bug in Whisper provider caused by undetermined language (#2110) 2023-04-05 20:59:59 -04:00
Alex Yancey 8b1db07e9f
Added OpenAI Whisper Provider 2023-04-05 14:43:24 -04:00
Vitiko 1427a8ab73 SuperSubtitles provider: fix episode matching 2023-03-30 17:26:21 -04:00
morpheus65535 ef67cd4792 Fixed opensubtitles.com provider year matching process. 2023-03-27 20:15:19 -04:00
morpheus65535 ec65f05399 no log: updating some dependencies that were having pending PR. 2023-03-22 21:36:58 -04:00
morpheus65535 7455496c4c Trying to fix Segmentation fault caused by mediainfo in docker container. #2098 2023-03-21 23:15:01 -04:00
morpheus65535 9bd2ab514e Fixed HI subtitles wrongly ignored when normal or HI is selected in languages profile. 2023-03-19 20:59:44 -04:00
morpheus65535 abc48b4ed0
Replaced deprecated Google Universal Analytics by GA4 2023-03-17 09:01:15 -04:00
Vitiko 52507854e8 Titrari Provider: update search path 2023-03-16 14:30:27 -04:00
morpheus65535 37059e7fbd Fixed fcache issue when moving cache file between disks. 2023-03-15 12:06:24 -04:00
morpheus65535 7720d000de Fixed opensubtitles.com provider to prevent downloading of AI or machine translated subtitles. 2023-03-13 12:20:56 -04:00
morpheus65535 fb6ac47bea Fixed permissions issue with cache file. #2084 2023-03-12 19:51:04 -04:00
Vitiko 587af7d138 Supersubtitles provider: fix #2092 2023-03-10 18:12:37 -04:00
Vitiko b07786411d no log: remove http adapter from subf2m (no longer needed) 2023-03-03 15:55:47 -04:00
Vitiko ad13f79d19 Subf2m Provider: improve episode matching (#2081) 2023-03-03 15:51:38 -04:00
Antoine Aflalo 248e49de76
Improved Gestdown provider to get better matches using tvdb id 2023-03-01 22:11:50 -05:00
morpheus65535 e4bf041ecb Fixed subtitles file naming when using hearing-impaired removal mods. 2023-03-01 16:04:27 -05:00
Fanx 72066245e0
Fixed zimuku 403 error caused by search url change 2023-02-22 15:25:45 -05:00
Jakob Koschel 68a0d78725
Fixed uppercase detection mod with multiline HI 2023-02-22 12:28:02 -05:00
morpheus65535 88c9d67cf1 Revert "Fixed uppercase mod to be run after hearing impaired mod"
This reverts commit 52df29a1f5.
2023-02-21 06:33:44 -05:00
morpheus65535 189840bea7 Fixed issue with PR #2064 2023-02-21 06:24:18 -05:00
Jakob Koschel 52df29a1f5
Fixed uppercase mod to be run after hearing impaired mod 2023-02-20 08:47:53 -05:00
Vitiko 62b5bd84b9 Supersubtitles provider: update matcher and downloader 2023-02-15 20:51:55 -04:00
Vitiko f6c0146402 Improve providers utils 2023-02-15 20:49:56 -04:00
saddfox 7f05f932ff
Fixed podnapisi provider on host with OpenSSL 3 2023-02-09 06:09:56 -05:00
Vitiko c750fa45c8 no log: update import format 2023-02-07 19:28:55 -04:00
Vitiko 3a0085a155 Add Subscene Cloudscraper Provider [Experimental]
An alternative module to the Subscene provider.

* Uses similar parsing mechanisms of the Subfm2 provider
* Uses cloudscraper for server calls
* No login required

Not yet implemented in Web UI.
2023-02-02 16:24:11 -04:00
Vitiko 47aff78ab0 Subf2m Provider: add optional config for SSL verification
Temporary
2023-01-31 16:39:38 -04:00
morpheus65535 f057a77820 Improved impact on opensubtitles.com provider by simplifying queries to improve cache usage. 2023-01-31 14:52:13 -05:00
Vitiko 24db17cd03 no log: update fese library 2023-01-19 00:50:15 -04:00
Vitiko be75d78b93 Embedded Subtitles provider: update filters
Avoid unknown language fallback is such language is already present
2023-01-19 00:21:21 -04:00
Ionuț Neagu 237e85bd34
Fixed RegieLive provider to use the official API 2023-01-09 07:47:44 -05:00
Alexandru Catalin Ene 9105c53d6a
Updated regielive provider to use built in search and scraper API 2023-01-05 21:37:07 -05:00
morpheus65535 e57a99d39e Fixed yifysubtitles provider. #2029 2022-12-31 11:14:09 -05:00
morpheus65535 5d36b80c07 Removed Enzyme for embedded subtitles indexing and fixed mediainfo integration issues. #2007 2022-12-22 11:37:37 -05:00
Vitiko 1233026adc Subtitrarinoi provider: add several improvements
* Fix episode matches (#2018)
* Use standard utils to download subtitles
* Use standard utils to guess matches (partially implemented)
2022-12-20 17:22:49 -04:00
Vitiko e6864a9001 Subf2m provider: handle 403 2022-12-20 15:47:11 -04:00
Alexandru Catalin Ene 82c9e14341
Updated regielive provider to use a search proxy 2022-12-20 06:26:52 -05:00
idanlah 577a0d6542
Fixed wizdom provider urls 2022-12-17 16:26:35 -05:00
Vitiko 7640a6d5a4 Embedded Subtitles provider: improve streams parsing
Fix made updating fese to latest version
2022-12-15 19:04:54 -04:00
Samuel Bartík 71e749724f
Improve titulky session expiration handling (#2014) 2022-12-14 17:05:41 -05:00
morpheus65535 383d906749 Removed Legendastv provider since the website as been shutdown. #2012 2022-12-13 21:16:00 -05:00
morpheus65535 993168e901 Added logging to legendasdivx provider when lxml isn't installed properly. #2009 2022-12-13 09:06:06 -05:00
morpheus65535 609c5d7847 Fixed wizdom provider when imdb id isn't available. #2001 2022-12-13 07:21:30 -05:00
morpheus65535 979301dee0 Updated opensubtitles.com to give more information to the download limit reached exception. 2022-12-12 06:33:31 -05:00
morpheus65535 01557cbfbf no log: deal with emails in opensubtitles.com 2022-12-04 10:24:59 -05:00
morpheus65535 1e4ffe9c60 Merge remote-tracking branch 'origin/development' into development 2022-11-26 15:27:08 -05:00
morpheus65535 65c6a67963 Fixed issue while guessing episode number from subtitles filename in some edge case. #1994 2022-11-26 15:26:54 -05:00
Vitiko 8c3a844071 Embedded Provider: improve streams filtering 2022-11-25 23:42:32 -04:00
morpheus65535 29a4842e2d Fixed issue when explicitly requested HI subtitles from opensubtitles.com, subtitrarinoi or titrari. 2022-11-25 22:21:01 -05:00
Vitiko 923bcb4382 Add 'other' attribute to Video class 2022-11-19 16:38:37 -04:00
morpheus65535 118eb09db0 Fixed some remaining issues with assrt. #1953 2022-11-18 15:41:08 -05:00
Vitiko e82dcb48bc no log: Argenteam Provider: add default match 2022-11-13 19:45:49 -04:00
Vitiko 52760d8bc7 Refactor Argenteam Provider
* Deprecate text search in favour of IMDB search
* Simplify code
2022-11-13 19:41:42 -04:00
morpheus65535 4343b7c402 Fixed issue with Sonarr v3 SignalR for good. #1985 2022-11-10 20:56:44 -05:00
morpheus65535 c563262fa8 Revert "Fixed Sonarr v3 SignalR feed not connecting when mono is used to run Sonarr. #1985"
This reverts commit a26b86cb95.
2022-11-10 20:55:12 -05:00
Vitiko 1f7536680a no log: Subf2m Provider: update matcher
Year is already matched within the provider
2022-11-09 18:45:01 -04:00
morpheus65535 b369678165 no log: another fix for assrt. #1953 2022-11-09 16:14:09 -05:00
morpheus65535 a26b86cb95 Fixed Sonarr v3 SignalR feed not connecting when mono is used to run Sonarr. #1985 2022-11-09 12:29:14 -05:00
Vitiko 69e4a9c526 Subdivx Provider: improve series matching 2022-11-09 03:38:50 -04:00
Vitiko 0c92a1686a no log: Subf2m Provider: add optional parameter 2022-11-08 23:40:40 -04:00
Vitiko d6883c2c73 Subf2m Provider: improve series title matches 2022-11-08 23:12:50 -04:00
morpheus65535 4f060207ab no log: fix for Python 3.7 2022-11-07 13:31:58 -05:00
morpheus65535 bbe2483e21 Updated vendored dependencies. 2022-11-07 13:08:27 -05:00
Vitiko 708fbfcd8e Add support for configurable scores (movies and episodes)
Currently only configurable via manual `data/config/config.ini`
text edition.

New configurable values are `series_scores` and `movie_scores`.

For each config section, the sum of the config values (except hash)
must be equal to the hash value plus one (1), otherwise default
values will be used (notified via debug log).

Hash values are not meant to be modified; the value is shown in
`config.ini` for reference. Modifying hash values would imply
breaking Bazarr's score logic.
2022-11-05 01:07:06 -04:00
Antoine Aflalo be34b8fddd
Gestdown Provider: Use ShowId to find subtitles. Fixes issue with Slash in show name. (#1979)
This way, if a show has a slash (/) inside its name, we can still find subtitles for it.
2022-10-29 18:13:56 -04:00
morpheus65535 78f769d743 Improved assrt provider error message logging. #1953 2022-10-29 11:27:03 -04:00
Vitiko 122398fdc8 Subf2m Provider: add support for complete series packs 2022-10-27 00:00:19 -04:00
Vitiko 876b42bb8f Improve file picker for season packs 2022-10-27 00:00:19 -04:00
Paweł Wegner bf26dd231a
Improved napiprojekt to search for subtitles using video metadata.
Prior to this change bazarr could lookup napiprojekt subtitles only by hash of
the video file.
2022-10-26 20:43:07 -04:00
Vitiko fe8101dcee Subf2m Provider: add more improvements
* Retry queries when subf2m server returns 503
* Add support for episode titles in season packs
* Add support for season packs with "Complete Series" titles
2022-10-26 20:27:49 -04:00
Vitiko 254df4446f no log: add kwargs to private func 2022-10-26 16:55:00 -04:00
Vitiko 23d4e3e006 Update provider utils 2022-10-26 16:53:41 -04:00
silentcommitter d4203ee7cb
Subf2m provider improvements (#1973)
* subf2m provider: add more languages

* subf2m provider: use urllib parse rather than string replacement

* subf2m provider: change movie title matching to match exact year and use similarity based title matching

* subf2m provider: change tvshow title matching to match exact season and use similarity based title matching

* no log: Subf2m Provider: add tests

* Subf2m Provider: add serbian support

Co-authored-by: Vitiko <averroista@protonmail.com>
2022-10-22 15:26:28 -04:00
Vitiko 21359b32b5 Subdivx Provider: add more search improvements 2022-10-20 19:42:25 -04:00
Vitiko 2f8814dcf8 Subdivx Provider: improve series matches 2022-10-19 20:06:00 -04:00
Vitiko 71fe2b7a1d Subdivx Provider: improve episode queries 2022-10-19 01:17:54 -04:00
morpheus65535 0374790ed2 Fixed another issue with assrt. #1953 2022-10-16 23:13:52 -04:00
morpheus65535 560cbc0bd4 Merge remote-tracking branch 'origin/development' into development 2022-10-13 08:33:34 -04:00
morpheus65535 7ea452c467 Fixed another issue with assrt. #1953 2022-10-13 08:33:20 -04:00
Vitiko daeb28baef Update subzero mods 2022-10-12 19:04:42 -04:00
morpheus65535 04b095995c Upgraded Apprise to 1.1.0 version. 2022-10-10 21:19:24 -04:00
morpheus65535 61ef236d04 no log: fix module name in version.txt 2022-10-10 21:17:40 -04:00
morpheus65535 8a5e05b86a Merge remote-tracking branch 'origin/development' into development 2022-10-09 21:54:32 -04:00
morpheus65535 167cb5dd98 Fixed maximum number of requests per minute for assrt provider. #1953 2022-10-09 21:54:11 -04:00
Samuel Bartík a82ab6769d
Fix titulky's subtitle downloading logic 2022-10-09 09:17:16 -04:00
Vitiko 003e033c93 Embedded Subtitles provider: avoid KeyError 2022-10-06 16:40:54 -04:00
Vitiko 571ffbccf8 Fix provider pool updates 2022-10-03 20:44:31 -04:00
Antoine Aflalo 7f1d3e1adf
Gestdown: Check for show before checking for subtitle (#1962)
Will reduce the number of different calls to the provider and only ask for subtitle when we know the show exists.
2022-10-02 13:17:00 -04:00
morpheus65535 8348b6c0dc Fixed subtitulamos.tv improper matching. #1960 2022-09-29 06:28:54 -04:00
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