Commit Graph

805 Commits

Author SHA1 Message Date
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