Commit Graph

418 Commits

Author SHA1 Message Date
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
Jens Lee e2ba532cee
Fixed zimuku that now require anti-captcha 2023-04-21 06:25:09 -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
LASER-Yi 93e63246bf
Update node package to latest version, fix eslint warning 2023-04-19 16:51:45 +08:00
Alex Yancey 8b1db07e9f
Added OpenAI Whisper Provider 2023-04-05 14:43:24 -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
dependabot[bot] dec2f7d478
no log: Bump @vitest/ui from 0.25.8 to 0.29.1 in /frontend (#2076)
Bumps [@vitest/ui](https://github.com/vitest-dev/vitest/tree/HEAD/packages/ui) from 0.25.8 to 0.29.1.
- [Release notes](https://github.com/vitest-dev/vitest/releases)
- [Commits](https://github.com/vitest-dev/vitest/commits/v0.29.1/packages/ui)

---
updated-dependencies:
- dependency-name: "@vitest/ui"
  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-03-06 00:53:21 +08:00
LASER-Yi 051d37f96e
no log: Fix all non-camelCase variables 2023-02-28 23:38:49 +08:00
morpheus65535 ef46ab9261 Improved languages profile edit modal to clarify subtitles types. 2023-02-27 22:49:33 -05:00
morpheus65535 5dc4e782ae Added option to deeply analyze audio tracks from media files or not to determine languages. Default is to use Sonarr/Radarr provided languages instead. Should prevent API limit ban for cloud user. 2023-02-23 18:32:54 -05:00
morpheus65535 58262bc299
Added Announcements section in System to be able to inform users of Bazarr's news. 2023-02-20 16:04:09 -05:00
LASER-Yi 4bbb0971da
no log: Add warning when not writing camelCase in frontend project. We should fix those later 2023-02-20 14:36:43 +08:00
Marian Moravcik 339883cff6 Fixed UI freeze on certain notification events 2023-02-18 21:13:20 +01:00
LASER-Yi 839ce384c6 Bring back clear action to the mass editor 2023-02-11 09:12:05 +08:00
LASER-Yi 1106f78ec1 no log: Move setup file to src folder 2023-02-11 01:36:46 +08:00
LASER-Yi 85e4796e0b no log: Add unit tests to all pages 2023-02-11 01:21:09 +08:00
LASER-Yi 415a2e13d3 no log: Completely refactor testing interface 2023-02-10 23:39:06 +08:00
LASER-Yi 75a7dc8cdf no log: Refactor app structure 2023-02-10 23:31:51 +08:00
Liang Yi 0b7a1a90a1
Add Unit Tests to UI (#2015)
* Update testing framework

* Update action button test

* Add unit tests for language and authentication page

* Add unit tests for the custom selector

* Fix packages, add new testing plugin for eslint, fix issues

* Add unit tests for ChipInput

* Add coverage and test ui. Add more tests

* Fix formatting issues

* Try to fix the styling issues again

* Fix formatting issues
2023-02-10 23:10:13 +08:00
morpheus65535 3310f6aeb8 Improved audio track language detection by using our video parser instead of values provided by Sonarr/Radarr. We also added "treat as" concept for undefined languages audio and embedded subtitles tracks. #2050 2023-02-09 16:58:38 -05:00
morpheus65535 d39f41d7e2 Increased minimum subtitles search and upgrade frequencies to 6 hours instead of 3 to reduce the impact on providers' website. 2023-02-08 17:00:37 -05:00
dependabot[bot] c3406357f1
no log: Bump vite-plugin-checker from 0.5.1 to 0.5.5 in /frontend (#2052)
Bumps [vite-plugin-checker](https://github.com/fi3ework/vite-plugin-checker) from 0.5.1 to 0.5.5.
- [Release notes](https://github.com/fi3ework/vite-plugin-checker/releases)
- [Changelog](https://github.com/fi3ework/vite-plugin-checker/blob/main/CHANGELOG.md)
- [Commits](https://github.com/fi3ework/vite-plugin-checker/compare/vite-plugin-checker@0.5.1...vite-plugin-checker@0.5.5)

---
updated-dependencies:
- dependency-name: vite-plugin-checker
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-08 10:33:36 +08:00
LASER-Yi c7b4292100 Try to fix the unresponsive issue when notifications are showed 2023-02-08 10:25:57 +08:00
Vitiko 47aff78ab0 Subf2m Provider: add optional config for SSL verification
Temporary
2023-01-31 16:39:38 -04:00
Marian Moravcik 9f2ba673de Fix display for notification task in progress 2023-01-29 10:53:36 +01:00
Cory Metcalfe f5d7b4d321
Added configurable request timeout to Sonarr and Radarr 2023-01-25 15:26:22 -05:00
Marian Moravcik cdd9075670 no log: Don't close updatable notification at timeout 2023-01-13 11:48:39 +01:00
Marian Moravcik d2bd0c7c7e Fix task progress notification 2023-01-12 12:18:25 +01:00
morpheus65535 1c8f2bf61d no log: remove regielive broken provider label 2023-01-09 07:50:32 -05:00
morpheus65535 0970f19d96 Fixed mediainfo integration issues. #2007 2022-12-21 19:30:59 -05:00
morpheus65535 c4b8345e65 Added mediainfo as potential embedded subtitles parser. #2007 2022-12-20 23:37:52 -05:00
dependabot[bot] e503afdc2c
no log: Bump husky from 8.0.1 to 8.0.2 in /frontend (#2010)
Bumps [husky](https://github.com/typicode/husky) from 8.0.1 to 8.0.2.
- [Release notes](https://github.com/typicode/husky/releases)
- [Commits](https://github.com/typicode/husky/compare/v8.0.1...v8.0.2)

---
updated-dependencies:
- dependency-name: husky
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-12-17 13:43:51 +08:00
LASER-Yi 06f0fe9972 Fix Notification settings not saving after removing Discord #2005 2022-12-13 02:12:26 +08:00
LASER-Yi 1180cb702d no log: Revert "Bump axios from 0.27.2 to 1.2.1 in /frontend (#2004)"
This reverts commit eeb4b32695.
2022-12-13 02:10:55 +08:00
dependabot[bot] eeb4b32695
no log: Bump axios from 0.27.2 to 1.2.1 in /frontend (#2004)
Bumps [axios](https://github.com/axios/axios) from 0.27.2 to 1.2.1.
- [Release notes](https://github.com/axios/axios/releases)
- [Changelog](https://github.com/axios/axios/blob/v1.x/CHANGELOG.md)
- [Commits](https://github.com/axios/axios/compare/v0.27.2...v1.2.1)

---
updated-dependencies:
- dependency-name: axios
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-12-13 01:48:11 +08:00
morpheus65535 920e799468 Fixed decimal value of framerate change tools from being rounded to unit. #1999 2022-12-03 09:21:04 -05:00
LASER-Yi 7a43e284ae no log: Reset values when submitted settings 2022-11-27 22:10:45 +08:00
LASER-Yi 30f04feae6 Refactor settings submit hooks, try to fix issue #1924 2022-11-27 22:08:51 +08:00
LASER-Yi 9165663cba Move pageSize in UI settings to backend 2022-11-21 00:24:09 +08:00
LASER-Yi 3a82ccf276 Fix #1987 2022-11-20 20:11:09 +08:00
morpheus65535 b8b916dc30 Added live(SignalR) feeds status for Sonarr and Radarr. 2022-11-09 09:44:47 -05:00
LASER-Yi 726afcc7f8 Add support of string value for badge in navbar 2022-11-09 22:09:17 +08:00
LASER-Yi 15f0e502a5 no log: Fix node package definitions 2022-10-30 10:11:23 +08:00
LASER-Yi aee1849ce3 Update node packages, fix issues 2022-10-28 21:38:11 +08:00
LASER-Yi f60449aad5 Add submithooks to the providers section of the settings page 2022-10-26 20:52:21 +08:00
LASER-Yi 1766ceeabc Add new hook useSubmitHookWith to dynamically inject the submit hooks #1924 2022-10-25 23:39:57 +08:00