1
0
Fork 0
mirror of https://github.com/morpheus65535/bazarr synced 2025-02-22 05:51:10 +00:00
Commit graph

642 commits

Author SHA1 Message Date
Vitiko
d6579417ba HDBits provider: add search filters 2023-10-12 02:55:45 -04:00
Vitiko
bee6919979 EmbeddedSubtitles provider: add blacklist support 2023-10-10 03:37:45 -04:00
Vitiko
0031abcea4 HDBits provider: handle JSON errors 2023-10-10 03:13:55 -04:00
morpheus65535
33af93a341 Fixed hosszupuska website parsing issue. #2246 2023-10-09 10:38:16 -04:00
Vitiko
654934b5e1 EmbeddedSubtitles provider: update subtitles checker 2023-10-01 13:20:32 -04:00
Vitiko
3942264d00 HDBits provider: improve episode matching 2023-09-30 23:36:35 -04:00
Vitiko
63335f40fc Add HDBits.org provider 2023-09-26 01:27:24 -04:00
morpheus65535
e7703ca5a0 Added logging for opensubtitles.com 400 error. #2232 2023-09-21 06:26:46 -04:00
Vitiko
b9648172ba Subdivx provider: improve movies matches
Add one year tolerancy for movies. False positives probability
is low enough to do so.

(Fix #2245)
2023-09-18 15:15:36 -04:00
morpheus65535
aa0af3f601 Removed sucha provider that doesn't exist anymore. #2242 2023-09-15 17:03:29 -04:00
Vitiko
906c2e9cb9 EmbeddedSubtitles provider: improve cache management (Fix #2241) 2023-09-14 15:58:58 -04:00
morpheus65535
162dbc0eee Fixed opensubtitles.com token from being added to debug log in login response 2023-08-24 12:06:22 -04:00
morpheus65535
1bdad91663 Improved debug logging of login attempts to opensubtitles.com provider. 2023-08-22 17:16:56 -04:00
morpheus65535
71f17a2024 Improved supersubtitles to detect properly forced subtitles. #2226 2023-08-14 12:19:41 -04:00
morpheus65535
cce1be4d0e Fixed yavka.net subtitles search since they've modified the website. #2225 2023-08-12 09:57:48 -04:00
morpheus65535
403386c7d8 no log: improved queries to os.com to prevent redirection 2023-08-08 09:14:50 -04:00
morpheus65535
7e211f6250 Removed sensitive information from opensubtitles.com debug logging. 2023-08-06 16:47:11 -04:00
Vitiko
c11af96950 Embedded subtitles: fix #2195 2023-07-23 23:40:20 -04:00
morpheus65535
6e7858fc7c Fixed more stuff related to opensubtitles.com 2023-07-19 16:01:29 -04:00
morpheus65535
333c6b23f5 Fixed opensubtitles.com issue with looping over failed login. 2023-07-16 23:30:37 -04:00
morpheus65535
529b5a1386 Improved opensubtitles.com provider to deal with return codes in some edge cases. #2179 2023-07-05 11:52:59 -04:00
Vitiko
b17a2a5f4a Add debugging changes 2023-06-23 13:21:04 -04:00
morpheus65535
edfbb1a5ca Reverting b6777bc26e 2023-06-23 09:52:55 -04:00
Vitiko
b6777bc26e Debugging: update subtitle and language representations
This will help making the logs more comprehensible.
2023-06-22 16:50:42 -04:00
Vitiko
4921c55bf0 Subf2m provider: improve episode matching 2023-06-18 17:18:49 -04:00
Vitiko
304ad160e0 Subf2m provider: improve queries 2023-06-14 04:08:36 -04:00
Vitiko
2b0e435f6a Update language equals mechanism
This commit will avoid the core requesting languages that are not
supported by providers.
2023-06-13 22:35:43 -04:00
Vitiko
6ac5bc7d4d Embedded Subtitles provider: Fix #2171 2023-06-13 17:53:51 -04:00
Vitiko
a82f52f84b no log: Subf2m provider: avoid iterating over unsupported languages 2023-06-13 02:51:36 -04:00
Vitiko
ee1506ed54 Subf2m provider: add support for IMDB IDs 2023-06-13 02:13:42 -04:00
Vitiko
e3c4def89a Subf2m Provider: add user-agent header configuration
This change fixes empty queries.
2023-06-12 19:36:11 -04:00
Vitiko
1c1caeb78b Embedded Subtitles provider: handle ASS errors
Fix #2168
2023-06-12 18:48:46 -04:00
morpheus65535
a13d69ddb2 Fixed yavka.net provider. #2169 2023-06-12 15:24:40 -04:00
morpheus65535
3c57381bb4 Fixed server side exception throttling opensubtitles.com when it shouldn't. #2153 2023-06-07 21:21:02 -04:00
morpheus65535
0956d401bc Added debug logging for request/response to opensubtitles.com provider. #2153 2023-06-07 08:07:47 -04:00
morpheus65535
b02c1a7e28 Merge remote-tracking branch 'origin/development' into development 2023-06-02 20:48:24 -04:00
morpheus65535
ead8a38927 Added support for Portuguese and Simplified Chinese to opensubtitles.com. #2159 2023-06-02 20:47:55 -04:00
Vitiko
f1cbfd4be5 no log: add debug call to lang-equals 2023-05-30 19:25:37 -04:00
morpheus65535
bbdb61a514 Merge remote-tracking branch 'origin/development' into development 2023-05-29 06:39:15 -04:00
morpheus65535
2346f3ed58 Added some exceptions that shouldn't be retried to retry function. #2153 2023-05-29 06:38:35 -04:00
Vitiko
4725496313 Language-equals: add compatibility for more providers
Some providers directly uses language codes within their query
implementations. This 'translator' method will take care of that.
2023-05-28 22:06:43 -04:00
Vitiko
77531090b2 no log: reduce debug call verbosity 2023-05-28 21:05:21 -04:00
morpheus65535
43a6630527 Merge remote-tracking branch 'origin/development' into development 2023-05-28 09:16:37 -04:00
morpheus65535
d90d1cbfcc Fixed external subtitles indexation with accented characters that resulted in download in loop. #1961 2023-05-28 09:16:29 -04:00
Vitiko
547f8c428d
Added feature to treat couples of languages as equal when searching for subtitles
* Add 'Language-equals' support

This feature will treat couples of languages as equal for list-subtitles
operations. It's optional; its methods won't do anything if an empy list
is set. See more info at docstrings from 'subliminal_patch.core'.

For example, let's say I only want to have "Spanish (es.srt)" subtitles
and I don't care about the differences between Spain and LATAM spanish.
This feature will allow me to always get European Spanish even from
LATAM Spanish providers like Argenteam and Subdivx.

Example for config.ini:

language_equals = ['spa-MX:spa']

(Which means all Latam Spanish subtitles from every provider will be
converted to European Spanish)

* Add PT and ZH language tests

* Add HI and Forced parsing for language pairs

Format example: ["en@HI:en", "es-MX@forced:es-MX"]

* Update languages.py

* Update API definition to reflect the previous change

* Add language equals table to the UI (test only)

* Add global language selector and get language from code3 utilities

* Add unit tests for language equal feature

* Add encode function to language equal feature

* Add CRUD methods to the language equals panel

* Add equals description

* Add parsing support for alpha3 custom languages

* no log: add more tests

* Add forced and hi support to the language equal target

---------

Co-authored-by: morpheus65535 <louis_vezina@hotmail.com>
Co-authored-by: LASER-Yi <liangyi0007@gmail.com>
2023-05-27 09:38:55 -04:00
morpheus65535
baf7a7300d Fixed type in opensubtitles.com provider that could cause AuthenticationError for new users. #2152 2023-05-24 19:14:23 -04:00
Alex Yancey
9c92dd493b
Specify ffmpeg path in case it's not in PATH envvar (#2147) 2023-05-20 21:02:48 -04:00
morpheus65535
bdf4ee85af Fixed AI and machine translated subtitles being incorrectly returned by Opensubtitles.com 2023-05-17 06:42:27 -04:00
Vitiko
5f9418b1f3 Subdivx Provider: improve series matching 2023-05-09 17:08:22 -04:00
morpheus65535
98c7364ce0 Merge remote-tracking branch 'origin/development' into development 2023-05-09 13:00:12 -04:00