Commit Graph

83 Commits

Author SHA1 Message Date
morpheus65535 4ca211191d Fixed indentation issue in pool update. #2390 2024-02-11 23:21:31 -05:00
morpheus65535 9f0a8d0a14 no log: added another failsafe for provider pool update 2024-02-10 19:11:11 -05:00
morpheus65535 88c267f848 Fixed provider pool update on automatic search. #2379 2024-02-09 08:17:33 -05:00
morpheus65535 e4ebc64ca9 Fixed issue introduced while merging the new sync feature. #2356 2024-01-12 16:45:37 -05:00
morpheus65535 0e648b5588
Improved subtitles synchronisation settings and added a manual sync modal 2024-01-10 23:07:42 -05:00
JayZed 0ac9ecea6e
Added additional variables for custom post processing 2024-01-05 21:43:37 -05:00
Vitiko c4f103e39b
Added settings to exclude subtitles from specific provider to be synced 2023-12-29 19:33:36 -05:00
morpheus65535 72bd52ce79
Fixed output encoding for subtitles synchronization. #2323 2023-12-15 07:47:19 -05:00
morpheus65535 7e650c2bab Fixed blacklisting of embedded subtitles on failed extraction. 2023-11-18 10:16:45 -05:00
morpheus65535 3da0445dc3 no log: improved notification and logging on invalid subtitles 2023-11-18 09:07:44 -05:00
morpheus65535 0f19d79fa2 Fixed improper subtitles being downloaded when HI is required by languages profile. #2293 2023-11-10 13:59:38 -05:00
morpheus65535 b87aef8763 Prevent overwriting season and episode number guessed from file name with db values unless they haven't been properly guessed. #2284 2023-11-07 06:27:53 -05:00
morpheus65535 5234565f84 Fixed other issues with subzero_mods parsing. #2276 2023-10-25 17:05:01 -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 225d79e569 Fixed issue while parsing enabled mods during subtitles download 2023-10-17 08:36:12 -04:00
morpheus65535 c89da3e619
Changing from config.ini to config.yaml 2023-10-14 09:56:21 -04:00
morpheus65535 2972c3881c Fixed history logging of downloaded and uploaded subtitles. #2261 2023-10-08 09:20:46 -04:00
morpheus65535 2467bc0bc0 no log: fixed stuff to prevent exception 2023-10-01 14:06:16 -04:00
morpheus65535 807621a612 Fixed an additional issue with 85d300f94e. #2243 2023-09-29 13:51:03 -04:00
morpheus65535 bbd549db60 no log: fixed NoneType issue 2023-09-23 21:44:33 -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
morpheus65535 995ae1b5b8 Improved UI feedback on multiple search, download and upload issues. #2235 2023-08-29 17:17:30 -04:00
morpheus65535 344543cc79 no log: fixed missing subtitles size during custom language subtitles indexing 2023-08-07 22:59:04 -04:00
morpheus65535 6000a8889d Fixed history views when upgrade subtitles is disabled. #2210 2023-08-04 10:18:48 -04:00
Vitiko c9ced57191 no log: Remove unused code (custom scores) 2023-07-27 17:08:53 -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 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 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 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 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 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
Mike Dallas 09f0a27833
Fixed SyntaxError under Python 3.7 2023-05-03 08:51:01 -04:00
morpheus65535 ac6dddd607
Fixed upgrade of non-existant subtitles files 2023-04-20 21:30:43 -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 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
morpheus65535 2acf2451b4 Fixed history logging of manually uploaded subtitles. #2072 2023-02-26 07:46: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
Marian Moravcik 6578710c8d Fixed Upgrade previously downloaded subtitles (#2059) 2023-02-17 17:18:54 +01:00
morpheus65535 8ac3b0c9b5 Fixed chmod not working after custom post-processing. 2023-02-14 12:55:37 -05: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 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