Commit Graph

36 Commits

Author SHA1 Message Date
morpheus65535 fc01267d5b Removed leftover from legendas.tv provider. 2023-06-15 12:46:49 -04:00
Vitiko 923bcb4382 Add 'other' attribute to Video class 2022-11-19 16:38:37 -04:00
vitiko98 fca1c9656e Avoid 'Insufficient data to process the guess' error (fix #1910) 2022-08-16 22:46:50 -04:00
morpheus65535 642733f92f Added support for unar RAR extraction utility. #1833 2022-05-18 06:46:52 -04:00
Anthony Arnaud 1a03d9fd12
Added cookies option for addic7ed to avoid anti-captcha provider requirement 2022-01-06 07:56:24 -05:00
morpheus65535 d8f14560e3
Improved search speed by reusing providers pools 2022-01-01 10:21:19 -05:00
Vitiko 718bd2f8b9 Add default attribute to Subtitle 2021-12-13 15:41:46 -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
morpheus65535 96a3acf8e9 Added movies searching to Addic7ed provider. #1525 2021-09-02 19:07:08 -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
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
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
Louis Vézina 376e13d7f1 Upgraded GuessIt to 3.0.1 2020-05-20 11:29:39 -04:00
ngosang 55bb3791da tvsubtitles provider: hide error message when not found
Test: The Boys
2020-05-16 15:44:43 +02:00
Louis Vézina bcc4183ef3 WIP 2019-09-22 22:27:23 -04:00
Louis Vézina 3ca2c98cd4 WIP 2019-09-16 22:04:27 -04:00
Louis Vézina c5fa0f56e4 WIP 2019-09-13 15:14:31 -04:00
Louis Vézina 645952c61a WIP 2019-09-13 15:12:26 -04:00
panni 927b7b6406 core: update to subliminal_patch:head; fix subscene; solve cf almost instantly; fix chinese subs; fix titlovi; 2019-05-12 06:23:46 +02:00
Guy Khmelnitsky bddfc5f0af
Update Subscenter to use new Subscenter.biz domain 2019-05-08 15:34:51 +03:00
panni 8f584143f8 update deps 2018-10-31 17:08:29 +01:00
panni 4beaeaa99e Merge remote-tracking branch 'origin/development' into subliminal_patch
# Conflicts:
#	libs/subliminal/subtitle.py
2018-10-31 17:02:33 +01:00
Louis Vézina 37142e247e Fix for multiple format in filename. 2018-10-23 21:31:40 -04:00
Louis Vézina d61bdfcd4f Initial commit. 2018-10-20 22:53:12 -04:00
Louis Vézina 3c1532148a Second part of previous fix. 2018-10-17 06:24:13 -04:00
Louis Vézina 4dfc250287 Fix for Subliminal exception: 'list' object has no attribute 'lower'. This is panni's fix. 2018-10-17 00:21:24 -04:00
Louis Vézina bb85224826 Fix for guessit returning a list for format 2018-10-10 22:33:08 -04:00
morpheus65535 26118abb2a Real fix for #158 2018-09-30 20:23:12 -04:00
morpheus65535 98cf99d1d0 Fix for #158 2018-09-28 21:32:39 -04:00
morpheus65535 b0854cb33d Upgrade Subliminal to 2.1.0dev #60 2018-04-23 08:36:17 -04:00
morpheus65535 36e6557a1c Including a modified version of subliminal 2.0.5 in libs 2018-03-23 19:59:59 -04:00