1
0
Fork 0
mirror of https://github.com/morpheus65535/bazarr synced 2024-12-22 15:54:26 +00:00
Commit graph

103 commits

Author SHA1 Message Date
morpheus65535
115926d440 no log: renamed all import test since it's broken and need rework in the future 2024-09-22 12:22:17 -04:00
morpheus65535
9db30f9eb0 no log: small fix to test 2024-09-20 08:43:53 -04:00
morpheus65535
6364659c3b no log: removed subscene provider tests 2024-09-20 07:43:20 -04:00
morpheus65535
90b44802dc Fixed logging filter issue. 2024-09-20 07:42:16 -04:00
Omar Pakker
cc7a8000e7
Fixed logging filter bug introduced in 1.4.4 2024-09-16 12:10:50 -04:00
GabbeHags
92708e722f
Made all subf2m test pass (#2645) 2024-09-02 05:19:52 -04:00
Vitiko
91a35317cc Subdl Provider: add tests and use standard utils 2024-07-14 19:02:50 -04:00
Vitiko
aafaf1cbf1 Update fese (extractor) (cover #2538) 2024-07-09 18:51:51 -04:00
Vitiko
4430ec8f3e Subtitle class: get format dinamically (fix #2514) 2024-06-18 17:44:12 -04:00
Anderson Shindy Oki
77ebd036f2
Added animetosho provider 2024-04-14 08:19:13 -04:00
Vitiko
d9629df3af Subdivx Provider: major updates 2024-02-23 03:25:20 -04:00
MrHereAndThere
ad8f116c78
Updated fallback language for embeddedsubtitles provider to be able to specify the one to use 2024-02-19 21:10:27 -05:00
Vitiko
deef13d11b Add Argenteam Dump Provider 2024-01-28 17:18:48 -04:00
morpheus65535
783e6b38ea Removed aRGENTeaM provider that have been recently closed. #2352 2024-01-12 06:41:51 -05: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
Vitiko
9cf21242ca Add more info to exceptions 2023-09-14 01:52:45 -04:00
Vitiko
c11af96950 Embedded subtitles: fix #2195 2023-07-23 23:40:20 -04:00
Vitiko
4921c55bf0 Subf2m provider: improve episode matching 2023-06-18 17:18:49 -04:00
Vitiko
6ac5bc7d4d Embedded Subtitles provider: Fix #2171 2023-06-13 17:53:51 -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
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
Vitiko
585c70c39d Add support for custom languages in audio tracks 2023-05-19 02:03:17 -04:00
Vitiko
ea7b9487ab no log: Add tests header warning 2023-05-17 22:54:07 -04:00
Vitiko
c06dd620b7 Add mediainfo support for custom languages 2023-05-17 01:45:29 -04:00
Vitiko
5f9418b1f3 Subdivx Provider: improve series matching 2023-05-09 17:08:22 -04:00
Vitiko
e83f37d42e SuperSubtitles provider: fix hungarian subtitles downloads 2023-05-04 19:15:35 -04:00
Vitiko
da542a311a Subdivx Provider: handle UnicodeEncodeError for some titles 2023-04-14 23:19:12 -04:00
Vitiko
1427a8ab73 SuperSubtitles provider: fix episode matching 2023-03-30 17:26:21 -04:00
Vitiko
587af7d138 Supersubtitles provider: fix #2092 2023-03-10 18:12:37 -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
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
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
be75d78b93 Embedded Subtitles provider: update filters
Avoid unknown language fallback is such language is already present
2023-01-19 00:21:21 -04: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
d064ac77ec no log: add tests data 2022-11-25 23:37:10 -04:00
Vitiko
923bcb4382 Add 'other' attribute to Video class 2022-11-19 16:38:37 -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
Vitiko
69e4a9c526 Subdivx Provider: improve series matching 2022-11-09 03:38:50 -04:00
Vitiko
d6883c2c73 Subf2m Provider: improve series title matches 2022-11-08 23:12:50 -04: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
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
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