Commit Graph

1740 Commits

Author SHA1 Message Date
morpheus65535 54f9570a22 Fixed compression type for backup. #2278 2023-10-25 17:15:40 -04:00
morpheus65535 5234565f84 Fixed other issues with subzero_mods parsing. #2276 2023-10-25 17:05:01 -04:00
morpheus65535 db8e4d43b4 Merge remote-tracking branch 'origin/development' into development 2023-10-24 11:55:26 -04:00
morpheus65535 fe987babc5 Fixed issues with SQlite older than 3.35. 2023-10-24 11:54:59 -04:00
Paul Dee e3cda5c11e
Improved compression ratio of backup. 2023-10-19 17:39:02 -04:00
morpheus65535 2ad7ddf5a6 Improved stability by usinf Python f-string as much as possible to prevent TypeError and improve code readability. 2023-10-17 23:24:26 -04:00
morpheus65535 4521b11061 no log: fixed remaining getboolean() 2023-10-17 14:09:04 -04:00
morpheus65535 225d79e569 Fixed issue while parsing enabled mods during subtitles download 2023-10-17 08:36:12 -04:00
morpheus65535 85c65ecb5a Fixed config.ini conversion by disabling interpolation with ConfigParser that failed with addic7ed cookie. 2023-10-16 06:32:56 -04:00
morpheus65535 2a8a4030b9 Fixed datatype issue when creating a new languages profile with PostgreSQL. 2023-10-15 16:13:27 -04:00
morpheus65535 c89da3e619
Changing from config.ini to config.yaml 2023-10-14 09:56:21 -04:00
Jack 4e7dedc43c
Exposed subtitle file size through API 2023-10-09 22:11:54 -04:00
morpheus65535 09295dcd10 Improved throttling duration for some common configuration or connection issues. 2023-10-09 08:33:57 -04:00
morpheus65535 2972c3881c Fixed history logging of downloaded and uploaded subtitles. #2261 2023-10-08 09:20:46 -04:00
morpheus65535 0f216ab69f Improved synchronization speed for Sonarr and Radarr. #2260 2023-10-08 08:43:05 -04:00
morpheus65535 1f187d89ca Fixed history logging issue for episodes and movies subtitles. 2023-10-01 14:13:38 -04:00
morpheus65535 2467bc0bc0 no log: fixed stuff to prevent exception 2023-10-01 14:06:16 -04:00
morpheus65535 bad77e2ce7 Merge remote-tracking branch 'origin/development' into development 2023-09-29 13:51:21 -04:00
morpheus65535 807621a612 Fixed an additional issue with 85d300f94e. #2243 2023-09-29 13:51:03 -04:00
Vitiko 63335f40fc Add HDBits.org provider 2023-09-26 01:27:24 -04:00
morpheus65535 84e8872652 no log: fix Sonarr/Radarr test button bug introduced in previous commit 2023-09-25 08:31:27 -04:00
morpheus65535 bbd549db60 no log: fixed NoneType issue 2023-09-23 21:44:33 -04:00
morpheus65535 81159a0978 Added error logging when trying to determine malformed audio track languages. #2250 2023-09-21 17:51:28 -04:00
morpheus65535 e2d0647d55 Fixed Postgres issues while creating new database with v1.3.0. #2249 2023-09-20 23:35:44 -04:00
Vitiko e06aad7fc6 Update providers exception regex for Windows 2023-09-18 15:25:02 -04:00
morpheus65535 17add7fbb3 Fixed some code to prevent arbitrary file read and blind SSRF. 2023-09-18 11:59:45 -04:00
Vitiko ceb947dac1 Update providers exception info format 2023-09-14 14:43:49 -04:00
morpheus65535 b736f267b5
Fixed IndexError in provider throttling function 2023-09-14 06:39:45 -04:00
Vitiko 9cf21242ca Add more info to exceptions 2023-09-14 01:52:45 -04:00
morpheus65535 af54c65502 no log: pep8 fix 2023-09-08 17:09:12 -04:00
morpheus65535 3694254c79 Added analytics tracking of throttled providers 2023-09-08 17:08:00 -04:00
morpheus65535 85d300f94e Prevent subtitles not having a proper matches attribute from raising a TypeError exception. #2243 2023-09-08 11:44:23 -04:00
morpheus65535 fbe6b765ae Added more feedback to UI on automatic and interactive search issues. 2023-09-06 23:12:58 -04:00
DavidFair 296d497673
Modified default value for adaptive searching (now enabled) and improved description in settings 2023-09-05 20:14:36 -04:00
morpheus65535 77283e4063 Fixed improper http status code returned that prevented proper cache management on browser side. 2023-09-05 08:29:40 -04:00
morpheus65535 8895dd68a8 Improved responses marshalling to better deal with error messages sent to frontend. 2023-09-04 22:41:39 -04:00
morpheus65535 79f5c7d675 no log: fix typo on last commit 2023-08-29 20:13:38 -04:00
morpheus65535 995ae1b5b8 Improved UI feedback on multiple search, download and upload issues. #2235 2023-08-29 17:17:30 -04:00
Bryan Pinsker 5177d2a73c
no log: removed unused assert 2023-08-20 20:52:49 -04:00
Samuel Bartík 42ae3af4a2
Fixed issue while saving notifications settings 2023-08-15 11:10:26 -04:00
morpheus65535 262d7d2a92 no log: fixed last merged pr 2023-08-15 08:24:03 -04:00
sourseas 6a9f91450c
Added timeout for call to get announcements from Github 2023-08-15 08:20:15 -04:00
morpheus65535 5f509cd0a0 Fixed bug introduced in v1.2.1 with analytics settings not being taken into account. 2023-08-13 21:05:35 -04:00
morpheus65535 344543cc79 no log: fixed missing subtitles size during custom language subtitles indexing 2023-08-07 22:59:04 -04:00
morpheus65535 073f3a2cfa Fixed Radarr SignalR deleted movie event being dropped for missing metadata in payload. #2219 2023-08-07 08:45:39 -04:00
morpheus65535 487e3d55ed no log: fixed logging error 2023-08-07 08:43:57 -04:00
morpheus65535 f58d1a915d Fixed issue with Python deprecation warning. #2218 2023-08-06 16:54:49 -04:00
morpheus65535 d284e629b7 Added upcoming Python 3.7 deprecation announcement. 2023-08-04 14:29:23 -04:00
morpheus65535 6000a8889d Fixed history views when upgrade subtitles is disabled. #2210 2023-08-04 10:18:48 -04:00
morpheus65535 4bb6ec7528 Merge remote-tracking branch 'origin/development' into development 2023-08-04 09:46:08 -04:00
morpheus65535 fa42346968 Fixed translation issue for episodes subtitles. #2214 2023-08-04 09:45:56 -04:00
k29t59dh f723f84467
Updated SignalR code to work with new ORM 2023-08-04 09:10:32 -04:00
morpheus65535 164dc95f23 Fixed download notifications not being sent properly. 2023-07-31 09:54:50 -04:00
William Hughes 18cec2c8e5
no log: Made 'id' description clearer (#2209)
I've been playing with the API for the last few hours and I noticed that this wasn't clear that the ID also needs to be set if it's a movie. At first I gave it a -1 ID because I presumed the ID wasn't needed as it wasn't an episode. 

This small change should help people in the future when utilizing the API.
2023-07-29 08:04:52 -04:00
morpheus65535 6bc46fe4e9 Fixed issue with unused rowid columns and removed custom score profiles tables as they aren't used anymore. 2023-07-27 17:51:03 -04:00
Vitiko c9ced57191 no log: Remove unused code (custom scores) 2023-07-27 17:08:53 -04:00
morpheus65535 6f03758bec Fixed issue with missing migrations directory in release asset. 2023-07-27 10:12:30 -04:00
morpheus65535 bccded275c
Replaced peewee with sqlalchemy as ORM. This is a major change, please report related issues on Discord. 2023-07-26 19:34:49 -04:00
morpheus65535 486d2f9481 Improved logging of failed attempt to authenticate to UI. Successful basic authentication attempt cannot be logged right now. 2023-07-25 16:49:04 -04:00
morpheus65535 a7562e06b5 Improved external subtitles file encoding guessing to ignore those who can't be guessed properly. 2023-07-22 12:24:53 -04:00
morpheus65535 faa9566431 Improved subtitles providers settings to reset Authentication or Configuration error throttling while saving. 2023-07-16 23:32:46 -04:00
morpheus65535 dd9ce4d6ea Moved file encoding to charset-normalizer instead of chardet that is causing too much issues. #2196 2023-07-07 12:28:39 -04:00
morpheus65535 90ac5519c7 no log: pep8 fix 2023-07-05 15:39:55 -04:00
morpheus65535 cfc8a91488 Fixed exception raised when get_episodesFiles_from_sonarr_api() doesn't return proper content. #2188 2023-07-04 12:07:11 -04:00
morpheus65535 dfd8bedd6a Fixed upgradable subtitles logic being called even if user do not want to upgrade existing subtitles. 2023-07-03 18:28:29 -04:00
morpheus65535 f371d0585b no log: added failsafe to encoding detection 2023-06-23 10:06:46 -04:00
morpheus65535 c92d574bf2 Added experimental Python 3.11 support 2023-06-23 00:03:23 -04:00
morpheus65535 fc01267d5b Removed leftover from legendas.tv provider. 2023-06-15 12:46:49 -04:00
morpheus65535 d4262e530a Fixed issue where subtitles would get upgraded even if not required anymore by shows languages profile. #2174 2023-06-15 12:06:18 -04:00
morpheus65535 2511c310f1 Added settings to choose desired UI theme. 2023-06-15 06:32:36 -04:00
Vitiko e3c4def89a Subf2m Provider: add user-agent header configuration
This change fixes empty queries.
2023-06-12 19:36:11 -04:00
morpheus65535 b9b97e980e Fixed Chinese translation issue (zh and zt inverted). #2166 2023-06-07 21:04:58 -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
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
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 2b5cd2b72e Implemented gzip compression of http requests made to Bazarr 2023-05-09 21:25:54 -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
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
Devin Buhl 695734abe6
Allow defining postgres connection settings via env vars 2023-04-14 09:58:02 -04:00
Alex Yancey 8b1db07e9f
Added OpenAI Whisper Provider 2023-04-05 14:43:24 -04:00
morpheus65535 17e62f2d29 Added announcements for deprecated Sonarr and Radarr versions end of support. 2023-03-23 17:31:02 -04:00
morpheus65535 3a10df7724 Disabling mediainfo path temporarily until issue with knowit is fixed. #2098 2023-03-22 17:12:34 -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 9fb793a488 Fixed error when manual search return an invalid subtitles. #2102 2023-03-20 06:16:37 -04:00
morpheus65535 f276b70f5e no log: fixed analytics logging 2023-03-17 09:58:56 -04:00
morpheus65535 34b905efec no log: trying to fix pipeline issue 2023-03-17 09:14:48 -04:00
morpheus65535 abc48b4ed0
Replaced deprecated Google Universal Analytics by GA4 2023-03-17 09:01:15 -04:00
morpheus65535 e4bf041ecb Fixed subtitles file naming when using hearing-impaired removal mods. 2023-03-01 16:04:27 -05:00
Marian Moravcik fefec202d1 no log: added autorollback to postgresql 2023-02-28 19:53:16 +01:00
Marian Moravcik 2e8203f0d4 Fix postgresql reconnection #2071 2023-02-27 13:31:38 +01:00
morpheus65535 2acf2451b4 Fixed history logging of manually uploaded subtitles. #2072 2023-02-26 07:46:27 -05:00
morpheus65535 7502c59638 no log: small fix for announcements and enabled providers 2023-02-25 08:43:35 -05:00
morpheus65535 019613958e Fixed some issues after subtitles upgrade refactor. 2023-02-24 22:19:43 -05:00