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>
2 years ago
morpheus65535
baf7a7300d
Fixed type in opensubtitles.com provider that could cause AuthenticationError for new users. #2152
2 years ago
morpheus65535
6f92e35ba0
no log: fix type in version.txt
2 years ago
Alex Yancey
9c92dd493b
Specify ffmpeg path in case it's not in PATH envvar ( #2147 )
2 years ago
morpheus65535
bdf4ee85af
Fixed AI and machine translated subtitles being incorrectly returned by Opensubtitles.com
2 years ago
morpheus65535
58868cff17
Merge remote-tracking branch 'origin/development' into development
2 years ago
morpheus65535
2b5cd2b72e
Implemented gzip compression of http requests made to Bazarr
2 years ago
Vitiko
5f9418b1f3
Subdivx Provider: improve series matching
2 years ago
morpheus65535
98c7364ce0
Merge remote-tracking branch 'origin/development' into development
2 years ago
morpheus65535
a6ecbb4315
Fixed yify provider MissingSchema exception on download. #2139
2 years ago
Kai Yang
0907269377
Fixed zimuku.org parsing error
2 years ago
Vitiko
e83f37d42e
SuperSubtitles provider: fix hungarian subtitles downloads
2 years ago
Jens Lee
e2ba532cee
Fixed zimuku that now require anti-captcha
2 years ago
Christian Segundo
e263927779
Fixed yifysubtitles url
2 years ago
Vitiko
da542a311a
Subdivx Provider: handle UnicodeEncodeError for some titles
2 years ago
Alex Yancey
fab9f2ea85
no log: Fix a bug in Whisper provider caused by undetermined language ( #2110 )
2 years ago
Alex Yancey
8b1db07e9f
Added OpenAI Whisper Provider
2 years ago
Vitiko
1427a8ab73
SuperSubtitles provider: fix episode matching
2 years ago
morpheus65535
ef67cd4792
Fixed opensubtitles.com provider year matching process.
2 years ago
morpheus65535
ec65f05399
no log: updating some dependencies that were having pending PR.
2 years ago
morpheus65535
7455496c4c
Trying to fix Segmentation fault caused by mediainfo in docker container. #2098
2 years ago
morpheus65535
9bd2ab514e
Fixed HI subtitles wrongly ignored when normal or HI is selected in languages profile.
2 years ago
morpheus65535
abc48b4ed0
Replaced deprecated Google Universal Analytics by GA4
2 years ago
Vitiko
52507854e8
Titrari Provider: update search path
2 years ago
morpheus65535
37059e7fbd
Fixed fcache issue when moving cache file between disks.
2 years ago
morpheus65535
7720d000de
Fixed opensubtitles.com provider to prevent downloading of AI or machine translated subtitles.
2 years ago
morpheus65535
fb6ac47bea
Fixed permissions issue with cache file. #2084
2 years ago
Vitiko
587af7d138
Supersubtitles provider: fix #2092
2 years ago
Vitiko
b07786411d
no log: remove http adapter from subf2m (no longer needed)
2 years ago
Vitiko
ad13f79d19
Subf2m Provider: improve episode matching ( #2081 )
2 years ago
Antoine Aflalo
248e49de76
Improved Gestdown provider to get better matches using tvdb id
2 years ago
morpheus65535
e4bf041ecb
Fixed subtitles file naming when using hearing-impaired removal mods.
2 years ago
Fanx
72066245e0
Fixed zimuku 403 error caused by search url change
2 years ago
Jakob Koschel
68a0d78725
Fixed uppercase detection mod with multiline HI
2 years ago
morpheus65535
88c9d67cf1
Revert "Fixed uppercase mod to be run after hearing impaired mod"
...
This reverts commit 52df29a1f5
.
2 years ago
morpheus65535
189840bea7
Fixed issue with PR #2064
2 years ago
Jakob Koschel
52df29a1f5
Fixed uppercase mod to be run after hearing impaired mod
2 years ago
Vitiko
62b5bd84b9
Supersubtitles provider: update matcher and downloader
2 years ago
Vitiko
f6c0146402
Improve providers utils
2 years ago
saddfox
7f05f932ff
Fixed podnapisi provider on host with OpenSSL 3
2 years ago
Vitiko
c750fa45c8
no log: update import format
2 years ago
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.
2 years ago
Vitiko
47aff78ab0
Subf2m Provider: add optional config for SSL verification
...
Temporary
2 years ago
morpheus65535
f057a77820
Improved impact on opensubtitles.com provider by simplifying queries to improve cache usage.
2 years ago
Vitiko
24db17cd03
no log: update fese library
2 years ago
Vitiko
be75d78b93
Embedded Subtitles provider: update filters
...
Avoid unknown language fallback is such language is already present
2 years ago
Ionuț Neagu
237e85bd34
Fixed RegieLive provider to use the official API
2 years ago
Alexandru Catalin Ene
9105c53d6a
Updated regielive provider to use built in search and scraper API
2 years ago
morpheus65535
e57a99d39e
Fixed yifysubtitles provider. #2029
2 years ago
morpheus65535
5d36b80c07
Removed Enzyme for embedded subtitles indexing and fixed mediainfo integration issues. #2007
2 years ago
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)
2 years ago
Vitiko
e6864a9001
Subf2m provider: handle 403
2 years ago
Alexandru Catalin Ene
82c9e14341
Updated regielive provider to use a search proxy
2 years ago
idanlah
577a0d6542
Fixed wizdom provider urls
2 years ago
Vitiko
7640a6d5a4
Embedded Subtitles provider: improve streams parsing
...
Fix made updating fese to latest version
2 years ago
Samuel Bartík
71e749724f
Improve titulky session expiration handling ( #2014 )
2 years ago
morpheus65535
383d906749
Removed Legendastv provider since the website as been shutdown. #2012
2 years ago
morpheus65535
993168e901
Added logging to legendasdivx provider when lxml isn't installed properly. #2009
2 years ago
morpheus65535
609c5d7847
Fixed wizdom provider when imdb id isn't available. #2001
2 years ago
morpheus65535
979301dee0
Updated opensubtitles.com to give more information to the download limit reached exception.
2 years ago
morpheus65535
01557cbfbf
no log: deal with emails in opensubtitles.com
2 years ago
morpheus65535
1e4ffe9c60
Merge remote-tracking branch 'origin/development' into development
2 years ago
morpheus65535
65c6a67963
Fixed issue while guessing episode number from subtitles filename in some edge case. #1994
2 years ago
Vitiko
8c3a844071
Embedded Provider: improve streams filtering
2 years ago
morpheus65535
29a4842e2d
Fixed issue when explicitly requested HI subtitles from opensubtitles.com, subtitrarinoi or titrari.
2 years ago
Vitiko
923bcb4382
Add 'other' attribute to Video class
2 years ago
morpheus65535
118eb09db0
Fixed some remaining issues with assrt. #1953
2 years ago
Vitiko
e82dcb48bc
no log: Argenteam Provider: add default match
2 years ago
Vitiko
52760d8bc7
Refactor Argenteam Provider
...
* Deprecate text search in favour of IMDB search
* Simplify code
2 years ago
morpheus65535
4343b7c402
Fixed issue with Sonarr v3 SignalR for good. #1985
2 years ago
morpheus65535
c563262fa8
Revert "Fixed Sonarr v3 SignalR feed not connecting when mono is used to run Sonarr. #1985"
...
This reverts commit a26b86cb95
.
2 years ago
Vitiko
1f7536680a
no log: Subf2m Provider: update matcher
...
Year is already matched within the provider
2 years ago
morpheus65535
b369678165
no log: another fix for assrt. #1953
2 years ago
morpheus65535
a26b86cb95
Fixed Sonarr v3 SignalR feed not connecting when mono is used to run Sonarr. #1985
2 years ago
Vitiko
69e4a9c526
Subdivx Provider: improve series matching
2 years ago
Vitiko
0c92a1686a
no log: Subf2m Provider: add optional parameter
2 years ago
Vitiko
d6883c2c73
Subf2m Provider: improve series title matches
2 years ago
morpheus65535
4f060207ab
no log: fix for Python 3.7
2 years ago
morpheus65535
bbe2483e21
Updated vendored dependencies.
2 years ago
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.
2 years ago
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.
2 years ago
morpheus65535
78f769d743
Improved assrt provider error message logging. #1953
2 years ago
Vitiko
122398fdc8
Subf2m Provider: add support for complete series packs
2 years ago
Vitiko
876b42bb8f
Improve file picker for season packs
2 years ago
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.
2 years ago
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
2 years ago
Vitiko
254df4446f
no log: add kwargs to private func
2 years ago
Vitiko
23d4e3e006
Update provider utils
2 years ago
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>
2 years ago
Vitiko
21359b32b5
Subdivx Provider: add more search improvements
2 years ago
Vitiko
2f8814dcf8
Subdivx Provider: improve series matches
2 years ago
Vitiko
71fe2b7a1d
Subdivx Provider: improve episode queries
2 years ago
morpheus65535
0374790ed2
Fixed another issue with assrt. #1953
2 years ago
morpheus65535
560cbc0bd4
Merge remote-tracking branch 'origin/development' into development
2 years ago
morpheus65535
7ea452c467
Fixed another issue with assrt. #1953
2 years ago
Vitiko
daeb28baef
Update subzero mods
2 years ago
morpheus65535
04b095995c
Upgraded Apprise to 1.1.0 version.
2 years ago
morpheus65535
61ef236d04
no log: fix module name in version.txt
2 years ago
morpheus65535
8a5e05b86a
Merge remote-tracking branch 'origin/development' into development
2 years ago
morpheus65535
167cb5dd98
Fixed maximum number of requests per minute for assrt provider. #1953
2 years ago
Samuel Bartík
a82ab6769d
Fix titulky's subtitle downloading logic
2 years ago
Vitiko
003e033c93
Embedded Subtitles provider: avoid KeyError
2 years ago
Vitiko
571ffbccf8
Fix provider pool updates
2 years ago
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.
2 years ago
morpheus65535
8348b6c0dc
Fixed subtitulamos.tv improper matching. #1960
2 years ago
morpheus65535
0980af1060
Fixed assrt provider to prevent making too many queries to the API. #1953
2 years ago
vitiko98
c791f39e53
Subdivx Provider: improve spanish detection
2 years ago
vitiko98
571f9a195c
no log: fix gestdown provider logger
2 years ago
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.
2 years ago
morpheus65535
a338de147e
Fixed import error after last commit.
2 years ago
morpheus65535
131b4e5cde
Added Swagger documentation for Bazarr API
2 years ago
vitiko98
803dfe3512
Embedded Subtitles provider: add support for alpha2 tags
...
Done by updating the fese library
2 years ago
morpheus65535
663e8d7395
Fixed opensubtitles.com authentication issue. #1935
2 years ago
vitiko98
29383ba742
no log: rollback subliminal_path's subtitle changes
...
Needs testing. This change seems not safe.
2 years ago
vitiko98
6e521143e1
Embedded Subtitles provider: improve ASS subtitles filtering
2 years ago
vitiko98
0bc05232ed
Ignore mods for non-tested subtitle formats
2 years ago
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.
2 years ago
Jakob Koschel
26082780d5
Improved the fix uppercase mod to better deal with non-alphabetical characters
2 years ago
Sander van Kasteel
0d39928a7b
Added support for CORS headers
2 years ago
vitiko98
fca1c9656e
Avoid 'Insufficient data to process the guess' error ( fix #1910 )
2 years ago
vitiko98
5624ae431e
Embedded Subtitles provider: add support for unknown language tags
2 years ago
vitiko98
a748903dc4
Fix provider configs updates
3 years ago
VisoTC
b9ba99e189
Fixed Zimuku provider to bypass yunsuo protection
3 years ago
Samuel Bartík
331cbbd3bd
Fixed Titulky provider to fail silently if media is missing IMDB ID.
3 years ago
vitiko98
d2b40bd781
Add Karagarga.in provider
3 years ago
vitiko98
171747751a
no log: include refiner in embeddedsubtitles.py
3 years ago
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
3 years ago
morpheus65535
f543368089
Fixed DNS queries caching issue.
3 years ago
vitiko98
14153d7688
Subdivx provider: avoid TypeError
3 years ago
vitiko98
696becbeb1
Try to avoid guessit internal exception ( #1858 )
...
I was unable to reproduce the exception, but I found a strange pattern:
whenever the hints["expected_title"] value had the same value as the
title found in the filename, there was a list from the rebulk module
constantly growing. Once I remove the expected_title "hint", this
behavior is gone.
This change is transparent. If for some reason guessit returns a
different movie/series title, Bazarr will refine it with the database
anyway.
3 years ago
vitiko98
246c2f3004
Subf2m provider: improve episode matching
3 years ago
morpheus65535
a7b1b2a454
Fixed Wizdom API url. #1870
3 years ago
morpheus65535
8de8c2c0c1
no log: fixed imports
3 years ago
vitiko98
5a13046d58
Gestdown provider: improve http error handling
...
423 code retries were blocking every language query for too much time.
The amount of retries was reduced from 5 to 3
3 years ago
vitiko98
25281709c1
Gestdown provider: ignore incomplete subtitles
3 years ago
vitiko98
0e98880494
Gestdown provider: implement retries on 423 status codes
3 years ago
vitiko98
848836c5bb
Subf2m provider: add season pack support
3 years ago
vitiko98
d3e5dc34d7
no log: add providers utility
3 years ago
Samuel Bartík
fde1e0e069
Improved titulky provider search
3 years ago
Vitiko
473041158c
Subf2m provider: improve matches parsing
3 years ago
Vitiko
0e1120e037
Subdivx provider: improve movie searches
3 years ago
Vitiko
c9d63f717f
Add Gestdown.info Provider
3 years ago
morpheus65535
24196d899f
Merge remote-tracking branch 'origin/development' into development
3 years ago
morpheus65535
642733f92f
Added support for unar RAR extraction utility. #1833
3 years ago
Vitiko
770ae2d6f6
Embedded Subtitles provider: fix cached streams with HI fallback
...
Fix #1884
3 years ago
Vitiko
b96fd93269
Embedded Subtitles provider: improve HI fallback
3 years ago
Gabor Lengyel
c676095783
Fixed provider Supersubtitles following domain name change
3 years ago
Vitiko
9c2737c963
no log: type (no behavior changes at all)
3 years ago
Vitiko
4edc2b756b
no log: small subliminal_patch's core refactor
...
Try to make some methods more readable
3 years ago
Vitiko
23a5ab9b0e
Improve provider configs updates
3 years ago