Commit graph

758 commits

Author SHA1 Message Date
Vitiko 5d8897f675 Fix Addic7ed provider: handle language errors, avoid guessit exception and match version for movies 2021-12-23 21:57:13 -04:00
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
Vitiko d0b93a7b35 Update version.txt 2021-12-23 17:19:24 -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 409e1a5854 Add fese module for embedded subtitles 2021-12-13 17:12:19 -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
morpheus65535 d51dc68ebb Updated Apprise notification module to the latest providers. 2021-12-01 21:19:18 -05:00
morpheus65535 402c82d84f Upgraded some embedded dependencies to be ready for Python 3.10. This doesn't mean that it's fully supported right now. 2021-12-01 15:47:00 -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
morpheus65535 c60c7513a5 Upgraded engine.io module to improve socket.io connection stability. Should help to prevent #1613. 2021-11-29 23:07:14 -05:00
morpheus65535 a7a685491a Merge remote-tracking branch 'origin/development' into development 2021-11-29 20:15:31 -05:00
Bruno Maia 592dc799e9
Improved sanitize function to replace apostrophe and backticks 2021-11-29 20:15:14 -05:00
morpheus65535 f0828959f3 Updated deep-translator module and made some fix to support translation to Chinese. There's still a bug in this module that prevent it but one it's fixed, it should be fine. 2021-11-29 14:28:30 -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
morpheus65535 c12c7b4064 Updated apscheduler to it's latest version. 2021-10-21 18:36:45 -04:00
morpheus65535 1842ea76f9 no log: updated version.txt 2021-10-21 06:46:49 -04:00
morpheus65535 39fe3141d5 Moved back from gevent to waitress web server. This should prevent UI disconnection occurring during heavy task like syncing subtitles. 2021-10-20 20:46:22 -04:00
TRaSH 8bdf957c06
Added More Equivalent release groups
Added: `FraMeSToR`, `W4NK3R`, `BHDStudio` to the Equivalent release groups, being that W4nk34 and BHDStudio use the Framestor (Remux) release as source for their bluray encodes.
2021-10-20 14:35:22 -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
morpheus65535 8429087d8a no log: Updated pysubs2 module to support newer SSA files. 2021-07-14 19:14:40 -04:00
morpheus65535 09a8335a03 Updated pysubs2 module to support newer SSA files. 2021-07-14 19:13:28 -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 23ede4e7f9 Updated signalrcore module following PR #61 merging. 2021-06-07 16:19:01 -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
morpheus65535 736b67fd80 Improved stability and reliability of SignalR feed clients. 2021-06-01 14:42:52 -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
morpheus65535 2b9d892ca9
Implemented Peewee ORM in replacement of raw SQL queries. 2021-05-26 16:47:14 -04:00
morpheus65535 2643023240 Updated SignalRCore to support websocket-client 1.0.0. 2021-05-18 14:33:37 -04:00
morpheus65535 70a0f6835e Upgraded websocket-client module to fix Radarr SignalRCore disconnection issues. 2021-05-17 23:18:25 -04:00
morpheus65535 44dd478c48 Improved reconnection process for Sonarr SignalR feeds. 2021-05-15 09:41:39 -04:00
Vitiko 9f401cbb67
Fixed support for lists in audio_codec match guessing 2021-05-15 08:11:03 -04:00
morpheus65535 84a1c265ce Improved Radarr SignalR feed reconnection process. 2021-05-11 16:24:02 -04:00
morpheus65535 90c6521b31 no log: removed the flask debug toolbar and the flask dev server usage with --dev args 2021-05-09 09:37:34 -04:00
morpheus65535 44c51b2e2c
Added real-time sync with Sonarr v3 and Radarr v3 by feeding from SignalR feeds. You can now reduce frequency of sync tasks to something like once a day. 2021-05-08 10:39:00 -04:00
morpheus65535 72b6ab3c6a
Added live update of UI using websocket. Make sure your reverse proxy upgrade the connection! 2021-05-08 10:25:29 -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
Michiel van Baak Jansen 30ef713fa2
Downgrade auditok to version 0.1.5
ffsubsync pinned auditok to 0.1.5. We missed this when upgrading
ffsubsync and auditok. Since we dont run pip to install the
libraries, there is no version checks
2021-05-01 08:07:20 -04:00
Georgi Kyosev d9e0e2ec92
Fixed Yavkanet provider 2021-04-18 10:19:16 -04:00
Vitiko 56958488b6
Fixed big loop from subzero modification module
Co-authored-by: vitiko98
2021-04-15 07:47:30 -04:00
Michiel van Baak Jansen 4a0932b5d3
Update ffsubsync and srt module
* Update ffsubsync to 0.4.11
* Update srt to 3.4.1
2021-04-13 00:02:29 -04:00
Vitiko 95bef2d519
Added cache support for TuSubtitulo provider 2021-04-02 08:56:05 -04:00
Vitiko 7c61b3509c
Fix bad identifier from frontend (#1361)
Co-authored-by: vitiko98 <averroista@þrotonmail.com>
2021-04-02 13:20:19 +08:00
Vitiko 940b6428dd
Fixed bad protocol for Argenteam provider 2021-04-01 22:39:09 -04:00
Michiel van Baak Jansen 3a71d6b062
no log: libs/ is not a module, but a place to store dependencies (#1359)
Fixes #1357
2021-04-01 22:31:53 -04:00
morpheus65535 b11d037d2e no log: Fine-tuning fix for tvsubtitles provider 2021-03-30 23:21:53 -04:00
morpheus65535 1a025b693b Fixed tvsubtitles provider #1354 2021-03-30 22:54:02 -04:00
Vitiko 25894c477f
Added Subsynchro provider 2021-03-28 14:32:21 -04:00
morpheus65535 0803f419e4 Updated pytz to fix #1350 2021-03-28 09:53:07 -04:00
LASER-Yi 38e55148d2 Fix for #1338 2021-03-27 20:59:12 +08: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
Liang Yi f64719e4ad
Refactored Web UI using React 2021-03-25 10:22:43 -04:00
morpheus65535 b1dd190663 Fixed timeout and error handling in OpenSubtitles.com provider. 2021-03-22 12:14:53 -04:00
morpheus65535 24c075051d Updated guessit and rebulk to latest version 2021-03-22 10:26:26 -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 0ff83bb49d Merge remote-tracking branch 'origin/development' into development 2021-03-14 13:47:23 -04:00
Michiel van Baak 9d73ccacf3 Use sha1 digest as cache key
Subliminal uses dogpile.cache to save state of subtitle availability.
Some methods that dogpile.cache caches can have big argument lists,
resulting in a default cache key that is longer than 255 characters.
The dogpile.cache backend used, saves cache items to the filesystem,
using the cache key as filename. This can result in errors about
Filename too long.
SHA1 generates a 160bit hash of the key, and we use the hexadecimal
digest of that hash, resulting in key names of 80 characters.
2021-03-14 16:56:50 +01:00
Michiel van Baak f10bac1fad Revert "Make subliminal always mangle cache keys to prevent long filenames"
This reverts commit 87fbd196a4.
2021-03-14 11:34:12 +01:00
Michiel van Baak 87fbd196a4
Make subliminal always mangle cache keys to prevent long filenames
* Use dogpile.cache sha1_mangle_key to mangle cache keys

When using the subtitle hashes as cache keys, sometimes they come
out as filenames of 270 characters.
Not a lot of filesystems out there support filenames with over 250
characters.
This behaviour was reported with ext4 and zfs on both linux and FreeBSD.

The dogpile.cache utils come with a function that returns a hex digest
of the key, limiting the filename to a fixed length of 40 characters.

* Set region to subliminal.region and only then configure it, instead of assigning the result of configure to the property

* Make sure subliminal ALWAYS mangles keys with the sha1 to prevent filenames that are too long
2021-03-13 18:04:18 -05: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
Michiel van Baak cb32a9ab89
Documented the semver version bundled 2021-03-05 15:14:39 -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
morpheus65535 8208c4893e
Refactored the upgrade mechanism to use only Github releases 2021-02-26 10:57:47 -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 8a5d253d55 Fix for #1281 2021-02-19 15:21:47 -05:00