bazarr/bazarr
josdion 4056796eb1 Convert subtitle text to unicode before sending to guess_language
- Remove is_binary as it test only the first 1024 bytes and the encoding of teh detected file must be above 0.9 to recognize the file as a text. The new implementation assumes that if the file is binary, then detection of character encoding will be with confidence lower than 80% or text.decode() will raise an exception.

- skip detection of subtitle files larger than 5M
2020-03-18 13:31:34 +02:00
..
__init__.py make bazarr a module; use centralized getopt in daemon; add --debug option for console handler; add logging dependencies 2018-10-31 18:09:46 +01:00
analytics.py Fix for analytics under Python 3.x. 2019-12-02 23:54:31 -05:00
check_update.py Merge branch 'development' into python3 2019-11-22 06:29:43 -05:00
config.py Provider LegendasDivx v1 2020-01-16 21:38:41 +01:00
create_db.sql WIP 2019-10-28 00:05:28 -04:00
database.py WIP 2019-10-28 06:45:42 -04:00
embedded_subs_reader.py Merge branch 'development' into python3 2019-11-06 16:45:51 -05:00
get_args.py WIP 2019-09-13 15:12:26 -04:00
get_episodes.py Merge branch 'development' into python3 2019-11-06 16:45:51 -05:00
get_languages.py Fix for #841 2020-03-15 09:05:51 -04:00
get_movies.py Fix for #851 2020-03-08 18:07:10 -04:00
get_providers.py Merge branch 'development' 2020-01-31 20:30:39 -05:00
get_series.py Fix for #796 2020-02-04 06:53:20 -05:00
get_subtitle.py Merge pull request #833 from JpF4E/master 2020-02-25 06:40:58 -05:00
helper.py Added audio language variables to post processing command. Required to use with subsync. 2020-02-22 19:29:04 +00:00
init.py Created path mapping dictionaries for faster conversion than reading config.ini every time. 2019-12-13 07:00:38 -05:00
libs.py Removed the isdir validation and une rmtree ignore_errors instead. 2019-10-07 21:39:20 -04:00
list_subtitles.py Convert subtitle text to unicode before sending to guess_language 2020-03-18 13:31:34 +02:00
logger.py add UTF-8 encoding for log file 2019-11-27 22:05:09 +01:00
main.py Fix for #841 2020-03-15 09:05:51 -04:00
notifier.py code cleanup: notifier, utils 2020-01-31 00:03:35 +01:00
queueconfig.py WIP 2019-09-28 00:22:17 -04:00
scheduler.py Blocking Bazarr update for users that don't use Python 3.x yet. 2020-02-16 10:39:02 -05:00
utils.py code cleanup: notifier, utils 2020-01-31 00:03:35 +01:00