Commit Graph

49 Commits

Author SHA1 Message Date
morpheus65535 ce1345a870 Fixed knowit provider specification. 2022-03-03 15:31:08 -05:00
morpheus65535 026eba9b13 no log: improved usage of some database queries to prevent exceptions. 2022-02-11 10:59:09 -05:00
morpheus65535 722014d822
Improved readability and maintenance by splitting get_subtitle.py into multiple files 2022-01-02 22:59:30 -05:00
morpheus65535 a2816f3761 Fixed an issue with ffprobe caching. Could be fixing a small part of the issue in #1502. 2021-08-17 13:10:27 -04:00
morpheus65535 a3d0e1d192 Fixed scan disk function to not use cached ffprobe result and force a refresh of the cache. #1434 2021-06-11 17:32:12 -04:00
Vitiko 4ebcd49546
Added custom language class to make it easier to implement non-standard/regional languages 2021-06-06 09:57:29 -04:00
morpheus65535 2b9d892ca9
Implemented Peewee ORM in replacement of raw SQL queries. 2021-05-26 16:47:14 -04:00
Vitiko d6da0eec95
Ignore embedded commentary subtitles 2021-05-15 08:14:46 -04:00
morpheus65535 33e1555311 Improved the ffprobe call caching mechanism by storing result to DB and using it for indexing and subtitles search. 2021-05-05 23:07:23 -04:00
morpheus65535 54586fa30f Add dogpile.cache for ffprobe results to prevent repetitive disk IO. 2021-05-02 17:30:35 -04:00
morpheus65535 81e6716d01 Revert "Cache ffprobe results"
This reverts commit dcbd7f00
2021-05-02 17:06:50 -04:00
Abdulmohsen dcbd7f004c
Cache ffprobe results 2021-04-30 17:52:56 -04:00
morpheus65535 241049495c Revert "Added caching of video files analyzing to prevent useless disk IO"
This reverts commit 8e5dbcd8
2021-04-29 21:57:51 -04:00
Abdulmohsen 8e5dbcd8f9
Added caching of video files analyzing to prevent useless disk IO 2021-04-28 19:37:46 -04:00
Michiel van Baak f6a9cee3c0
Fixed embedded subtitles detection for Brazilian that are sometimes marked with the word "brazil" instead of "brasil" 2021-02-26 09:07:18 -05:00
cetiberiojr 7432e07089
Fix uppercase typo on brazilian_portuguese
We are comparing the lowercase of the vector, so all the parameters should be lowecase.
2021-02-19 16:35:52 -03:00
cetiberiojr 7d836749e1
Add Brazilian Portuguese name check
When getting information from subtitles, normally, Portuguese and Brazilian Portuguese are often considered as the same language (por, in this case), the only difference we have is when the name of them has some additional information.
For Brazilian Portuguese, this additional information is most of the time (Brazilian or Brasil).
So add the check when the language is por and try to differ Brazilian Portuguese from Portuguese.
2021-02-19 14:22:31 -03:00
Xavier Xiong 1548263a6c
Adding simplified and traditional Chinese subtitles support (#1236) 2021-02-12 14:15:19 -05:00
morpheus65535 22cd45bc41
Languages profiles (#1232)
Implementing the languages profiles functionality.
2021-01-18 23:49:51 -05:00
Louis Vézina 3726433fe4 Fix for ffmpeg skipped. 2020-09-23 09:59:03 -04:00
morpheus65535 5658a7a359
Hearing impaired (#1102) 2020-09-10 14:26:37 -04:00
Louis Vézina 3b96b6b6ea Added subtitles blacklisting. 2020-07-19 16:02:38 -04:00
Louis Vézina c6548c06b7 Subsync first implementation (only after download/upload). 2020-06-10 12:04:54 -04:00
Louis Vézina d9453121a6 Merge branch 'development' into hermes
# Conflicts:
#	bazarr/main.py
#	views/episodes.tpl
#	views/movie.tpl
#	views/providers.tpl
2020-03-29 10:02:10 -04:00
Louis Vézina c982e37024 Fix to embedded subs indexer. 2020-03-22 09:23:06 -04:00
Louis Vézina aa1b9dfcf4 Merge branch 'development' into hermes
# Conflicts:
#	bazarr/embedded_subs_reader.py
#	bazarr/list_subtitles.py
#	bazarr/logger.py
#	bazarr/main.py
#	views/providers.tpl
2020-03-18 22:52:49 -04:00
Louis Vézina 0f85f683c2 Possible fix for #860 2020-03-18 15:33:54 -04:00
Louis Vézina bfa438df7c WIP 2020-02-12 23:16:22 -05:00
Louis Vézina d31299870d Merge branch 'development' into python3
# Conflicts:
#	bazarr/list_subtitles.py
#	bazarr/main.py
2019-11-06 16:45:51 -05:00
Louis Vézina 6614b136ab Fix for Enzyme mkv object used before assignment. 2019-11-04 06:34:33 -05:00
Louis Vézina fe6758858a Merge branch 'development' into python3
# Conflicts:
#	bazarr/database.py
#	bazarr/get_episodes.py
#	bazarr/get_movies.py
#	bazarr/get_series.py
#	bazarr/get_subtitle.py
#	bazarr/list_subtitles.py
#	bazarr/main.py
#	views/movie.tpl
2019-10-28 20:27:11 -04:00
Louis Vézina 2ddcbf6d7a Fix for #624. 2019-10-20 08:03:55 -04:00
Louis Vézina 08139b43ed Merge branch 'development' into python3
# Conflicts:
#	bazarr/main.py
2019-10-07 17:00:52 -04:00
Louis Vézina 59f36bbe27 Fix for enzyme language detection broken. 2019-10-07 15:34:55 -04:00
Louis Vézina a4ed73b6fc Fix for invalid language in filename. 2019-10-07 15:28:26 -04:00
Louis Vézina 43d33dc247 Merge branch 'development' into python3
# Conflicts:
#	bazarr/analytics.py
#	bazarr/get_series.py
2019-09-16 22:07:01 -04:00
Pika 1005584f4f Actually skip PGS subtitles (#543)
* Update embedded_subs_reader.py

* Update list_subtitles.py
2019-09-14 18:15:59 -04:00
Louis Vézina 645952c61a WIP 2019-09-13 15:12:26 -04:00
Louis Vézina e4f4f9e357 Use pyprobe instead of calling ffprobe executable directly. 2019-08-25 22:11:30 -04:00
Louis Vézina 85cad57b48 Continuing development. 2019-05-21 23:33:59 -04:00
Louis Vézina 324ef72922 Merge branch 'development' into morpheus
# Conflicts:
#	bazarr/embedded_subs_reader.py
#	views/movies.tpl
2019-05-10 09:42:12 -04:00
sekkr1 9327126d73 handle empty output as split returns [''] on those 2019-05-06 09:04:00 +03:00
sekkr1 91e729ac06 added ignore pgs settings to embedded scan 2019-05-06 08:14:07 +03:00
Louis Vézina 9064583853 Fix for non UTF8 file system encoding. 2019-05-03 09:34:08 -04:00
Louis Vézina 0d384be7e3 Continuing development. 2019-05-01 20:26:48 -04:00
Louis Vézina 93e061462a Continuing development. 2019-04-27 08:13:47 -04:00
sekkr1 a38b210963 Typo 2019-04-23 23:28:35 +03:00
sekkr1 a5599d553e added mkv extension check before enzyme+exceptions 2019-04-23 23:19:25 +03:00
sekkr1 730f0e1c10 Embedded subs detector now uses ffprobe 2019-04-23 15:35:50 +03:00