1
0
Fork 0
mirror of https://github.com/morpheus65535/bazarr synced 2025-02-20 13:07:03 +00:00
Commit graph

402 commits

Author SHA1 Message Date
Louis Vézina
d9a9c26d7e Merge branch 'development' into subsync
# Conflicts:
#	bazarr/get_subtitle.py
2020-06-14 09:33:20 -04:00
josdion
303182471c return to encoding auto detection in case the provider has set invalid encoding 2020-06-14 08:35:58 +03:00
morpheus65535
270e223107
Merge pull request #1014 from GermanG/betaseriesfix
Betaseriesfix
2020-06-12 22:03:36 -04:00
Louis Vézina
a459b2d32e Added fallback to chardet if cchardet is not available. 2020-06-12 21:57:52 -04:00
Louis Vézina
9c9cbe8f19 Added on demand subtitles synchronization. 2020-06-12 15:08:44 -04:00
Louis Vézina
c6548c06b7 Subsync first implementation (only after download/upload). 2020-06-10 12:04:54 -04:00
josdion
d06cace2d6 Fix #886
Use the whole subtitle file to detect encoding. Seems like if trying to detect encoding only by a part of the file, is not always working. This modification will lead to worse performance, but should be more reliable.
2020-06-09 22:20:43 +03:00
josdion
ca0123c036 don't check for language code if the subtitle file name is the same as the video name
if the subtitle file name is the same as the video name, it is pointless to check the language code
2020-06-09 20:11:48 +03:00
josdion
ecff2dcbc6 titulky fix encoding
Remove setting of the encoding, so now it will be auto detected.
2020-06-07 20:33:50 +03:00
josdion
84ad5aaeaa fix for #914
Replace latin_1 with cp1252, as latin_1 is already in the list with its alias iso-8859-1. Don't know why cp1252 hasn't been included so far.
2020-06-04 20:24:55 +03:00
josdion
8acb488fba delete unsupported subtitle archive files from cache 2020-05-31 19:01:53 +03:00
josdion
197b84c36e subssabbz, subsunacs - reduce score of subtitles for multi-disc movie releases 2020-05-31 18:07:59 +03:00
josdion
c89d542479 fix encoding problems in subtitle class
- don't use directly self._guessed_encoding, but instead call the function guessed_encoding() as the variable can be None.
- use self.guessed_encoding() only if self.encoding is not set.
2020-05-31 13:46:16 +03:00
josdion
9be6191478 set yifysubtitles video_types to movie only 2020-05-31 11:43:41 +03:00
josdion
e7ccafe958 YIFY Subtitles Provider added 2020-05-30 17:26:26 +03:00
josdion
a8258006b5 subsunacs - download subtitles in 7zip format 2020-05-26 20:31:32 +03:00
josdion
8a981553bf add py7zr library version 0.7.0 2020-05-26 19:52:22 +03:00
Louis Vézina
99a98a564a Merge remote-tracking branch 'origin/development' into development 2020-05-25 09:22:38 -04:00
Louis Vézina
2efa3c9f86 Fix for #729 2020-05-25 09:22:13 -04:00
Louis Vézina
7c987ac8f7 Removed unused modules. 2020-05-25 09:21:32 -04:00
josdion
91cc6b35c9 fix a compatibility issue with guessit 3, added cache support
- remove allowed_countries parameter when call guessit as it's not necessary now and in the way which it's used, it throw an exception in guessit 3
- add downloaded subtitle files to the cache
- check subtitle notes for additional inforamtion about the release
2020-05-24 13:02:34 +03:00
Mr-Quin
08aa8cae0a change isascii to isalnum 2020-05-23 13:32:47 -07:00
Louis Vézina
97b826af0d Fix for #996 2020-05-23 09:09:21 -04:00
Louis Vézina
376e13d7f1 Upgraded GuessIt to 3.0.1 2020-05-20 11:29:39 -04:00
Louis Vézina
442f5d2a5e Merge branch 'development' into hermes 2020-05-19 09:27:28 -04:00
morpheus65535
56f3eb386b
Merge pull request #988 from ngosang/feature/tvsubtitles
tvsubtitles provider: hide error message when not found
2020-05-16 09:48:26 -04:00
ngosang
55bb3791da tvsubtitles provider: hide error message when not found
Test: The Boys
2020-05-16 15:44:43 +02:00
ngosang
499ec5ac12 argenteam provider: fix null exception and improve scoring (part 2) 2020-05-16 15:43:05 +02:00
ngosang
f3c3655dae argenteam provider: fix null exception and improve scoring 2020-05-16 15:27:49 +02:00
Bazarr
82b41f8115 search for season packs and stop unnecessary exceptions 2020-05-14 00:19:39 +01:00
Bazarr
392855b4eb refactor matches 2020-05-12 01:26:39 +01:00
Louis Vézina
ec3fa42444 Merge branch 'development' into hermes 2020-05-10 10:42:17 -04:00
Bazarr
21f80d2f76 fixed download limit exceeded exception 2020-05-09 23:36:12 +01:00
Bazarr
989e725dd5 just added Legendasdivx to log msgs 2020-05-09 23:10:42 +01:00
Bazarr
35830abd9b don't raise an exception if compressed format is not supported 2020-05-09 23:03:34 +01:00
Louis Vézina
3394363edc Merge branch 'development' into hermes
# Conflicts:
#	bazarr/get_providers.py
#	bazarr/main.py
#	views/providers.tpl
2020-05-09 14:48:57 -04:00
Bazarr
81642e3fe2 added skip_wrong_fps match and login again if redirect due to expired session cookies 2020-05-09 18:38:27 +01:00
Bazarr
f470448bf9 Improved Exceptions and code more Python3 complying 2020-05-08 15:15:52 +01:00
German Gutierrez
fda6b5ef01 betaseries: removing print line used for debug 2020-05-08 14:08:17 +02:00
German Gutierrez
dae68d7e8b betaseries: logging 404 errors instead of raising 2020-05-08 13:57:42 +02:00
Bazarr
41a66abe68 Throttle connections to Addic7ed provider throwing IPAddressBlocked excpetion 2020-05-08 12:28:06 +01:00
Bazarr
d9982b36d9 added new IPAddressBlocked exception and cache Legendasdivx login cookies to not throttle site 2020-05-08 10:32:12 +01:00
Bazarr
075f053f17 treat exceptions when HTTPError is returned 2020-05-07 13:47:00 +01:00
Bazarr
83d81a6946 no need to import HTTPerror exception. Not treated 2020-05-07 13:09:50 +01:00
Bazarr
1cdf07884f simplified raise exceptions (raise_for_status() already raises exceptions 2020-05-07 13:07:34 +01:00
Bazarr
8da77a72eb simplig 2020-05-07 12:53:26 +01:00
Bazarr
abcf03e389 fixed retries to get download link to avoid throttling 2020-05-07 12:16:25 +01:00
Louis Vézina
6fd6ee234c Merge branch 'development' into hermes
# Conflicts:
#	.gitignore
#	bazarr/main.py
2020-05-06 08:12:24 -04:00
Bazarr
8b04941a3f replaced uploader from <n/a> to anonymous when not found 2020-05-06 11:04:52 +01:00
Bazarr
2dcfc433c3 fixed Parsed Exceptios, refactored code and implemented pagination search 2020-05-05 23:39:38 +01:00