Commit Graph

69 Commits

Author SHA1 Message Date
Lawrence A 3922d52d5c
Fixed improper API call on removal of all blacklist items 2024-01-24 16:50:05 -05:00
morpheus65535 0e648b5588
Improved subtitles synchronisation settings and added a manual sync modal 2024-01-10 23:07:42 -05:00
morpheus65535 ad6557357d Modified "no subtitles found" notification to be a message instead of an error. 2023-11-13 13:27:47 -05:00
morpheus65535 cb3a274894 Fixed languages profile creation issue. 2023-11-10 13:57:56 -05: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 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 2972c3881c Fixed history logging of downloaded and uploaded subtitles. #2261 2023-10-08 09:20:46 -04:00
morpheus65535 1f187d89ca Fixed history logging issue for episodes and movies subtitles. 2023-10-01 14:13:38 -04:00
morpheus65535 fbe6b765ae Added more feedback to UI on automatic and interactive search issues. 2023-09-06 23:12:58 -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
Samuel Bartík 42ae3af4a2
Fixed issue while saving notifications settings 2023-08-15 11:10:26 -04:00
morpheus65535 fa42346968 Fixed translation issue for episodes subtitles. #2214 2023-08-04 09:45:56 -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 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
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 e4bf041ecb Fixed subtitles file naming when using hearing-impaired removal mods. 2023-03-01 16:04:27 -05:00
morpheus65535 019613958e Fixed some issues after subtitles upgrade refactor. 2023-02-24 22:19:43 -05:00
morpheus65535 5b283098f9
Refactored subtitles upgrade 2023-02-23 11:18:57 -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 5c01c3c2e2 Fixed upgradable icon in history now show properly 2023-02-17 17:18:29 +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
Marian Moravcik 11fff727b2 Fix for get movies/series response serializer 2023-01-31 21:33:55 +01:00
Marian Moravcik 738e10e075 Fix for #2051 2023-01-30 21:06:56 +01: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
morpheus65535 cf4571ba86 Fixed improper profile ID value preventing listing of series and movies. #2043 2023-01-24 22:35:24 -05:00
morpheus65535 2622a0896e Fixed Plex webhook trying to search for subtitles for pre-roll video. #2013 2022-12-14 12:56:33 -05:00
morpheus65535 551f57bc0e Fixed bad subtitles extension exception when uploading subtitles with uppercase extension. #1988 2022-11-20 11:21:47 -05:00
morpheus65535 eb770c9faa no log: send events to update wanted and badges in ui when something's changed while saving languages profiles. 2022-11-15 15:01:10 -05:00
morpheus65535 b8b916dc30 Added live(SignalR) feeds status for Sonarr and Radarr. 2022-11-09 09:44:47 -05:00
morpheus65535 49fc597efb Fixed blacklist item removal issue. 2022-10-23 10:56:26 -04:00
morpheus65535 d7c8188f94 Fixed history statistic view not taking timezone into account. 2022-10-18 22:22:06 -04:00
morpheus65535 af70cf1fc9 Added support for series monitored status. #1964 2022-10-05 22:51:54 -04:00
morpheus65535 bc32ddbc57 no log: fixed unused import 2022-09-23 14:31:34 -04:00
morpheus65535 daa7ef3fd0 no log: fixed logout API endpoint 2022-09-23 14:06:32 -04:00
morpheus65535 131b4e5cde
Added Swagger documentation for Bazarr API 2022-09-21 23:51:34 -04:00
morpheus65535 c2c0cbda0b Improved API to return better message/code on errors 2022-08-23 21:13:06 -04:00
morpheus65535 4640badd4b no log: deal with potential exception with missing time zone info. 2022-06-14 09:01:19 -04:00
morpheus65535 f2eb8f1342 Fixed uptime in System-->Status and added time zone info. 2022-06-13 23:24:32 -04:00
morpheus65535 3c53db7353 Added translation to history. #1827 2022-06-11 07:44:38 -04:00
morpheus65535 2f01ab8523
Reworked Bazarr file structure to improve support and optimization 2022-05-01 08:00:20 -04:00
morpheus65535 4358790fa7
Fixed history stats time frame not working properly 2022-04-29 22:23:50 -04:00
morpheus65535 8e07585084 Fixed Plex webhook for series by having a more robust imdb parsing nd some logging in case of exception. #1780 2022-03-28 12:25:09 -04:00
morpheus65535 012dc1cee9 Added defer searching missing subtitles on live synchro with Sonarr and Radarr. #1765 2022-03-21 22:14:44 -04:00
morpheus65535 f81972b291 Fixed upgrade subtitles function that was trying to upgrade deleted episode/movie subtitles. #1759 2022-03-15 16:14:38 -04:00