Commit Graph

595 Commits

Author SHA1 Message Date
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
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
Moravčík, Marian a876f8ca00 Revert "Fix missing Datatables source, and update Datatables plugins"
This reverts commit bee05bd8
2021-02-14 10:30:30 +01:00
Moravčík, Marian bee05bd8ed Fix missing Datatables source, and update Datatables plugins 2021-02-14 10:28:21 +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 39ec03da08 Fix for Dutch translation. 2021-02-03 18:04:54 -05:00
morpheus65535 49c6e8b3fb Implemented manual subtitles translation using Google Translate 2021-02-02 16:05:09 -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 240a3759cf Partial fix for #1230: js2py issue under Python 3.8+ 2021-01-17 20:52:56 -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 757f23a43a Fix for #1202 2020-12-03 11:13:42 -05: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