Commit Graph

17 Commits

Author SHA1 Message Date
Vitiko e3c4def89a Subf2m Provider: add user-agent header configuration
This change fixes empty queries.
2023-06-12 19:36:11 -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
Alex Yancey 9c92dd493b
Specify ffmpeg path in case it's not in PATH envvar (#2147) 2023-05-20 21:02:48 -04:00
Alex Yancey 8b1db07e9f
Added OpenAI Whisper Provider 2023-04-05 14:43:24 -04:00
morpheus65535 7502c59638 no log: small fix for announcements and enabled providers 2023-02-25 08:43:35 -05:00
Vitiko 47aff78ab0 Subf2m Provider: add optional config for SSL verification
Temporary
2023-01-31 16:39:38 -04:00
morpheus65535 6693b98811 Fixed issues with new database creation since e6d0893812 2022-12-15 11:00:56 -05:00
morpheus65535 e6d0893812 Added routine to remove deprecated providers from enabled providers in config.ini 2022-12-13 21:14:32 -05:00
morpheus65535 6a17a7fecd no log: fixed throttled providers count update of UI 2022-12-10 07:31:47 -05:00
vitiko98 5624ae431e Embedded Subtitles provider: add support for unknown language tags 2022-07-20 02:51:30 -04:00
vitiko98 d2b40bd781 Add Karagarga.in provider 2022-06-29 00:07:18 -04:00
morpheus65535 5fab67bca0 no log: fixed unused imports and indent issues 2022-06-28 23:35:19 -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 c8c815e240 Fixed LegendasDivx throttling reset time to prevent IP from getting blocked. 2022-06-23 06:41:53 -04:00
morpheus65535 a79c2187de Fixed throttle expiration for providers that reset at midnight. #1863 2022-06-14 15:56:04 -04:00
Samuel Bartík fde1e0e069
Improved titulky provider search 2022-05-23 06:09:17 -04:00
morpheus65535 2f01ab8523
Reworked Bazarr file structure to improve support and optimization 2022-05-01 08:00:20 -04:00
Renamed from bazarr/get_providers.py (Browse further)