Commit Graph

2369 Commits

Author SHA1 Message Date
josdion 354454688d
Fix subtitle character encoding detection
Increase the size of the language recognition buffer to 32K
2020-03-25 22:04:04 +02:00
josdion c0faf08c52 Set default values for languages, HI and forced subtitles
Set default values for languages, HI and forced when adding new movies and tv shows to the database.
2020-03-25 21:03:15 +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
Louis Vézina d1a94638e1 Partial fix for #729 (only Shameless (US)) 2020-03-25 00:04:32 -04:00
Louis Vézina bb59b9019f Fix for #883 2020-03-24 21:14:36 -04:00
Louis Vézina 3ed36eeb8a WIP 2020-03-24 20:59:57 -04:00
morpheus65535 b375aa2a5c
Merge pull request #884 from josdion/hermes
fix movie and TV show not showing header information
2020-03-24 17:08:25 -04:00
josdion 7b5e45d952 fix movie and TV show not showing header information when language is not set 2020-03-24 23:04:59 +02:00
Louis Vézina ea1844265a WIP 2020-03-24 14:29:16 -04:00
Louis Vézina ec94b836f6 WIP 2020-03-24 08:17:03 -04:00
Louis Vézina 11c4b3122f Make manual search modal larger. 2020-03-22 21:03:49 -04:00
Louis Vézina c982e37024 Fix to embedded subs indexer. 2020-03-22 09:23:06 -04:00
morpheus65535 a36e54c7c7
Merge pull request #877 from josdion/development
opensubtitles - show uploader as anonymous when UserNickName is empty
2020-03-22 08:35:46 -04: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 dd4707176a add subtitle uploader as a column in manual search dialog 2020-03-22 11:54:54 +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
Louis Vézina 71af42441b Merge branch 'development' into hermes
# Conflicts:
#	views/episodes.tpl
#	views/movie.tpl
#	views/providers.tpl
2020-03-21 09:26:28 -04:00
Louis Vézina a198250cca WIP 2020-03-21 09:24:32 -04:00
morpheus65535 17965ad28b
Merge pull request #871 from GermanG/regielive
New Provider: RegieLive
2020-03-21 07:48:07 -04:00
morpheus65535 08a38f6505
Merge pull request #873 from josdion/development
do not show release info if it contains only whitespace characters
2020-03-21 07:45:33 -04:00
josdion 03b181701e do not show release info if it contains only whitespace characters
if the release_info contains only whitespace characters in the manual search result dialog they will appear as empty labels. Now they will not be included in releases won't be shown.
2020-03-21 10:08:50 +02:00
German Gutierrez da2c5e5212 New Provider: RegieLive 2020-03-20 20:22:53 +01:00
morpheus65535 09e303f627
Merge pull request #869 from josdion/development
release info in manual search results
2020-03-20 14:57:21 -04:00
josdion ec7cf0734e release info in manual search results
In manual search dialog, show dropdown icon only when there is more than one element in release_info array. Otherwise just show the release info without dropdown button.
2020-03-20 16:49:16 +02:00
morpheus65535 2b89b5cb5e
Merge pull request #868 from josdion/development
subssabbz, subsunacs - various fixes to improve match-finding
2020-03-20 07:48:26 -04: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
morpheus65535 6b17838cac
Merge pull request #866 from josdion/development
do not remove apostrophe when calling sanitize()
2020-03-19 08:18:46 -04: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
morpheus65535 f618f978cb
Merge pull request #865 from josdion/development
Add yavka.net subtitles provider
2020-03-19 07:53:38 -04: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
Louis Vézina aa1b9dfcf4 Merge branch 'development' into hermes
# Conflicts:
#	bazarr/embedded_subs_reader.py
#	bazarr/list_subtitles.py
#	bazarr/logger.py
#	bazarr/main.py
#	views/providers.tpl
2020-03-18 22:52:49 -04:00
morpheus65535 3bd75b19ca
Merge pull request #864 from josdion/development
Convert subtitle text to unicode before sending to guess_language
2020-03-18 22:40:14 -04:00
Louis Vézina 0f85f683c2 Possible fix for #860 2020-03-18 15:33:54 -04:00
Louis Vézina a2dbc73130 WIP 2020-03-18 08:22:22 -04:00
josdion 4056796eb1 Convert subtitle text to unicode before sending to guess_language
- Remove is_binary as it test only the first 1024 bytes and the encoding of teh detected file must be above 0.9 to recognize the file as a text. The new implementation assumes that if the file is binary, then detection of character encoding will be with confidence lower than 80% or text.decode() will raise an exception.

- skip detection of subtitle files larger than 5M
2020-03-18 13:31:34 +02:00
Louis Vézina 1a44dbc31a Fix for #841 2020-03-15 09:05:51 -04:00
Louis Vézina 25a4126f6d Merge branch 'development' into hermes 2020-03-13 16:34:14 -04:00
morpheus65535 f8492f4688
Merge pull request #856 from pkoutsias/feature/greek_providers_fix
Fixes #773
2020-03-13 16:28:01 -04:00
morpheus65535 1aeb354589
Merge pull request #858 from GermanG/bsplayersubs
bsplayer: removal of a faulty host
2020-03-13 11:57:07 -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 d3aa8d4c80 WIP 2020-03-11 06:58:45 -04:00
Louis Vézina 978f9aeded Fix for #851 2020-03-08 18:07:10 -04:00