1
0
Fork 0
mirror of https://github.com/morpheus65535/bazarr synced 2025-02-22 05:51:10 +00:00
Commit graph

4080 commits

Author SHA1 Message Date
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
dependabot[bot]
70d1fd9049
no log: Bump socket.io-parser from 4.2.2 to 4.2.3 in /frontend (#2150)
Bumps [socket.io-parser](https://github.com/socketio/socket.io-parser) from 4.2.2 to 4.2.3.
- [Release notes](https://github.com/socketio/socket.io-parser/releases)
- [Changelog](https://github.com/socketio/socket.io-parser/blob/main/CHANGELOG.md)
- [Commits](https://github.com/socketio/socket.io-parser/compare/4.2.2...4.2.3)

---
updated-dependencies:
- dependency-name: socket.io-parser
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-26 10:45:10 +08:00
dependabot[bot]
787a9ad531
no log: Bump @vitest/coverage-c8 from 0.25.8 to 0.28.5 in /frontend (#2130)
Bumps [@vitest/coverage-c8](https://github.com/vitest-dev/vitest/tree/HEAD/packages/coverage-c8) from 0.25.8 to 0.28.5.
- [Release notes](https://github.com/vitest-dev/vitest/releases)
- [Commits](https://github.com/vitest-dev/vitest/commits/v0.28.5/packages/coverage-c8)

---
updated-dependencies:
- dependency-name: "@vitest/coverage-c8"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-25 23:23:15 +08:00
morpheus65535
baf7a7300d Fixed type in opensubtitles.com provider that could cause AuthenticationError for new users. #2152 2023-05-24 19:14:23 -04:00
morpheus65535
6f92e35ba0 no log: fix type in version.txt 2023-05-22 18:32:21 -04:00
morpheus65535
205bceb38d no log: make it cleaner 2023-05-21 12:08:30 -04:00
morpheus65535
80414c08ab no log: fixed static folder path in dev environment 2023-05-21 12:02:09 -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
Vitiko
585c70c39d Add support for custom languages in audio tracks 2023-05-19 02:03:17 -04:00
Vitiko
13f965d725 Use literals instead of scripts for custom languages 2023-05-18 18:55:33 -04:00
Vitiko
ea7b9487ab no log: Add tests header warning 2023-05-17 22:54:07 -04:00
morpheus65535
bdf4ee85af Fixed AI and machine translated subtitles being incorrectly returned by Opensubtitles.com 2023-05-17 06:42:27 -04:00
morpheus65535
015beaf769 Emergency fix for custom languages issue 2023-05-17 06:41:37 -04:00
Vitiko
c06dd620b7 Add mediainfo support for custom languages 2023-05-17 01:45:29 -04:00
morpheus65535
58868cff17 Merge remote-tracking branch 'origin/development' into development 2023-05-09 21:26:09 -04:00
morpheus65535
2b5cd2b72e Implemented gzip compression of http requests made to Bazarr 2023-05-09 21:25:54 -04:00
Vitiko
5f9418b1f3 Subdivx Provider: improve series matching 2023-05-09 17:08:22 -04:00
morpheus65535
98c7364ce0 Merge remote-tracking branch 'origin/development' into development 2023-05-09 13:00:12 -04:00
morpheus65535
a6ecbb4315 Fixed yify provider MissingSchema exception on download. #2139 2023-05-09 12:59:48 -04:00
Kai Yang
0907269377
Fixed zimuku.org parsing error 2023-05-07 08:16:20 -04:00
Vitiko
e83f37d42e SuperSubtitles provider: fix hungarian subtitles downloads 2023-05-04 19:15:35 -04:00
Mike Dallas
09f0a27833
Fixed SyntaxError under Python 3.7 2023-05-03 08:51:01 -04:00
morpheus65535
0f84ffb9cd
Fixed requirements.txt installation 2023-04-22 08:25:33 -04:00
morpheus65535
039fa5e1ad Merge remote-tracking branch 'origin/development' into development 2023-04-21 08:24:47 -04:00
morpheus65535
b9dcadc06f no log: fixed build process to include postgres-requirements.txt in asset 2023-04-21 08:23:55 -04:00
Jens Lee
e2ba532cee
Fixed zimuku that now require anti-captcha 2023-04-21 06:25:09 -04:00
morpheus65535
ac6dddd607
Fixed upgrade of non-existant subtitles files 2023-04-20 21:30:43 -04:00
morpheus65535
b7e4880918 no log: trying to fix linting issues 2023-04-20 11:44:50 -04:00
morpheus65535
2c313a40a5
Fixed episodes blacklist update in webui 2023-04-20 11:35:43 -04:00
Christian Segundo
e263927779
Fixed yifysubtitles url 2023-04-20 06:35:57 -04:00
LASER-Yi
93e63246bf
Update node package to latest version, fix eslint warning 2023-04-19 16:51:45 +08:00
Vitiko
da542a311a Subdivx Provider: handle UnicodeEncodeError for some titles 2023-04-14 23:19:12 -04:00
Devin Buhl
695734abe6
Allow defining postgres connection settings via env vars 2023-04-14 09:58:02 -04:00
Alex Yancey
fab9f2ea85
no log: Fix a bug in Whisper provider caused by undetermined language (#2110) 2023-04-05 20:59:59 -04:00
Alex Yancey
8b1db07e9f
Added OpenAI Whisper Provider 2023-04-05 14:43:24 -04:00
Vitiko
1427a8ab73 SuperSubtitles provider: fix episode matching 2023-03-30 17:26:21 -04:00
morpheus65535
ef67cd4792 Fixed opensubtitles.com provider year matching process. 2023-03-27 20:15:19 -04:00
morpheus65535
17e62f2d29 Added announcements for deprecated Sonarr and Radarr versions end of support. 2023-03-23 17:31:02 -04:00
morpheus65535
ec65f05399 no log: updating some dependencies that were having pending PR. 2023-03-22 21:36:58 -04:00
morpheus65535
3a10df7724 Disabling mediainfo path temporarily until issue with knowit is fixed. #2098 2023-03-22 17:12:34 -04:00
morpheus65535
7455496c4c Trying to fix Segmentation fault caused by mediainfo in docker container. #2098 2023-03-21 23:15:01 -04:00
morpheus65535
7136383098 Added an option to prevent sleeping hard drives from being wake-up by video file hashing. 2023-03-20 23:13:25 -04:00
morpheus65535
e26368079c no log: indented some settings collapse box to ease reading 2023-03-20 22:39:40 -04:00