Commit Graph

664 Commits

Author SHA1 Message Date
Vitiko a88f0a7f19 Fix Addic7ed provider TypeError 2021-12-23 21:10:35 -04:00
Vitiko 048307e429 Update embeddedsubtitles provider: use original_path instead of name 2021-12-23 19:45:26 -04:00
morpheus65535 2faed982d9 Fixed issues with release_info for some providers. #1644 2021-12-19 09:56:13 -05:00
morpheus65535 5d1dccde99 Added vip and daily download limit to addic7ed and try to slow down a little to prevent being ip blocked by the provider. 2021-12-18 09:41:48 -05:00
Vitiko b5c66e1470 Embedded Subtitles Provider: rebuild language if forced 2021-12-14 15:58:50 -04:00
Vitiko 9b74ad8610 Update Embedded Subtitles provider: add forced and ass-only support 2021-12-14 15:50:45 -04:00
Vitiko ffca84a1b4 Add Embedded Subtitles provider 2021-12-13 17:13:40 -04:00
Vitiko 718bd2f8b9 Add default attribute to Subtitle 2021-12-13 15:41:46 -04:00
morpheus65535 63b326aa2f
Implemented words/regex ban list for subtitles 2021-12-11 07:44:53 -05:00
Vitiko 247f69c210 Fix Hosszupuska provider not returning results 2021-11-30 19:28:25 -04:00
Vitiko 92a60ef7bb Update bad import (dev environment issue) 2021-11-30 18:01:29 -04:00
Vitiko d2bbc479bc Argenteam provider: fix decoding error 2021-11-30 17:40:51 -04:00
Vitiko e1386aedc0 Avoid breaking function with optional keyword parameter 2021-11-30 15:00:03 -04:00
morpheus65535 4b8f0dbe81 Fixed addic7ed provider that wasn't able to find all shows. #1619 2021-11-30 12:02:19 -05:00
Bruno Maia 592dc799e9
Improved sanitize function to replace apostrophe and backticks 2021-11-29 20:15:14 -05:00
Samuel Bartík d8fffe8e52
Improved Titulky provider 2021-11-14 15:30:54 -05:00
morpheus65535 b53f8ad80a Implemented some utility functions to subliminal_patch providers to list supported languages and video types. 2021-11-09 22:55:47 -05:00
morpheus65535 faa368b662 Fixed some issues in opensubtitles.com provider. #1602 2021-11-03 21:46:26 -04:00
redglory 0f31c9858b
no log: other improvement to LegendasDivx 2021-11-01 08:22:15 -04:00
redglory f53ef40d57
Improved LegendasDivx provider to get more accurate results and prevent unnecessary throttling 2021-11-01 07:11:05 -04:00
Samuel Bartík 618bddebf9
added more improvement to Titulki provider 2021-10-31 23:35:29 -04:00
Samuel Bartík 006e17bdc2
Fixed some issues with Titulki provider 2021-10-31 10:18:21 -04:00
Samuel Bartík 0e50335e2d
Improved results with Titulki provider 2021-10-29 15:24:10 -04:00
Samuel Bartík 801ff0d478
Refactored the Titulki provider 2021-10-27 14:23:58 -04:00
morpheus65535 3d936ffccf Removing TuSubtitulo per provider request. #1591 2021-10-26 06:47:59 -04:00
Diego Heras 08c797c484
Fixed TuSubtitulo provider 2021-10-16 09:19:25 -04:00
morpheus65535 ebcc80e221 no log: small fix to get better results in manual search 2021-10-12 18:51:53 -04:00
Bogdan Ilisei 788b4b33f0
Added subtitrari-noi.ro and improved titrari.ro 2021-10-12 15:57:33 -04:00
morpheus65535 0bc2605439 Improved language selection for Titrari.ro provider. 2021-10-12 12:09:22 -04:00
Guy Khmelnitsky a819fc34b3
Fixed Ktuvit problem with default empty return values 2021-10-12 06:29:43 -04:00
morpheus65535 aec3aceda3 no log: more improvements 2021-10-12 00:08:11 -04:00
morpheus65535 3f7abc9ddc no log: pep improvement 2021-10-11 23:45:22 -04:00
morpheus65535 b1af4caeeb Improved support for series for Titrari.ro provider 2021-10-11 23:44:06 -04:00
morpheus65535 294d3eb0ee Added support for series to provider Titrari.ro 2021-10-11 14:33:10 -04:00
morpheus65535 d851c16da7 Added a settings to disable SSL certificate validation for Podnapisi. Be careful as it's causing a security risk for a man in the middle (MitM) attack. #1565 2021-10-10 23:31:38 -04:00
Bogdan Ilisei 17dd5ddde5
Fixed titrari.ro provider 2021-10-10 20:50:46 -04:00
morpheus65535 779cac1448 no log: another fix for os.com 2021-10-10 20:49:20 -04:00
morpheus65535 95a509cf23 Fixed opensubtitles.com exception when invalid JSON is returned from provider. #1572 2021-10-10 08:20:54 -04:00
morpheus65535 036600f150 Fixed titrari search endpoint again. #1564 2021-09-30 21:54:03 -04:00
morpheus65535 679f1e803c Improved opensubtitles.com providers. 2021-09-28 17:36:47 -04:00
Guy Khmelnitsky 66585ec765
Fix Missing subtitles issue with Ktuvit provider 2021-09-22 12:22:56 -04:00
morpheus65535 c1421f1cce Improved queries to opensubtitles.com to reduce footprint on their side. 2021-09-21 21:39:20 -04:00
morpheus65535 6d082f8b38 Fixed issue with movies on Addic7ed. #1550 2021-09-21 13:50:49 -04:00
morpheus65535 cde624696d Fixed opensubtitles.com forced subtitles searching. 2021-09-17 13:59:37 -04:00
Guy Khmelnitsky 57f8973be2
Fixed Bad Ktuvit Login problem
Close #1541
2021-09-14 21:22:39 -04:00
morpheus65535 0e01c64079
Fixed Addic7ed AttributeError exception with some movies #1525 2021-09-13 09:17:16 -04:00
Guy Khmelnitsky b137af0908
Fixed Ktuvit provider login 2021-09-11 14:27:26 -04:00
morpheus65535 8d5c2db39d Fixed Titrari providers search endpoint. #1526 2021-09-04 21:22:58 -04:00
morpheus65535 caf01da2ed Fixed incompatible operator with Python 3.7 in latest patch to Addic7ed. 2021-09-03 19:19:02 -04:00
morpheus65535 96a3acf8e9 Added movies searching to Addic7ed provider. #1525 2021-09-02 19:07:08 -04:00
Guy Khmelnitsky de5bcc8ed0
Added provider Ktuvit 2021-08-31 13:26:16 -04:00
morpheus65535 eb8f482eed no log: fix for opensubtitles.com login issue. 2021-08-24 22:33:22 -04:00
morpheus65535 45e93df2eb Fixed Yavka provider. #1514 2021-08-23 19:58:59 -04:00
morpheus65535 8ae5e5483e Improved Subscene provider with single season series. #1510 2021-08-22 17:24:10 -04:00
vitiko98 34b1782e6a Update merged source formats 2021-08-19 03:44:23 -04:00
Marian Moravcik 9b05a3a63a Fix broken url for titulky.com provider 2021-08-12 20:26:12 +02:00
morpheus65535 c05db9f8c5 Added a validation of existing credentials for opensubtitles.com provider. 2021-08-11 09:38:39 -04:00
dtcabrerizo 33a600a714
Added settings to download only featured subtitles for LegendasTV 2021-07-30 07:34:57 -04:00
morpheus65535 5f6b201a71 Fixed greeksubs provider. #1477 2021-07-22 07:20:56 -04:00
siankatabg 31dcd37d52
Added fix for inconsistent movie/tv naming to yavkanet provider 2021-07-17 09:52:37 -04:00
morpheus65535 8cdd362caa Fixed zimuku provider to prevent unexpected exception. #1459 2021-07-14 19:16:12 -04:00
siankatabg b1654bb747
Added inconsistent tv naming entries to Subssabbz and Subsunacs providers 2021-07-04 15:58:13 -04:00
morpheus65535 86fb10e3af Fixed Wizdom provider by adding some failsafe to imdb_id logic. #1456 2021-07-02 10:38:18 -04:00
morpheus65535 4a78f3b6b8 Fixed subdivx provider when there's a year in series directory name but not on the provider website. #1454 2021-06-30 20:24:14 -04:00
Abdulmohsen 2b67c5bcba
Fixed file encoding guessing by extending Arabic, Farsi and Persian language possible encoding. 2021-06-26 09:58:48 -04:00
vitiko98 92e0d13913 Fix Subsynchro provider (Fix #1450) 2021-06-25 23:22:39 -04:00
vitiko98 1c7584d33a Solve SSL error with Podnapisi on Ubuntu and Debian machines (Fix #1251) 2021-06-25 19:10:41 -04:00
vitiko98 38d2332c39 Fix argenteam TypeError and JSONDecodeError 2021-06-25 18:40:02 -04:00
morpheus65535 e1628d76fd no log: trying to improve os.com provider 2021-06-23 23:13:22 -04:00
morpheus65535 d3879c1957 Merge remote-tracking branch 'origin/development' into development 2021-06-23 22:12:48 -04:00
morpheus65535 81b5700209 Fixed supersubtitles provider not able to search for Loki series subtitles #1447 2021-06-23 22:12:38 -04:00
Chang-Yen Tseng 5d5a1e866c
Fixed Chinese characters decoding by using gb18030 after big5 2021-06-23 20:49:06 -04:00
morpheus65535 cb420628f8
Cloudflare improvements (#1448)
* Upgraded cloudscraper to fix multiple issues with providers that uses antibot page.

* Fixed subs4series provider. It now require anti-captcha provider to download subtitles. One captcha will have to be solved for each download. #1442
2021-06-23 15:54:28 -04:00
morpheus65535 557a06173d Fixed token issue with opensubtitles.com 2021-06-19 20:10:32 -04:00
morpheus65535 26e978b14b Fixed Regielive provider #1438 2021-06-14 19:59:26 -04:00
morpheus65535 f4df07fb83 Fixed Titrari provider #1438 2021-06-14 15:29:39 -04:00
vitiko98 a39a9e8bd5 Finish providers migration to subliminal_patch's guess_matches 2021-06-10 22:55:58 -04:00
morpheus65535 e86d537ca2
Improved subtitles scoring system 2021-06-10 16:00:42 -04:00
vitiko98 14d467e645 Update half of providers to use subliminal_patch's guess_matches 2021-06-08 18:44:30 -04:00
vitiko98 5b1f479901 Fix Sucha provider: AttributeError and wrong matches 2021-06-08 18:42:34 -04:00
morpheus65535 cb09f8d440 Fixed BetaSeries AttributeError exception #1423 2021-06-07 12:41:28 -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
Xavier Xiong 3908175a21
Fixed Zimuku url 2021-05-31 12:06:50 -04:00
morpheus65535 7209bad0c4 Improved Opensubtitles.com provider caching of token 2021-05-27 11:17:20 -04:00
morpheus65535 bb842b92af Improved Opensubtitles.com providers 2021-05-27 08:49:52 -04:00
Vitiko 9f401cbb67
Fixed support for lists in audio_codec match guessing 2021-05-15 08:11:03 -04:00
morpheus65535 a555617738 Tried to fix the issues with bsplayer 2021-05-06 23:08:16 -04:00
morpheus65535 29ad8c6122 Added cache to Titlovi request to prevent doing the same request over and over again for each and every episode of a show. 2021-05-06 22:53:42 -04:00
Georgi Kyosev d9e0e2ec92
Fixed Yavkanet provider 2021-04-18 10:19:16 -04:00
Vitiko 95bef2d519
Added cache support for TuSubtitulo provider 2021-04-02 08:56:05 -04:00
Vitiko 940b6428dd
Fixed bad protocol for Argenteam provider 2021-04-01 22:39:09 -04:00
Vitiko 25894c477f
Added Subsynchro provider 2021-03-28 14:32:21 -04:00
Michiel van Baak Jansen c83f47b2d0
Fixed Greeksubs provider to handle 404 response when searching for subtitles based on imdbId 2021-03-27 08:14:29 -04:00
Diego Heras 37f187df3f
Fixed subtitulamostv provider. resolves #1333 (#1335) 2021-03-25 18:51:48 -04:00
Diego Heras bb72d57e30
Fixed tusubtitulo provider. resolves #1332 (#1334) 2021-03-25 18:51:08 -04:00
morpheus65535 b1dd190663 Fixed timeout and error handling in OpenSubtitles.com provider. 2021-03-22 12:14:53 -04:00
morpheus65535 762cd61b21 Fixed OpenSubtitles.com token expiration 2021-03-22 10:16:51 -04:00
morpheus65535 da46904193 Fixed Zimuku provider url 2021-03-21 20:23:05 -04:00
morpheus65535 fa3b773ef2 Fixed TypeError when trying to get video information while all providers are throttled. 2021-03-21 20:14:12 -04:00
morpheus65535 00a6437e23 Prevent DNS fall back to default server to flood debug log. 2021-03-11 12:44:39 -05:00
morpheus65535 da5b74516c Fixed both Opensubtitles providers when searching for Superman & Lois (amp character issue) 2021-03-11 10:23:00 -05:00
morpheus65535 d907e1cac7 Merge remote-tracking branch 'origin/development' into development 2021-03-04 11:28:23 -05:00
morpheus65535 d915308616 Fixed LegendasTV provider that was only using the main series title and not alternative titles. #1303 2021-03-04 09:31:32 -05:00
Vitiko c43219ed15
Improved bsplayer provider 2021-03-02 22:48:32 -05:00
Vitiko f1cd54c75c
Fixed TypeError in subliminal_patch sanitize 2021-03-02 07:17:02 -05:00
morpheus65535 1b987d3470 Fixed Supersubtitles provider #1300 2021-02-28 09:23:55 -05:00
Bogdan Ilisei d0f50a2e99
Improved RegieLive.ro to not get throttled when there are no results (#1293) 2021-02-25 06:37:03 -05:00
Vitiko 260d540750
Fix KeyError for Argenteam Provider 2021-02-23 06:50:36 -05:00
morpheus65535 4888a2361c Fix for #1271 2021-02-15 21:09:21 -05:00
zx900930 3173351590
update zimuku providers 2021-02-15 13:29:22 +01:00
zx900930 46e709c998
improve chinese language codes matching rules 2021-02-15 01:39:57 +01:00
Xavier Xiong 1548263a6c
Adding simplified and traditional Chinese subtitles support (#1236) 2021-02-12 14:15:19 -05:00
morpheus65535 39e658e913 Fix for #1252 2021-02-08 06:58:51 -05:00
morpheus65535 2aed0a2dc7 Fix for #1252 2021-02-05 08:50:32 -05:00
morpheus65535 da7610b5cf Fix for #1256. Added RAR archives compatibility. 2021-02-01 08:19:03 -05:00
morpheus65535 94825422d5
Opensubtitles.com fixes (#1249) 2021-01-25 22:05:56 -05:00
vitiko98 8b97c7c54e Improve matches for Subdivx provider 2021-01-25 17:18:32 -04:00
vitiko98 9d41d44d6d Add minor changes to Sucha provider 2021-01-25 17:18:03 -04:00
vitiko98 3659b4e566 Improve matches and readability for Argenteam provider 2021-01-25 17:17:34 -04:00
vitiko98 568873ac30 Rewrite TuSubtitulo provider (Close #1242) 2021-01-25 17:16:49 -04:00
morpheus65535 c8eae1a512
Adding opensubtitles.com provider (#1247)
Adding OpenSubtitles.com provider
2021-01-25 14:28:55 -05:00
Georgi Kyosev ff06881d5d Fix search row BeautifulSoup CSS selector 2021-01-25 16:48:08 +02:00
morpheus65535 a7e9811bd5 Fix for #1235 2021-01-22 23:10:04 -05:00
morpheus65535 22cd45bc41
Languages profiles (#1232)
Implementing the languages profiles functionality.
2021-01-18 23:49:51 -05:00
morpheus65535 b291746a49 Fix for #1229 2021-01-17 08:58:01 -05:00
morpheus65535 e9588d8d16 Possible fix for #1117 2021-01-11 22:01:17 -05:00
josdion 21b288308f subssabbz, subsunacs - fix inconsistent movie/tv naming 2021-01-03 17:57:25 +02:00
morpheus65535 6544fd4c39 Fix for #1215 2020-12-21 23:56:58 -05:00
morpheus65535 73d3000b96
Merge pull request #1214 from soenneker/subscene-fix
Fixes subscene with invalid attribute
2020-12-21 23:46:07 -05:00
morpheus65535 e7d68f4316 Removed some Python 2.7.x compatibility code. 2020-12-21 23:44:24 -05:00
Jake Soenneker d7333d9172 Removes if statement for python 2 2020-12-15 22:32:47 -06:00
Jake Soenneker 4f7d436254 Fixes subscene issue with Python dropping unescape 2020-12-12 16:21:21 -06:00
vitiko98 99a3abb240 Fix TypeError 2020-12-03 17:36:32 -04:00
vitiko98 5f858cc91d Remove unwanted debug 2020-12-03 14:28:35 -04:00
vitiko98 3b516427a3 Sucha's new api 2020-12-03 14:23:52 -04:00
morpheus65535 a5085e23d6 Fix for #1201. 2020-12-02 06:43:29 -05:00
morpheus65535 fc4f78f8a5 Possible fix for #1189. 2020-11-18 22:42:49 -05:00
morpheus65535 e2e541252d Fix for forced subtitles not being automatically downloaded anymore. 2020-11-11 08:57:34 -05:00
morpheus65535 b6b374abfa Fix for #1187 2020-11-09 14:03:52 -05:00
morpheus65535 afbe7e9989
Merge pull request #1188 from GermanG/bsplayerfix
bsplayer: using provider subid instead of link as ID
2020-11-05 21:02:50 -05:00
morpheus65535 8462386b5f Merge remote-tracking branch 'origin/development' into development 2020-11-04 20:41:39 -05:00
morpheus65535 5b831f9b3e Fix for #1168 and #1176 2020-11-04 20:41:21 -05:00
German Gutierrez ec1021e602 bsplayer: using provides subid instead of link as ID 2020-11-04 21:29:34 +01:00
morpheus65535 bd3157d537
Merge pull request #1186 from stevezau/patch-3
yifysubtitles handle 404 when imdb_id not found
2020-11-03 22:39:48 -05:00
Steve Adams c2a311689e
Handle when title cannot be parsed
For example https://www.feliratok.info/index.php?term=American%20Chopper&nyelv=0&action=autoname returns a result which causes https://github.com/morpheus65535/bazarr/issues/1179#issuecomment-721068203
2020-11-04 14:34:23 +11:00
Steve Adams 37ba592b17
yifysubtitles handle 404 when imdb_id not found
yifysubtitles handle 404 when imdb_id not found
2020-11-04 14:14:16 +11:00
Steve Adams f8497e27d5
I am getting 401's on yifysubtitles.com.
I am now consistant 401's on yifysubtitles.com. I believe the site has moved to.org.
2020-11-04 10:43:36 +11:00
vitiko98 78d9788a78 remove web merging 2020-10-31 19:36:29 -04:00
vitiko98 8e59cf5fed Fix source score matching in subtitle.py
Changed score matching logic for sucha
2020-10-27 19:17:40 -04:00
morpheus65535 951f2f8a03
Merge pull request #1173 from vslavik/patch-1
titulky provider: fix search for movie w/o year
2020-10-27 14:19:47 -04:00
Václav Slavík 24897858c6
titulky provider: fix search for movie w/o year 2020-10-27 19:11:46 +01:00
morpheus65535 bf737e9b24 Fix for #1171. 2020-10-25 10:20:39 -04:00
vitiko98 752c4a2142 fix opensubtitles imdb comparison 2020-10-18 13:09:25 -04:00
vitiko98 ffa617b638 slice 2020-10-16 16:36:03 -04:00
vitiko98 517e5e22e5 fix loop with alt titles in argenteam 2020-10-16 16:10:17 -04:00
Louis Vézina 88265e7913 Fix for #1151 2020-10-15 20:08:58 -04:00
Louis Vézina f74d70cfe1 WIP 2020-10-13 13:35:41 -04:00
Louis Vézina 54d8c802a7 Merge branch 'development' into subztv 2020-10-12 22:01:41 -04:00
vitiko98 3b891b9e1d new subdivx results limit (now it's 100) 2020-10-11 16:03:35 -04:00
vitiko98 6caffffa42 fix foreign titles problem with subdivx 2020-10-11 15:40:48 -04:00
vitiko98 c143d31b89 better scoring for sucha 2020-10-11 15:40:07 -04:00
vitiko98 70392835ab Added english support for TuSubtitulo 2020-10-11 13:22:54 -04:00
Louis Vézina 8939bb9769 Improvements to OpenSubtitles.org provider. 2020-10-10 22:13:46 -04:00
Louis Vézina 7a2e6ab24f Fix for #1104. Searching for one language after the other when more then one language is requested. Previously, PT was being prioritized over others. 2020-10-06 09:02:55 -04:00
morpheus65535 99318bbde1
Merge pull request #1139 from vitiko98/tusubtitulo
Adding TuSubtitulo provider
2020-10-05 21:53:23 -04:00
Louis Vézina c323cd8518 Fix for #1062 2020-10-05 21:41:13 -04:00
vitiko98 27d078b719 Added TuSubtitulo provider 2020-10-05 20:42:39 -04:00
morpheus65535 198be1cc6e
Merge pull request #1137 from ngosang/feature/subtitulamos
Rewrite Subtitulamos provider. resolves #1132
2020-10-05 11:04:58 -04:00
ngosang c87c4766cf Rewrite Subtitulamos prodiver. resolves #1132 2020-10-04 04:29:25 +02:00
ngosang bf836ad521 Fix Subdivx provider. resolves #1133 2020-10-04 04:21:42 +02:00
vitiko98 ef77b148fe organizing matches 2020-10-01 14:29:16 -04:00
vitiko98 2e797e100b Adding new Sucha provider 2020-09-30 13:39:25 -04:00
Louis Vézina bd7854326f Fix for #1123 2020-09-30 11:32:47 -04:00
Louis Vézina 81d42dd6dc WIP 2020-09-29 10:35:00 -04:00
Louis Vézina 86cf9aa9cc Fix for #1113 2020-09-22 19:50:02 -04:00
Louis Vézina e0a62b9fe0 Fix for series list not getting populated with addic7ed. 2020-09-17 08:51:35 -04:00
Louis Vézina 628a4bdc9f Fix for release not split correctly with addic7ed. 2020-09-15 09:27:51 -04:00
josdion 408d0cd253 subssabbz, subsunacs - fix inconsistent movie naming 2020-09-13 14:24:49 +03:00
morpheus65535 5658a7a359
Hearing impaired (#1102) 2020-09-10 14:26:37 -04:00
morpheus65535 931268e2e0
Merge pull request #1100 from kobik/development
fix(wizdom): release doesn't show in manual search results and scoring calculation
2020-09-07 16:38:21 -04:00
Bazarr be37a8112e fix(wizdom): release doesn't show in manual search results and scoring calculation 2020-09-07 23:30:01 +03:00
Louis Vézina 72041d3fd2 Fix for #1098 2020-09-06 08:43:10 -04:00
josdion be82117600 Fix #1089 - YIFY Subtitles server URL update 2020-08-25 19:05:33 +03:00
josdion 36cf8ca344 subssabbz, subsunacs, yavkanet - add frame rate to release info
- add subtitle frame rate to release info
- better handling of exceptions while dolwnloading subtitles
2020-08-16 11:01:21 +03:00
Louis Vézina e2b1726c87 Fix for #1034. 2020-08-10 08:48:03 -04:00
gyh1621 143b83ab3e fix zimuku provider 2020-08-02 15:17:54 +08:00
Louis Vézina 170a3b0985 Fix for #1034. 2020-07-28 13:47:37 -04:00
Louis Vézina 37b5ad4e26 Small fix for sous-titres.eu to circumvent Cloudflare protection. 2020-07-21 22:45:23 -04:00
Louis Vézina d7873470fd Added Sous-Titres.eu provider. 2020-07-21 00:28:34 -04:00
Louis Vézina 43a5533a84 Fix for #913 (user-agent for subs4series) 2020-07-07 11:43:54 -04:00
Louis Vézina 94fc3ae8dd Fix for #915 2020-07-06 18:34:52 -04:00
Louis Vézina 4f481d16d1 Fix for #913 (subs4series only) 2020-07-06 13:55:59 -04:00
Louis Vézina f6c6e90fed Fix for #913 (subs4free only) 2020-07-06 12:38:18 -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
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
Ori 8dad86c8aa wizdom: some subtitle files are empty, skip 2020-04-08 18:39:38 +03:00
Ori 9c66639828 bugfix language id in wizdom provider 2020-04-08 17:44:12 +03:00
josdion 286a216ab6 Fix #896
- Improved release info
- Remove search in alternative titles
- Read the best scored subtitles from archive
2020-04-03 20:18:44 +03:00
morpheus65535 1c7776876c
Merge pull request #901 from josdion/development
subsunacs - improve finding uploader user name
2020-03-31 20:35:30 -04:00
josdion 3e21376fe6 subsunacs - improve finding uploader user name 2020-03-31 19:29:51 +03:00
Louis Vézina 605eeced56 Fix for #898 2020-03-30 21:08:11 -04:00
morpheus65535 299af38486
Merge pull request #895 from josdion/development
subsunacs - allow txt subtitles to be downloaded
2020-03-29 08:05:17 -04:00
josdion 6d6d69d89d subsunacs - allow txt subtitles to be downloaded 2020-03-29 09:36:58 +03:00
ngosang 9fc8bfeffb subdivx: fix redirect, release info and uploader. resolves #889 2020-03-28 20:34:39 +01:00
josdion 41e84b7e3d subssabbz, subsunacs, yavkanet - fix setting of uploader
Fix problem where the last uploader is set as uploader of all subtitles.
2020-03-28 10:10:24 +02:00
morpheus65535 f6c303e2b5
Merge pull request #885 from gyh1621/master
Fix zimuku provider
2020-03-25 10:07:22 -04:00
gyh1621 6478635163 stop sorting query results by language in zimuku 2020-03-25 07:29:45 +00:00
gyh1621 b12cb42146 Fix zimuku provider 2020-03-25 06:06:06 +00:00
josdion 03e0998d82 opensubtitles - show uploader as anonymous when UserNickName is empty
Show uploader as anonymous when UserNickName is empty as this is how the username is shown on opensubtitles.com
2020-03-22 14:33:02 +02:00
morpheus65535 e04364d17d
Merge pull request #876 from josdion/development
add uploader member variable to subtitle class
2020-03-22 07:50:07 -04:00
josdion df2f0bb7b5 update opensubtitles to set subtitle uploader username 2020-03-22 12:20:07 +02:00
josdion e09d84e09c add uploader member variable to subtitle class
Add uploader member variable to subtitle class and update subssabbz, subsunacs and yavkanet to retrieve the uplader username.
2020-03-22 09:58:31 +02:00
morpheus65535 3b67dfc8b4
Merge pull request #874 from natiz/development
New Provider: Wizdom
2020-03-21 20:40:48 -04:00
natiz f125d39b8c Add wizdom provider 2020-03-21 17:51:16 +02:00
German Gutierrez da2c5e5212 New Provider: RegieLive 2020-03-20 20:22:53 +01:00
josdion d3d7991db7 subssabbz, subsunacs - various fixes to improve match-finding
- fix inconsistent names of some TV shows
- sanitaze movie names
- do not remove apostrophe when sanitize TV and movie names
2020-03-20 09:56:18 +02:00
josdion 43fc2f093b do not remove apostrophe when calling sanitize()
Removing apostrophe from movie and tv names will lead to missing matches.
2020-03-19 13:54:27 +02:00
josdion 13bf1b7a76 remove matches.add(id(self)) from get_matches
remove matches.add(id(self)) from get_matches as this is an obvious mistake, that I copied from another provider :)
2020-03-19 12:03:07 +02:00
josdion c6355be1bd Add yavka.net subtitles provider
Bulgarian (mostly) Subtitles Provider. Also provide subtitles in English, Russian, Spanish, and Italian.
2020-03-19 07:42:08 +02:00
morpheus65535 f8492f4688
Merge pull request #856 from pkoutsias/feature/greek_providers_fix
Fixes #773
2020-03-13 16:28:01 -04:00
German Gutierrez 4187f100a0 bsplayer: removal of a faulty host 2020-03-13 16:21:20 +01:00
Panagiotis Koutsias 627ac29dfe Fixes #773
Fixes subs4free and subs4series providers
Removes subz provider
2020-03-13 10:12:20 +02:00
Louis Vézina c7c7a23f58 Fix for d5feea0b09 2020-03-08 09:50:31 -04:00
panni d5feea0b09 fix #731 2020-03-08 05:53:27 +01:00
German Gutierrez c2614fc776 legendasdivx: adding scores to subtitles to get best match in archive 2020-02-24 16:13:30 +01:00
German Gutierrez c72366d883 legendasdivx: using guessit to pick up the right sub in archive 2020-02-24 11:06:48 +01:00
German Gutierrez 9036a0863c bsplayer: adding matches 2020-02-23 17:37:02 +01:00
Louis Vézina cc61d0188f Fix for Python 2.7 compatibility regression. 2020-02-16 10:37:55 -05:00
panni 584f4a7c04 update subliminal_patch; improve scoring; improve bsplayer; possibly fix bazarr#821 2020-02-16 05:53:32 +01:00
Louis Vézina 9455847a0e Revert "subliminal_patch: hearing impaired fix"
This reverts commit 258dc3a7
2020-02-15 11:17:57 -05:00
morpheus65535 3d87c6ee15
Merge pull request #823 from GermanG/hearing_impaired_match_fix
subliminal_patch: hearing impaired fix
2020-02-15 08:01:31 -05:00
German Gutierrez 258dc3a776 subliminal_patch: hearing impaired fix 2020-02-15 12:09:14 +01:00
German Gutierrez 9651a63db9 betaseries: adding release info 2020-02-15 09:03:00 +01:00
Michiel van Baak d4dd3ca4de Use native os.scandir when available 2020-02-09 15:37:11 +01:00
morpheus65535 7c061874fb
Merge pull request #806 from GermanG/subdvix
subdivx: replacing ParseReponseError by APIThrootled
2020-02-07 15:53:45 -05:00
German Gutierrez e0168b7dba subdivx: retrying download when link is not class 'detalle_link' but 'link1' 2020-02-07 20:20:53 +01:00
German Gutierrez 881a16350a subdivx: replacing ParseReponseError by APIThrootled 2020-02-07 15:01:26 +01:00
German Gutierrez a00d50d520 legendasdivx: adding imdb (alternative) search 2020-02-07 09:01:43 +01:00
German Gutierrez acc30fe539 legendasdivx: wider query for better results and modifications for future improvements 2020-02-05 21:02:31 +01:00
Halali 57c24a6e56 Another Possible fix for titulky provider 2020-01-27 22:11:54 +01:00
morpheus65535 6c3a0ba354
Merge pull request #770 from IIIspaceIII/feature/provider-titrari-ro
Feature/provider titrari ro
2020-01-24 06:23:12 -05:00
Space 07b6fc2fbd Merge remote-tracking branch 'origin/feature/provider-titrari-ro' into feature/provider-titrari-ro 2020-01-24 12:06:33 +02:00
Space 1801d2555b #769
-fixed searching without imdbId
2020-01-24 12:06:18 +02:00
Halali 91101073b8 Possible fix for titulky provider 2020-01-23 22:55:04 +01:00
Louis Vézina c16ba5e17a Fix for #767 2020-01-22 20:09:32 -05:00
qxe5534 517454b2df Merge branch 'development' into feature/provider-titrari-ro
# Conflicts:
#	bazarr/get_providers.py
2020-01-20 10:25:15 +02:00
Space 3cb1a33867 -added provider titrari.ro for movies 2020-01-19 22:55:56 +02:00
panni 314c1f90e5 update subliminal_patch; possibly fix bazarr#656 2020-01-19 05:30:39 +01:00
German Gutierrez 7d5fdafe0c LegendasDivxs: skipping .txt files from archived file 2020-01-18 14:20:53 +01:00
German Gutierrez 6291cf7134 removing unneeded imports from bsplayer and legendasdivx 2020-01-18 13:02:37 +01:00
German Gutierrez 304ee8766c Adding release info to bsplayer and subdvix providers 2020-01-18 12:59:14 +01:00
German Gutierrez 22ce5dc450 LegendasDivx: adding missing import ParseResponseError 2020-01-18 12:58:22 +01:00