Commit Graph

4122 Commits

Author SHA1 Message Date
morpheus65535 90ac5519c7 no log: pep8 fix 2023-07-05 15:39:55 -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
morpheus65535 cfc8a91488 Fixed exception raised when get_episodesFiles_from_sonarr_api() doesn't return proper content. #2188 2023-07-04 12:07:11 -04:00
morpheus65535 da7879a02a Fixed requirements.txt to use only wheels for Pillow since compilation doesn't work on 32bits Python embedded in Windows installer version. 2023-07-04 12:01:14 -04:00
morpheus65535 8087ce612f Merge remote-tracking branch 'origin/development' into development 2023-07-03 18:28:48 -04:00
morpheus65535 dfd8bedd6a Fixed upgradable subtitles logic being called even if user do not want to upgrade existing subtitles. 2023-07-03 18:28:29 -04:00
bpoxy 35dfa2483b
Added description of "provider" to post-processing option 2023-07-03 16:51:55 -04:00
Jan Živković 59d00f28d0
Fixed monitored status tooltip for series/movie view 2023-07-03 16:50:40 -04:00
Vitiko b17a2a5f4a Add debugging changes 2023-06-23 13:21:04 -04:00
morpheus65535 f371d0585b no log: added failsafe to encoding detection 2023-06-23 10:06:46 -04:00
morpheus65535 edfbb1a5ca Reverting b6777bc26e 2023-06-23 09:52:55 -04:00
morpheus65535 ba4da6d5a9 Merge remote-tracking branch 'origin/development' into development 2023-06-23 00:03:46 -04:00
morpheus65535 c92d574bf2 Added experimental Python 3.11 support 2023-06-23 00:03:23 -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
morpheus65535 cd016840f9 Updated pytz module to support latest timezone changes 2023-06-21 13:14:17 -04:00
LASER-Yi ab3c171483
Fix path mapping issues 2023-06-20 23:57:39 +08:00
Vitiko 4921c55bf0 Subf2m provider: improve episode matching 2023-06-18 17:18:49 -04:00
LASER-Yi 374e4bec87
Fix issues when saving the notification providers 2023-06-18 20:41:55 +08:00
morpheus65535 30a17a0c67 no log: hide "installed" badge properly 2023-06-15 21:41:21 -04:00
morpheus65535 560a697beb Fixed issue in releases page since we upgraded Mantine. 2023-06-15 15:16:14 -04:00
morpheus65535 fc01267d5b Removed leftover from legendas.tv provider. 2023-06-15 12:46:49 -04:00
morpheus65535 d4262e530a Fixed issue where subtitles would get upgraded even if not required anymore by shows languages profile. #2174 2023-06-15 12:06:18 -04:00
morpheus65535 2511c310f1 Added settings to choose desired UI theme. 2023-06-15 06:32:36 -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
LASER-Yi 963ce21d9b
Increase width of the manually search modal 2023-06-11 21:12:49 +08:00
morpheus65535 bc40abac50 Fixed some UI issues caused by React and Mantine upgrade. #2167 2023-06-10 09:10:20 -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 b9b97e980e Fixed Chinese translation issue (zh and zt inverted). #2166 2023-06-07 21:04:58 -04:00
morpheus65535 07f601f407 Updated apprise module to improve notification system. #2163 2023-06-07 14:05:42 -04:00
morpheus65535 0956d401bc Added debug logging for request/response to opensubtitles.com provider. #2153 2023-06-07 08:07:47 -04:00
LASER-Yi 6a9f875cbd
Downgrade Axios to fix a settings saving issue. 2023-06-05 09:32:30 +08:00
Liang Yi 933a456b03
Update all UI dependencies and update React version to 18 (#2127) 2023-06-04 23:03:59 +08:00
LASER-Yi 07f6666d46
no log: Update type definition of general.language_equals in frontend 2023-06-03 22:01:34 +08: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