Commit Graph

167 Commits

Author SHA1 Message Date
Max R 549bebcc43
Updated logging to use ISO 8601 date format 2024-01-02 23:04:14 -05:00
Vitiko c4f103e39b
Added settings to exclude subtitles from specific provider to be synced 2023-12-29 19:33:36 -05:00
JayZed fe52153c71
Added "Manually" option for remaining tasks in Scheduler settings page 2023-12-28 13:25:15 -05:00
morpheus65535 163a7834d2 Merge remote-tracking branch 'origin/development' into development 2023-12-26 23:54:35 -05:00
morpheus65535 5739b9ad08 Added opensubtitlescom settings to include AI translated subtitles in search results. 2023-12-26 23:54:29 -05:00
JayZed 9e75acd549
Added filter to prevent useless Session is disconnected warning in logs 2023-12-26 22:48:02 -05:00
morpheus65535 f2cd79ec20
Fixed numeric password issue for authentication. #2326 2023-12-14 11:27:13 -05:00
S Dellysse 256ceeb598
Fixed exception being raised when setting all numeric password to access the web UI 2023-12-08 14:20:00 -05:00
morpheus65535 a3b32c3ebf
Silented engine.io exception when client session as expired on server side 2023-12-05 21:50:41 -05:00
morpheus65535 c97a98d4f2 Fixed usage of number only username or password for providers, proxy or postgres. #2309 2023-12-02 10:29:36 -05:00
morpheus65535 17312af481 no log: added try/catch 2023-11-28 20:11:01 -05:00
morpheus65535 fd5b087f92 Fixed upgrade subtitles tas not removed from scheduler when disabled in settings. #2308 2023-11-28 20:05:46 -05:00
morpheus65535 addae11b61 no log: replace config.ini.old if it exists instead of failing. 2023-11-19 10:14:44 -05:00
morpheus65535 bc0b101fd7 Improved providers exceptions throttling to reduce useless calls to providers. 2023-11-18 21:25:57 -05:00
morpheus65535 b25d4164c2 Fixed infinite download retry loop in whisperai provider 2023-11-18 21:01:09 -05:00
morpheus65535 b3b4fef8c7 Implemented PaymentRequired exception on opensubtitles.org that now requires VIP subscription. 2023-11-18 10:30:37 -05:00
morpheus65535 7e650c2bab Fixed blacklisting of embedded subtitles on failed extraction. 2023-11-18 10:16:45 -05:00
morpheus65535 0d882b3d6e no log: centralized Sonarr/Radarr API url definition and improved usage 2023-10-25 23:04:03 -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 85c65ecb5a Fixed config.ini conversion by disabling interpolation with ConfigParser that failed with addic7ed cookie. 2023-10-16 06:32:56 -04:00
morpheus65535 c89da3e619
Changing from config.ini to config.yaml 2023-10-14 09:56:21 -04:00
morpheus65535 09295dcd10 Improved throttling duration for some common configuration or connection issues. 2023-10-09 08:33:57 -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 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
DavidFair 296d497673
Modified default value for adaptive searching (now enabled) and improved description in settings 2023-09-05 20:14:36 -04:00
morpheus65535 995ae1b5b8 Improved UI feedback on multiple search, download and upload issues. #2235 2023-08-29 17:17:30 -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 073f3a2cfa Fixed Radarr SignalR deleted movie event being dropped for missing metadata in payload. #2219 2023-08-07 08:45:39 -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
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
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
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 faa9566431 Improved subtitles providers settings to reset Authentication or Configuration error throttling while saving. 2023-07-16 23:32:46 -04:00
morpheus65535 fc01267d5b Removed leftover from legendas.tv provider. 2023-06-15 12:46:49 -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
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
morpheus65535 2b5cd2b72e Implemented gzip compression of http requests made to Bazarr 2023-05-09 21:25:54 -04:00
Jens Lee e2ba532cee
Fixed zimuku that now require anti-captcha 2023-04-21 06:25:09 -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 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 abc48b4ed0
Replaced deprecated Google Universal Analytics by GA4 2023-03-17 09:01:15 -04: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 7502c59638 no log: small fix for announcements and enabled providers 2023-02-25 08:43:35 -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
Marian Moravcik 339883cff6 Fixed UI freeze on certain notification events 2023-02-18 21:13:20 +01: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
Vitiko 47aff78ab0 Subf2m Provider: add optional config for SSL verification
Temporary
2023-01-31 16:39:38 -04:00
halali d5911e78b5
Added PostgreSQL as optional database engine
Wiki: https://wiki.bazarr.media/Additional-Configuration/PostgreSQL-Database/
2023-01-29 16:44:56 -05:00
Cory Metcalfe f5d7b4d321
Added configurable request timeout to Sonarr and Radarr 2023-01-25 15:26:22 -05:00
morpheus65535 b0f743767b Fixed unwanted injection of variables on API endpoints. 2023-01-24 20:13:34 -05:00
morpheus65535 5a98dfcf83 no log: pep8 style fix 2023-01-24 06:39:10 -05:00
morpheus65535 b08c8cf1a8 no log: added missing logging 2023-01-16 14:08:34 -05:00
morpheus65535 2babae1937 Fixed high CPU usage when improper timezone defined (will use UTC instead). #1914 2023-01-16 14:05:06 -05:00
morpheus65535 c4b8345e65 Added mediainfo as potential embedded subtitles parser. #2007 2022-12-20 23:37:52 -05:00
morpheus65535 6693b98811 Fixed issues with new database creation since e6d0893812 2022-12-15 11:00:56 -05:00
morpheus65535 e6d0893812 Added routine to remove deprecated providers from enabled providers in config.ini 2022-12-13 21:14:32 -05:00
morpheus65535 6a17a7fecd no log: fixed throttled providers count update of UI 2022-12-10 07:31:47 -05:00
morpheus65535 cc42e7bc5c Fixed improper page_size value that prevent series and movies page from loading. #1995 2022-12-07 06:38:43 -05:00
morpheus65535 4ada83f747 no log: added no-signalr args 2022-11-24 13:53:22 -05:00
morpheus65535 60dfe6bb81 Merge remote-tracking branch 'origin/development' into development 2022-11-21 06:27:26 -05:00
morpheus65535 8c944c4cf2 Fixed log an backup download from UI after flask upgrade. 2022-11-21 06:27:08 -05:00
LASER-Yi 9165663cba Move pageSize in UI settings to backend 2022-11-21 00:24:09 +08:00
morpheus65535 0e8ac06e59 Fixed infinite loop while trying to connect to Sonarr with SignalR permission issue. 2022-11-17 16:52:05 -05:00
morpheus65535 2e4480dd5f no log: small fix 2022-11-10 20:57:40 -05:00
morpheus65535 c563262fa8 Revert "Fixed Sonarr v3 SignalR feed not connecting when mono is used to run Sonarr. #1985"
This reverts commit a26b86cb95.
2022-11-10 20:55:12 -05:00
morpheus65535 a26b86cb95 Fixed Sonarr v3 SignalR feed not connecting when mono is used to run Sonarr. #1985 2022-11-09 12:29:14 -05:00
morpheus65535 b8b916dc30 Added live(SignalR) feeds status for Sonarr and Radarr. 2022-11-09 09:44:47 -05:00
morpheus65535 bbe2483e21 Updated vendored dependencies. 2022-11-07 13:08:27 -05:00
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
morpheus65535 a1594e5a08 Added automatic update of wanted subtitles count on use embedded subtitles settings modification. 2022-10-26 10:42:44 -04:00
morpheus65535 af70cf1fc9 Added support for series monitored status. #1964 2022-10-05 22:51:54 -04:00
morpheus65535 c492de8b67 Fixed episodes subtitles search when notified of import by Sonarr v3 SignalR feed. #1946 2022-09-25 08:38:27 -04:00
morpheus65535 131b4e5cde
Added Swagger documentation for Bazarr API 2022-09-21 23:51:34 -04:00
morpheus65535 7a2d2399fc Fixed incorrect IP or already used TCP port from preventing Bazarr initialization. 2022-09-16 23:57:58 -04:00
Sander van Kasteel 0d39928a7b
Added support for CORS headers 2022-08-22 15:35:35 -04:00
morpheus65535 a36b3ce2ba Added download link for backup archives. 2022-08-21 23:14:06 -04:00
morpheus65535 180a40e027 Improved live synchronization with Sonarr and Radarr trough SignalR feed by implementing dedicated threaded events queues, by preventing execution of duplicate events received, by filtering events to be processed and by logging at debug level events received to improve debugging. 2022-08-21 08:22:56 -04:00
morpheus65535 b0abe81d12 Fixed integer conversion issue. #1918 2022-08-04 21:28:44 -04:00