Commit Graph

221 Commits

Author SHA1 Message Date
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
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
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
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
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
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
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
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
Bazarr 21bd7bc792 added uploader to legendasdivx subtitles 2020-05-03 16:27:03 +01:00
josdion 51bf6964bf subssabbz, yavkanet - prevent country detection with guessit #958 2020-05-01 19:18:16 +03:00
josdion 466aebd8c7 Fix #958 2020-05-01 18:20:04 +03:00
josdion 32bd30e3e7 reduce XMLRPC requests to opensubtitles server
- use cached token instead of logging in every time when search for subtitles
- delete authentication token in case of account modification
2020-05-01 11:23:54 +03:00
Panagiotis Koutsias 39068532bc Fixes name matching for xsubs
Fixes #947
2020-04-28 10:43:14 +03:00
josdion a37ef4a418 opensubtitles - add get_fps function
- added get_fps() function
- getting of the authentication token from the cache is fixed
2020-04-26 11:06:00 +03:00
josdion 76ec6109df subsunacs - improve provider 2020-04-26 05:08:09 +03:00
josdion 8b06629906 subssabbz - improve provider 2020-04-25 20:24:58 +03:00
josdion 7670b7eae6 yavkanet - improve provider 2020-04-25 20:04:43 +03:00
josdion 267933f106 adding capability for subtitle provider to set frame rate when loading microdvd file 2020-04-25 16:21:36 +03:00
josdion 3b20310d86 fix inconsistent tv show naming 2020-04-21 23:16:15 +03:00
josdion cd6c527d89 FIx #928 - don't raise an exception in case of unsupported archive 2020-04-14 09:40:37 +03:00