Commit graph

32 commits

Author SHA1 Message Date
Anderson Shindy Oki
668ec386fc
Fixed usage of pysubs2 removed exception in subliminal_patch 2024-06-25 08:48:18 -04:00
morpheus65535
2f1e3645b0 Merge remote-tracking branch 'origin/development' into development 2024-06-20 07:35:37 -04:00
morpheus65535
76175a889b Fixed opensubtitles.com provider not being throttled properly when server returned http 500. 2024-06-20 07:35:29 -04:00
Vitiko
4430ec8f3e Subtitle class: get format dinamically (fix #2514) 2024-06-18 17:44:12 -04:00
modem
9a52b3c539
Fixed legendasdivx provider while searching for movies subtitles 2024-06-18 05:50:34 -04:00
morpheus65535
fb83ec4081 Fixed unhandled exception in opensubtitles.com provider login method. #2545 2024-06-18 05:31:50 -04:00
Anderson Shindy Oki
2b19f390e7
Updated pysubs2 to 1.7.2
* chore: Bump pysubs2 to v1.7.1

* chore: bump version to 1.7.2

* remove bin
2024-06-08 06:40:00 -04:00
Anderson Shindy Oki
a8c1794061
Fixed provider legendasdivx unable to find series subtitles. #2509
* fix: quotes surround series name not season

* feat: Add search via series imdb id

* chore: Add comment

* fix: Last small fixes
2024-06-08 06:20:03 -04:00
morpheus65535
bb8233b599 Fixed external subtitles indexing on some platforms where filesystem encoding may be using a different UTF8 normalization form. 2024-06-06 06:17:13 -04:00
morpheus65535
0e183c428b Fixed subdivx series search process. #2499 2024-05-27 20:58:29 -04:00
morpheus65535
d8e58cac83 no log: fixed empty subtitles being saved 2024-05-13 22:11:40 -04:00
morpheus65535
b3a5d43a10 Fixed issue while saving some odd case ASS embedded subtitles. 2024-05-12 10:13:21 -04:00
morpheus65535
006ee0f63a Fixed issue with subssabbz provider comparing None with int. 2024-05-10 06:46:50 -04:00
morpheus65535
47011f429a Fixed issue with subsunacs provider comparing None with int. 2024-05-10 06:36:04 -04:00
morpheus65535
bb4b01f3fb Removed closed subscene provider 2024-05-09 15:19:31 -04:00
Anderson Shindy Oki
970b0f9d47
Added animetosho release info 2024-05-04 13:19:36 -04:00
morpheus65535
2c4ed03817 Fixed HI subtitles identification when downloading and improved some constants. #2386 2024-05-02 22:05:41 -04:00
JayZed
bea2f0b781
Fixed embedded ASS subtitles writing encoding error
For a couple of files, I had UnicodeEncodeErrors raised when writing out a file it had successfully read in.
In my case, the output file was truncated to 1 KB.
2024-05-02 06:32:03 -04:00
Anderson Shindy Oki
2782551c9b
Fixed Animetosho provider error for tv shows
* chore: Skip anime

* wip
2024-04-30 06:28:41 -04:00
JayZed
5749971d67
Improved whisper provider to not throttle when unsupported audio language is encountered. #2474
As we have noted before, bad input data should be no reason to throttle a provider.
In this case, if the input language was not supported by whisper, we were raising a ValueError that was never caught and causing an error in the whisper provider for which it was throttled.
Instead, we are now detecting this case and logging an error message.
However, given that the input language was not one of the 99 currently known to whisper, it's probably a mislabeled audio track. If the user desired output language is English, then we will tell whisper that the input audio is also English and ask it to transcribe it. Whisper does a very good job of transcribing almost anything to English, so it's worth a try.
This should address the throttling in issue #2474.
2024-04-29 22:11:47 -04:00
Anderson Shindy Oki
5e0433834e
Fixed animetosho provider empty subtitle name. #2468 2024-04-24 20:27:04 -04:00
morpheus65535
fd190aad14 Fixed SyntaxWarning with Python 3.12. #2462 2024-04-24 06:49:38 -04:00
Vitiko
369b2c7343 Embedded Subtitles provider: handle FileNotFoundError 2024-04-23 17:20:36 -04:00
morpheus65535
6dbe143364 Added minimal Python 3.12 compatibility. Not yet official support. 2024-04-21 21:31:16 -04:00
Anderson Shindy Oki
73224866cb
Added additional languages to animetosho provider 2024-04-19 14:18:36 -04:00
Anderson Shindy Oki
77ebd036f2
Added animetosho provider 2024-04-14 08:19:13 -04:00
morpheus65535
3c30492e71 Improved best subtitles logging when score is below minimum score. 2024-04-10 23:11:00 -04:00
morpheus65535
19bc725c1b Merge remote-tracking branch 'origin/development' into development 2024-03-18 20:28:26 -04:00
morpheus65535
b4071f0af6 Fixed betaseries provider when series doesn't exist. #2431 2024-03-18 20:28:19 -04:00
JayZed
ec85f6e172
Improved multiple exceptions catching and fixed some other providers issues
* Backup files should be listed with newest ones first

Just like Sonarr and Radarr and everyone else.

* Add check_parser_binary() validation method

This is mainly to prevent the user from selecting mediainfo as the subtitles parser if it has not yet been installed on the user's system somewhere in the PATH.

* import JSONDecodeError from requests.exceptions  instead of json

Because sometimes it will return the simplejson one instead and that one won't be caught by the except clause.

* import JSONDecodeError from requests.exceptions  instead of json

Because sometimes it will return the simplejson one instead and that one won't be caught by the except clause.

Also fixed User-Agent assignment.
2024-03-16 22:10:50 -04:00
JayZed
814b1af79f
Fixed and improved UI while correcting text 2024-03-12 23:03:08 -04:00
morpheus65535
03afeb3470
Updated multiple Python modules (now in libs and custom_libs directories) and React libraries 2024-03-03 12:15:23 -05:00