Commit Graph

751 Commits

Author SHA1 Message Date
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
Louis Vézina c323cd8518 Fix for #1062 2020-10-05 21:41:13 -04:00
vitiko98 27d078b719 Added TuSubtitulo provider 2020-10-05 20:42:39 -04:00
morpheus65535 198be1cc6e
Merge pull request #1137 from ngosang/feature/subtitulamos
Rewrite Subtitulamos provider. resolves #1132
2020-10-05 11:04:58 -04:00
ngosang c87c4766cf Rewrite Subtitulamos prodiver. resolves #1132 2020-10-04 04:29:25 +02:00
ngosang bf836ad521 Fix Subdivx provider. resolves #1133 2020-10-04 04:21:42 +02:00
vitiko98 ef77b148fe organizing matches 2020-10-01 14:29:16 -04:00
vitiko98 2e797e100b Adding new Sucha provider 2020-09-30 13:39:25 -04:00
Louis Vézina bd7854326f Fix for #1123 2020-09-30 11:32:47 -04:00
Louis Vézina 81d42dd6dc WIP 2020-09-29 10:35:00 -04:00
Louis Vézina 29671a4aff Replaced chardet by charamel to improve character encoding detection. 2020-09-23 10:35:16 -04:00
Louis Vézina 86cf9aa9cc Fix for #1113 2020-09-22 19:50:02 -04:00
Louis Vézina e0a62b9fe0 Fix for series list not getting populated with addic7ed. 2020-09-17 08:51:35 -04:00
Louis Vézina 628a4bdc9f Fix for release not split correctly with addic7ed. 2020-09-15 09:27:51 -04:00
Louis Vézina 5d6f453d3f Updated Apprise to 0.8.8 2020-09-14 08:24:45 -04:00
Louis Vézina e6b8b1ad19 Updated Apprise to 0.8.8 2020-09-14 08:24:26 -04:00
josdion 408d0cd253 subssabbz, subsunacs - fix inconsistent movie naming 2020-09-13 14:24:49 +03:00
morpheus65535 5658a7a359
Hearing impaired (#1102) 2020-09-10 14:26:37 -04:00
morpheus65535 931268e2e0
Merge pull request #1100 from kobik/development
fix(wizdom): release doesn't show in manual search results and scoring calculation
2020-09-07 16:38:21 -04:00
Bazarr be37a8112e fix(wizdom): release doesn't show in manual search results and scoring calculation 2020-09-07 23:30:01 +03:00
Louis Vézina 72041d3fd2 Fix for #1098 2020-09-06 08:43:10 -04:00
Louis Vézina 1f8194c25a Update ffsubsync 2020-09-06 08:28:38 -04:00
josdion be82117600 Fix #1089 - YIFY Subtitles server URL update 2020-08-25 19:05:33 +03:00
Louis Vézina 8940ee617d Merged upstream changes in ffsubsync 2020-08-23 22:38:13 -04:00
Louis Vézina 6ad4843cdf Multiple fixes to ffsubsync. 2020-08-19 15:23:43 -04:00
josdion 36cf8ca344 subssabbz, subsunacs, yavkanet - add frame rate to release info
- add subtitle frame rate to release info
- better handling of exceptions while dolwnloading subtitles
2020-08-16 11:01:21 +03:00
Louis Vézina e2b1726c87 Fix for #1034. 2020-08-10 08:48:03 -04:00
Louis Vézina 49dd078fa1 Updated ffsubsync to better manage access denied exception on files. 2020-08-05 07:04:01 -04:00
Louis Vézina ea097d6ec4 Improvement and simplification to subtitles synchronisation mechanism. We let the reference track selection to ffsubsync that already include an algorithm to choose the best possible track. 2020-08-04 22:42:27 -04:00
Louis Vézina b107f5f71f Rolling back cloudscraper to previous version. 2020-08-02 22:36:38 -04:00
Louis Vézina 9b048dd3ef Merge remote-tracking branch 'origin/development' into development 2020-08-02 21:21:24 -04:00
Louis Vézina 9038f0c8b6 Rolling back cloudscraper to previous version. 2020-08-02 21:21:03 -04:00
gyh1621 143b83ab3e fix zimuku provider 2020-08-02 15:17:54 +08:00
josdion a430bffe57 added tld library, fix add space after dot in domain names
- added tld library, so "Common Fixes" mod can detect domain names and won't add spaces after each dot in them.
- fix HI_before_colon_noncaps, so it won't remove http: from URLs.
2020-07-31 12:39:25 +03:00
josdion 859922b9c7 merge from Sub-Zero.bundle
merge some fixes from panal/Sub-Zero.bundle
2020-07-29 20:31:30 +03:00
josdion 1432f83bf4 added subzero mods support 2020-07-29 16:11:45 +03:00
Louis Vézina 170a3b0985 Fix for #1034. 2020-07-28 13:47:37 -04:00
Louis Vézina 37b5ad4e26 Small fix for sous-titres.eu to circumvent Cloudflare protection. 2020-07-21 22:45:23 -04:00
Louis Vézina c3dcf766b3 Updating cloudscraper 2020-07-21 22:43:40 -04:00
Louis Vézina d7873470fd Added Sous-Titres.eu provider. 2020-07-21 00:28:34 -04:00
Louis Vézina 43a5533a84 Fix for #913 (user-agent for subs4series) 2020-07-07 11:43:54 -04:00
Louis Vézina 94fc3ae8dd Fix for #915 2020-07-06 18:34:52 -04:00
Louis Vézina 4f481d16d1 Fix for #913 (subs4series only) 2020-07-06 13:55:59 -04:00
Louis Vézina f6c6e90fed Fix for #913 (subs4free only) 2020-07-06 12:38:18 -04:00
Louis Vézina d9a9c26d7e Merge branch 'development' into subsync
# Conflicts:
#	bazarr/get_subtitle.py
2020-06-14 09:33:20 -04:00
josdion 303182471c return to encoding auto detection in case the provider has set invalid encoding 2020-06-14 08:35:58 +03:00
morpheus65535 270e223107
Merge pull request #1014 from GermanG/betaseriesfix
Betaseriesfix
2020-06-12 22:03:36 -04:00
Louis Vézina a459b2d32e Added fallback to chardet if cchardet is not available. 2020-06-12 21:57:52 -04:00
Louis Vézina 9c9cbe8f19 Added on demand subtitles synchronization. 2020-06-12 15:08:44 -04:00
Louis Vézina c6548c06b7 Subsync first implementation (only after download/upload). 2020-06-10 12:04:54 -04:00
josdion d06cace2d6 Fix #886
Use the whole subtitle file to detect encoding. Seems like if trying to detect encoding only by a part of the file, is not always working. This modification will lead to worse performance, but should be more reliable.
2020-06-09 22:20:43 +03:00
josdion ca0123c036 don't check for language code if the subtitle file name is the same as the video name
if the subtitle file name is the same as the video name, it is pointless to check the language code
2020-06-09 20:11:48 +03:00
josdion ecff2dcbc6 titulky fix encoding
Remove setting of the encoding, so now it will be auto detected.
2020-06-07 20:33:50 +03:00
josdion 84ad5aaeaa fix for #914
Replace latin_1 with cp1252, as latin_1 is already in the list with its alias iso-8859-1. Don't know why cp1252 hasn't been included so far.
2020-06-04 20:24:55 +03:00
josdion 8acb488fba delete unsupported subtitle archive files from cache 2020-05-31 19:01:53 +03:00
josdion 197b84c36e subssabbz, subsunacs - reduce score of subtitles for multi-disc movie releases 2020-05-31 18:07:59 +03:00
josdion c89d542479 fix encoding problems in subtitle class
- don't use directly self._guessed_encoding, but instead call the function guessed_encoding() as the variable can be None.
- use self.guessed_encoding() only if self.encoding is not set.
2020-05-31 13:46:16 +03:00
josdion 9be6191478 set yifysubtitles video_types to movie only 2020-05-31 11:43:41 +03:00
josdion e7ccafe958 YIFY Subtitles Provider added 2020-05-30 17:26:26 +03:00
josdion a8258006b5 subsunacs - download subtitles in 7zip format 2020-05-26 20:31:32 +03:00
josdion 8a981553bf add py7zr library version 0.7.0 2020-05-26 19:52:22 +03:00
Louis Vézina 99a98a564a Merge remote-tracking branch 'origin/development' into development 2020-05-25 09:22:38 -04:00
Louis Vézina 2efa3c9f86 Fix for #729 2020-05-25 09:22:13 -04:00
Louis Vézina 7c987ac8f7 Removed unused modules. 2020-05-25 09:21:32 -04:00
josdion 91cc6b35c9 fix a compatibility issue with guessit 3, added cache support
- remove allowed_countries parameter when call guessit as it's not necessary now and in the way which it's used, it throw an exception in guessit 3
- add downloaded subtitle files to the cache
- check subtitle notes for additional inforamtion about the release
2020-05-24 13:02:34 +03:00
Mr-Quin 08aa8cae0a change isascii to isalnum 2020-05-23 13:32:47 -07:00
Louis Vézina 97b826af0d Fix for #996 2020-05-23 09:09:21 -04:00
Louis Vézina 376e13d7f1 Upgraded GuessIt to 3.0.1 2020-05-20 11:29:39 -04:00
Louis Vézina 442f5d2a5e Merge branch 'development' into hermes 2020-05-19 09:27:28 -04:00
morpheus65535 56f3eb386b
Merge pull request #988 from ngosang/feature/tvsubtitles
tvsubtitles provider: hide error message when not found
2020-05-16 09:48:26 -04:00
ngosang 55bb3791da tvsubtitles provider: hide error message when not found
Test: The Boys
2020-05-16 15:44:43 +02:00
ngosang 499ec5ac12 argenteam provider: fix null exception and improve scoring (part 2) 2020-05-16 15:43:05 +02:00
ngosang f3c3655dae argenteam provider: fix null exception and improve scoring 2020-05-16 15:27:49 +02:00
Bazarr 82b41f8115 search for season packs and stop unnecessary exceptions 2020-05-14 00:19:39 +01:00
Bazarr 392855b4eb refactor matches 2020-05-12 01:26:39 +01:00
Louis Vézina ec3fa42444 Merge branch 'development' into hermes 2020-05-10 10:42:17 -04:00
Bazarr 21f80d2f76 fixed download limit exceeded exception 2020-05-09 23:36:12 +01:00
Bazarr 989e725dd5 just added Legendasdivx to log msgs 2020-05-09 23:10:42 +01:00
Bazarr 35830abd9b don't raise an exception if compressed format is not supported 2020-05-09 23:03:34 +01:00
Louis Vézina 3394363edc Merge branch 'development' into hermes
# Conflicts:
#	bazarr/get_providers.py
#	bazarr/main.py
#	views/providers.tpl
2020-05-09 14:48:57 -04:00
Bazarr 81642e3fe2 added skip_wrong_fps match and login again if redirect due to expired session cookies 2020-05-09 18:38:27 +01:00
Bazarr f470448bf9 Improved Exceptions and code more Python3 complying 2020-05-08 15:15:52 +01:00
German Gutierrez fda6b5ef01 betaseries: removing print line used for debug 2020-05-08 14:08:17 +02:00
German Gutierrez dae68d7e8b betaseries: logging 404 errors instead of raising 2020-05-08 13:57:42 +02:00
Bazarr 41a66abe68 Throttle connections to Addic7ed provider throwing IPAddressBlocked excpetion 2020-05-08 12:28:06 +01:00
Bazarr d9982b36d9 added new IPAddressBlocked exception and cache Legendasdivx login cookies to not throttle site 2020-05-08 10:32:12 +01:00
Bazarr 075f053f17 treat exceptions when HTTPError is returned 2020-05-07 13:47:00 +01:00
Bazarr 83d81a6946 no need to import HTTPerror exception. Not treated 2020-05-07 13:09:50 +01:00
Bazarr 1cdf07884f simplified raise exceptions (raise_for_status() already raises exceptions 2020-05-07 13:07:34 +01:00
Bazarr 8da77a72eb simplig 2020-05-07 12:53:26 +01:00
Bazarr abcf03e389 fixed retries to get download link to avoid throttling 2020-05-07 12:16:25 +01:00
Louis Vézina 6fd6ee234c Merge branch 'development' into hermes
# Conflicts:
#	.gitignore
#	bazarr/main.py
2020-05-06 08:12:24 -04:00
Bazarr 8b04941a3f replaced uploader from <n/a> to anonymous when not found 2020-05-06 11:04:52 +01:00
Bazarr 2dcfc433c3 fixed Parsed Exceptios, refactored code and implemented pagination search 2020-05-05 23:39:38 +01:00
Bazarr 21bd7bc792 added uploader to legendasdivx subtitles 2020-05-03 16:27:03 +01:00
josdion 51bf6964bf subssabbz, yavkanet - prevent country detection with guessit #958 2020-05-01 19:18:16 +03:00
josdion 466aebd8c7 Fix #958 2020-05-01 18:20:04 +03:00
josdion 32bd30e3e7 reduce XMLRPC requests to opensubtitles server
- use cached token instead of logging in every time when search for subtitles
- delete authentication token in case of account modification
2020-05-01 11:23:54 +03:00
Panagiotis Koutsias 39068532bc Fixes name matching for xsubs
Fixes #947
2020-04-28 10:43:14 +03:00
josdion a37ef4a418 opensubtitles - add get_fps function
- added get_fps() function
- getting of the authentication token from the cache is fixed
2020-04-26 11:06:00 +03:00
josdion 76ec6109df subsunacs - improve provider 2020-04-26 05:08:09 +03:00
josdion 8b06629906 subssabbz - improve provider 2020-04-25 20:24:58 +03:00
josdion 7670b7eae6 yavkanet - improve provider 2020-04-25 20:04:43 +03:00
josdion 267933f106 adding capability for subtitle provider to set frame rate when loading microdvd file 2020-04-25 16:21:36 +03:00
Louis Vézina 83d226a8a0 Merge branch 'development' into hermes
# Conflicts:
#	bazarr/main.py
#	bazarr/scheduler.py
2020-04-25 09:11:05 -04:00
josdion 3b20310d86 fix inconsistent tv show naming 2020-04-21 23:16:15 +03:00
Louis Vézina c83d3eeae3 Updated tzlocal module and removed check for improperly configured time zone. 2020-04-18 20:42:27 -04:00
Louis Vézina 2abc6a8a9a Merge branch 'development' into hermes
# Conflicts:
#	views/system.tpl
2020-04-17 11:52:06 -04:00
Louis Vézina 1b0e721a9d WIP 2020-04-15 00:02:44 -04:00
josdion cd6c527d89 FIx #928 - don't raise an exception in case of unsupported archive 2020-04-14 09:40:37 +03:00
Louis Vézina 1f25fdde2f Merge branch 'development' into hermes
# Conflicts:
#	bazarr.py
#	bazarr/main.py
#	views/menu.tpl
2020-04-12 09:02:17 -04:00
Ori 8dad86c8aa wizdom: some subtitle files are empty, skip 2020-04-08 18:39:38 +03:00
Ori 9c66639828 bugfix language id in wizdom provider 2020-04-08 17:44:12 +03:00
josdion 286a216ab6 Fix #896
- Improved release info
- Remove search in alternative titles
- Read the best scored subtitles from archive
2020-04-03 20:18:44 +03:00
morpheus65535 1c7776876c
Merge pull request #901 from josdion/development
subsunacs - improve finding uploader user name
2020-03-31 20:35:30 -04:00
josdion 3e21376fe6 subsunacs - improve finding uploader user name 2020-03-31 19:29:51 +03:00
Louis Vézina 605eeced56 Fix for #898 2020-03-30 21:08:11 -04:00
Louis Vézina 70b4a6c469 Fix for #883 2020-03-30 20:18:11 -04:00
Louis Vézina d9453121a6 Merge branch 'development' into hermes
# Conflicts:
#	bazarr/main.py
#	views/episodes.tpl
#	views/movie.tpl
#	views/providers.tpl
2020-03-29 10:02:10 -04:00
morpheus65535 299af38486
Merge pull request #895 from josdion/development
subsunacs - allow txt subtitles to be downloaded
2020-03-29 08:05:17 -04:00
josdion 6d6d69d89d subsunacs - allow txt subtitles to be downloaded 2020-03-29 09:36:58 +03:00
ngosang 9fc8bfeffb subdivx: fix redirect, release info and uploader. resolves #889 2020-03-28 20:34:39 +01:00
josdion 41e84b7e3d subssabbz, subsunacs, yavkanet - fix setting of uploader
Fix problem where the last uploader is set as uploader of all subtitles.
2020-03-28 10:10:24 +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 bb59b9019f Fix for #883 2020-03-24 21:14:36 -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 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
German Gutierrez da2c5e5212 New Provider: RegieLive 2020-03-20 20:22:53 +01: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
Louis Vézina 0f85f683c2 Possible fix for #860 2020-03-18 15:33:54 -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
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 49d81aab35 Merge branch 'development' into hermes
# Conflicts:
#	bazarr/main.py
#	views/providers.tpl
#	views/settings_general.tpl
2020-03-08 10:23:39 -04:00
Louis Vézina c7c7a23f58 Fix for d5feea0b09 2020-03-08 09:50:31 -04:00
panni d5feea0b09 fix #731 2020-03-08 05:53:27 +01:00
Michiel van Baak 30a801b04d Move scandir.c header files to the correct directory 2020-03-03 14:06:25 +01:00
German Gutierrez c2614fc776 legendasdivx: adding scores to subtitles to get best match in archive 2020-02-24 16:13:30 +01:00
German Gutierrez c72366d883 legendasdivx: using guessit to pick up the right sub in archive 2020-02-24 11:06:48 +01:00
German Gutierrez 9036a0863c bsplayer: adding matches 2020-02-23 17:37:02 +01:00
Louis Vézina 261b05fd13 Merge branch 'master' into development 2020-02-16 19:40:22 -05:00
Louis Vézina fc3923ad81 Merge branch 'development' into hermes
# Conflicts:
#	bazarr/main.py
#	libs/version.txt
#	views/menu.tpl
2020-02-16 11:41:17 -05:00
Louis Vézina cc61d0188f Fix for Python 2.7 compatibility regression. 2020-02-16 10:37:55 -05:00
panni 584f4a7c04 update subliminal_patch; improve scoring; improve bsplayer; possibly fix bazarr#821 2020-02-16 05:53:32 +01:00
Louis Vézina 9455847a0e Revert "subliminal_patch: hearing impaired fix"
This reverts commit 258dc3a7
2020-02-15 11:17:57 -05:00
morpheus65535 fcfb678c22
Merge pull request #818 from mvanbaak/compileall
Fix python 3 incompatibility in libs/
2020-02-15 08:23:44 -05:00
morpheus65535 3d87c6ee15
Merge pull request #823 from GermanG/hearing_impaired_match_fix
subliminal_patch: hearing impaired fix
2020-02-15 08:01:31 -05:00
German Gutierrez 258dc3a776 subliminal_patch: hearing impaired fix 2020-02-15 12:09:14 +01:00
Michiel van Baak a412af7ef2 Remove file from js2py that upstream removed. It holds no valid code to start with 2020-02-15 11:31:15 +01:00
Michiel van Baak 40dbfa7e0b Document the manual merge of upstream PR to Js2Py 2020-02-15 11:26:58 +01:00
Michiel van Baak d2664807ab Merge PR https://github.com/PiotrDabkowski/Js2Py/pull/192/files 2020-02-15 11:25:38 +01:00
German Gutierrez 9651a63db9 betaseries: adding release info 2020-02-15 09:03:00 +01:00
Michiel van Baak da1405fdb3 Document the version of Js2Py in the tree 2020-02-13 17:58:19 +01:00
Michiel van Baak 754afe6764 Remove sessions.py from bottle-cork library. Upstream never meant for it to be included and removed it 2020-02-11 11:54:18 +01:00
Michiel van Baak e13a2db994 Move anydbm and friends to libs2/ as they are only used in python2 conditional imports 2020-02-11 10:52:09 +01:00
Louis Vézina d933108766 Merge branch 'development' into hermes
# Conflicts:
#	bazarr.py
#	bazarr/get_series.py
#	bazarr/list_subtitles.py
#	bazarr/main.py
2020-02-10 19:42:17 -05:00
Michiel van Baak 5b143e4b74 Remove unused lib cfscrape 2020-02-10 10:52:13 +01:00
Michiel van Baak 2ec35f61be Remove unused lib plex 2020-02-10 10:45:04 +01:00
Michiel van Baak e815f47e4f Remove unused lib plex_activity 2020-02-10 10:42:25 +01:00
Michiel van Baak eda8880357 subzero make_data uses unicode literals. Make it work in both python 2 and 3. 2020-02-10 10:41:17 +01:00
Michiel van Baak ecefa41c93 Remove wraptor library that is never used 2020-02-10 10:35:49 +01:00
Michiel van Baak d4dd3ca4de Use native os.scandir when available 2020-02-09 15:37:11 +01:00
morpheus65535 7c061874fb
Merge pull request #806 from GermanG/subdvix
subdivx: replacing ParseReponseError by APIThrootled
2020-02-07 15:53:45 -05:00
morpheus65535 13b62aafe0
Merge pull request #807 from GermanG/legendasdivx
Legendasdivx: adding imdb (alternative) search
2020-02-07 15:45:23 -05:00
Louis Vézina b3079bcb5a Merge remote-tracking branch 'origin/development' into development 2020-02-07 15:41:41 -05:00
Louis Vézina 187e8bdd4d Fix for #739 and #798 2020-02-07 15:41:23 -05:00
German Gutierrez e0168b7dba subdivx: retrying download when link is not class 'detalle_link' but 'link1' 2020-02-07 20:20:53 +01:00
German Gutierrez 881a16350a subdivx: replacing ParseReponseError by APIThrootled 2020-02-07 15:01:26 +01:00
German Gutierrez a00d50d520 legendasdivx: adding imdb (alternative) search 2020-02-07 09:01:43 +01:00
German Gutierrez acc30fe539 legendasdivx: wider query for better results and modifications for future improvements 2020-02-05 21:02:31 +01:00
ngosang d0c1330362 replace langdetect with guess_language-spirit. resolves #799 2020-02-04 01:09:05 +01:00
Louis Vézina a8e27a6a79 Merge branch 'development' into Flask
# Conflicts:
#	bazarr.py
#	bazarr/get_series.py
#	bazarr/main.py
#	bazarr/scheduler.py
#	views/historymovies.tpl
#	views/historyseries.tpl
#	views/menu.tpl
2020-01-31 21:54:53 -05:00
Louis Vézina f81f7ed27c Merge branch 'development'
# Conflicts:
#	bazarr/get_providers.py
#	libs/subliminal_patch/providers/titrari.py
2020-01-31 20:30:39 -05:00
ngosang 0083ae3137 code cleanup: bazarr 2020-01-31 23:47:18 +01:00
Louis Vézina 091f9270fb Merge branch 'development' into Flask
# Conflicts:
#	bazarr.py
#	bazarr/main.py
#	views/menu.tpl
#	views/providers.tpl
#	views/settings.tpl
#	views/settings_general.tpl
#	views/settings_radarr.tpl
#	views/settings_subtitles.tpl
2020-01-30 10:33:58 -05:00
Louis Vézina 83c95cc77d WIP 2020-01-29 20:07:26 -05:00
Halali 57c24a6e56 Another Possible fix for titulky provider 2020-01-27 22:11:54 +01:00
morpheus65535 e7d7ad408e
Update unix.py 2020-01-25 08:04:12 -05:00
morpheus65535 6c3a0ba354
Merge pull request #770 from IIIspaceIII/feature/provider-titrari-ro
Feature/provider titrari ro
2020-01-24 06:23:12 -05:00
Space 07b6fc2fbd Merge remote-tracking branch 'origin/feature/provider-titrari-ro' into feature/provider-titrari-ro 2020-01-24 12:06:33 +02:00
Space 1801d2555b #769
-fixed searching without imdbId
2020-01-24 12:06:18 +02:00
Halali 91101073b8 Possible fix for titulky provider 2020-01-23 22:55:04 +01:00
Louis Vézina c16ba5e17a Fix for #767 2020-01-22 20:09:32 -05:00
qxe5534 517454b2df Merge branch 'development' into feature/provider-titrari-ro
# Conflicts:
#	bazarr/get_providers.py
2020-01-20 10:25:15 +02:00
morpheus65535 6f3a282f2a
Revert "Feature/provider titrari ro" 2020-01-19 17:49:53 -05:00
Space 3cb1a33867 -added provider titrari.ro for movies 2020-01-19 22:55:56 +02:00
panni 314c1f90e5 update subliminal_patch; possibly fix bazarr#656 2020-01-19 05:30:39 +01:00
German Gutierrez 7d5fdafe0c LegendasDivxs: skipping .txt files from archived file 2020-01-18 14:20:53 +01:00
German Gutierrez 6291cf7134 removing unneeded imports from bsplayer and legendasdivx 2020-01-18 13:02:37 +01:00
German Gutierrez 304ee8766c Adding release info to bsplayer and subdvix providers 2020-01-18 12:59:14 +01:00
German Gutierrez 22ce5dc450 LegendasDivx: adding missing import ParseResponseError 2020-01-18 12:58:22 +01:00
morpheus65535 6677d20686
Quick fix for #752 2020-01-16 23:13:44 -05:00
German Gutierrez b4b7a3ed2e LegendasDivs: cleaning up debug logging 2020-01-16 21:48:38 +01:00
German Gutierrez 46b59cdae7 Provider LegendasDivx v1 2020-01-16 21:38:41 +01:00
morpheus65535 1fa9a1382b
Merge pull request #742 from GermanG/bsplayersubs
providers: adding bsplayer
2020-01-08 12:37:38 -05:00
German Gutierrez 6c3cc4be28 providers: adding bsplayer initial commit 2020-01-07 12:23:17 +01:00
Louis Vézina 97770462bd Merge branch 'development' into Flask 2019-12-28 23:58:01 -05:00
Flaxee 7bcea72053
Update unix.py 2019-12-28 09:27:32 +01:00
Moravčík, Marian 3d8fe99c66 Merge remote-tracking branch 'origin/development' into Flask
# Conflicts:
#	views/menu.tpl
2019-12-27 23:14:15 +01:00
Louis Vézina 67ad65ed76 Fix for #716. 2019-12-25 09:06:05 -05:00
Louis Vézina e4cc062dd3 Another fix for #703. 2019-12-23 21:01:18 -05:00
panni d0ccd08aef core: fix values casting 2019-12-24 02:33:39 +01:00
panni a612335a44 core: update to subliminal_patch:head; core: try and fix #660 2019-12-24 00:46:34 +01:00
panni 64fa210688 core: update to subliminal_patch:head; core: try and fix #703 2019-12-24 00:25:02 +01:00
Louis Vézina 5dc8facae7 Another fix for #709. 2019-12-23 16:42:06 -05:00
Louis Vézina d4fdee1e9f Fix for #711. 2019-12-23 14:03:31 -05:00
Louis Vézina b41affa267 Merge remote-tracking branch 'origin/development' into development 2019-12-23 12:27:10 -05:00
Louis Vézina 133787cf23 Fix for #709. 2019-12-23 12:26:49 -05:00
morpheus65535 dad4dae6a3
Merge pull request #712 from Mexx62/development
Betaseries: Use release group to choose which subtitle to download in archive
2019-12-22 10:16:16 -05:00
Mexx62 3b360db1c0 Betaseries: Use release group to choose which subtitle to download in archive 2019-12-21 22:56:45 +01:00
Louis Vézina 26b48b1759 Fix for #707. 2019-12-18 06:35:54 -05:00
Moravčík, Marian 443607a33d More work 2019-12-16 14:58:10 +01:00
Moravčík, Marian 99d58b299f Merge remote-tracking branch 'origin/morpheus' into Flask 2019-12-16 13:53:35 +01:00
Louis Vézina 8d9023af80 Small change to get output from ffprobe with Python 3.x 2019-12-14 12:37:10 -05:00
Halali 4282fe8f50 Add Cors lib and fix wizard 2019-12-10 21:39:17 +01:00
Halali 9e0a530af6 More work 2019-12-10 21:09:51 +01:00
Halali ae6bd5269c Merge remote-tracking branch 'origin/development' into Flask
# Conflicts:
#	bazarr/main.py
#	views/settings_subtitles.tpl
2019-12-10 20:57:55 +01:00
Louis Vézina 1eb174d9ef Fix for restarting since Python 3. 2019-12-06 22:40:40 -05:00
morpheus65535 28d4a79644
Merge pull request #684 from dimotsai/assrt
Allow assrt to fetch subtitles through only ISO 639-2
2019-12-03 21:16:05 -05:00
Louis Vézina 2ecd21beb0 Fix for analytics under Python 3.x. 2019-12-02 23:54:31 -05:00
Halali 66ac35d959 Add Missing libs 2019-12-02 22:46:54 +01:00
dimo d4a74581da Allow assrt to fetch subtitles through only ISO 639-2
This commit should fix issue #460
2019-12-01 10:04:04 +08:00
Louis Vézina 0f04e8a473 Patched fcache to support real move with shutil instead of os.rename. This way can move from one drive to another. 2019-11-28 06:52:06 -05:00
Moravčík, Marian 11128bee14 Add Flask to lib folder 2019-11-28 12:40:45 +01:00
Louis Vézina 8cd2224cb6 Merge remote-tracking branch 'origin/development' into development 2019-11-27 21:49:04 -05:00
Louis Vézina 304a5ff1b8 Fix for subtitles file without a language code that aren't text based. 2019-11-27 21:48:39 -05:00
Halali 9fbec327c4 Merge remote-tracking branch 'origin/development' into development 2019-11-27 23:35:59 +01:00
Halali f1596ef7ba Fix Titulky provider compatibility with Python3 2019-11-27 23:32:58 +01:00
Louis Vézina ec94960376 Patch for simpleconfigparser when running under Python 3.7x and newer. 2019-11-27 16:18:53 -05:00
Louis Vézina 5007d983e3 Removing ConfigParser2 as we don't use it anymore. 2019-11-27 14:58:43 -05:00
Louis Vézina 4a2ed8830d Merge branch 'python3' into development 2019-11-25 19:50:16 -05:00
Louis Vézina 672e69e887 Upgraded Apprise to 0.8.2. 2019-11-25 19:44:28 -05:00
Louis Vézina 1f8b5bd2e1 Upgrade Apprise to fix issue with Discord notification. 2019-11-24 20:15:55 -05:00
Louis Vézina 777913bd40 Upgrade Apprise to fix issue with Discord notification. 2019-11-24 20:15:30 -05:00
Louis Vézina 684c8009bc Fix for Addic7ed. 2019-11-15 12:38:34 -05:00
Louis Vézina a36e010d76 WIP executemany 2019-11-12 20:40:16 -05:00
Louis Vézina f5e6408195 WIP executemany 2019-11-11 19:09:40 -05:00
Louis Vézina 213163fe3e WIP 2019-11-08 14:30:58 -05:00
Louis Vézina 79baeb7c0e WIP 2019-11-08 09:57:37 -05:00
Louis Vézina 8ea82d5e5f Fix for Subscene under Python 3.x 2019-11-08 09:21:40 -05:00
Louis Vézina d92e7755d3 Fix for SubtitulamosTv in Python3. 2019-11-07 19:37:56 -05:00
Louis Vézina d31299870d Merge branch 'development' into python3
# Conflicts:
#	bazarr/list_subtitles.py
#	bazarr/main.py
2019-11-06 16:45:51 -05:00
Louis Vézina 808f87ca9c Fix for added episodes and movies not being analyzed for existing subtitles or searched for missing. 2019-11-03 08:36:10 -05:00
Louis Vézina 7f80b1de83 Merge branch 'development' into python3
# Conflicts:
#	bazarr/get_series.py
#	bazarr/list_subtitles.py
2019-10-31 13:21:49 -04:00
Louis Vézina 7977deb142 Merge remote-tracking branch 'origin/development' into development 2019-10-31 12:56:59 -04:00
Louis Vézina 3afaa501d8 Revert "Changed row factory."
This reverts commit 2565a039
2019-10-31 12:52:59 -04:00
morpheus65535 1497359681
Merge pull request #653 from gmerciel/subtitulamos-tv
Subtitulamos.tv provider
2019-10-31 09:28:13 -04:00
Louis Vézina 2565a0395f Changed row factory. 2019-10-31 06:41:34 -04:00
Gonzalo Merciel 2e645039f1 Fixed encoding issues 2019-10-30 22:57:50 -05:00
Louis Vézina 50dfacece0 Added values to debug logging of DB requests. 2019-10-29 11:43:09 -04:00
Louis Vézina fe6758858a Merge branch 'development' into python3
# Conflicts:
#	bazarr/database.py
#	bazarr/get_episodes.py
#	bazarr/get_movies.py
#	bazarr/get_series.py
#	bazarr/get_subtitle.py
#	bazarr/list_subtitles.py
#	bazarr/main.py
#	views/movie.tpl
2019-10-28 20:27:11 -04:00
Louis Vézina eca6cd0a5a Merge branch 'development' into morpheus 2019-10-28 12:08:56 -04:00
Louis Vézina 75a0a5ace4 WIP 2019-10-28 00:05:28 -04:00
Louis Vézina d4115cb65f WIP 2019-10-26 14:52:22 -04:00
Louis Vézina bcded9e45d WIP 2019-10-24 22:35:04 -04:00
morpheus65535 250db5d0f6
Merge pull request #646 from dkage/master
Update pytz and tzlocal to resolve issue with Brazil DST with timezone
2019-10-24 06:37:16 -04:00
dkage a7fba2ee1b Update pytz and tzlocal to resolve issue with Brazil DST with timezone
As Brazil does not have Daylight Saving Time anymore as decided by it's government, pytz needed to be updated to have the new data about the country timezones.
And as some in pytz calls in bazarr used tzlocal functions, that one needed also to be updated.
Works fine now, tested on Brazil - Timezone America/Sao_Paulo

This commit fixes #641
2019-10-24 02:36:49 -03:00
panni 912717dd93 core: update to subliminal_patch:head; addic7ed: fix using empty show ids list; fix completed subtitle detection for non-english languages; fix mr robot subtitle file detection 2019-10-22 12:00:50 +02:00
Louis Vézina 15575e9917 WIP 2019-10-21 22:13:37 -04:00
Louis Vézina 0968f66e3f Missing Peewee files. 2019-10-20 08:04:26 -04:00
panni 8799938b4e core: update to subliminal_patch:head; addic7ed: show ids fetching 2019-10-20 06:07:10 +02:00
Louis Vézina 995b9ac9ae Merge branch 'development' into python3
# Conflicts:
#	bazarr/get_episodes.py
#	bazarr/get_movies.py
#	bazarr/get_subtitle.py
#	bazarr/list_subtitles.py
#	bazarr/main.py
#	libs/subliminal_patch/core.py
#	libs/subliminal_patch/providers/addic7ed.py
2019-10-19 18:10:44 -04:00
panni e452394841 core: update to subliminal_patch:head; addic7ed: fix captcha solving; fix getting show list 2019-10-19 23:20:12 +02:00
Louis Vézina ae6f7117fc Major fixes to database subsystem. 2019-10-16 10:20:35 -04:00
morpheus65535 73df77984d
Fix for #630 2019-10-13 22:41:34 -04:00
Gonzalo Merciel 3d492ab4d6 Corrected release_info property.
Corrected bug with matches.
2019-10-10 17:24:13 -03:00
Gonzalo Merciel 6b91993545 Added encoding, realease_info and better matching. 2019-10-10 16:46:27 -03:00
Gonzalo Merciel f809e608e4 Added subtitulamos.tv provider. 2019-10-10 16:46:27 -03:00
Halali 7171635441 Titulky provider some changes for python v3 compatibility 2019-10-09 22:06:30 +02:00
Louis Vézina b591918e03 Moved enum to libs2 2019-10-07 21:38:28 -04:00
Louis Vézina 08139b43ed Merge branch 'development' into python3
# Conflicts:
#	bazarr/main.py
2019-10-07 17:00:52 -04:00
ngosang cdeed59584 Update Argenteam provider (https and new domain) 2019-10-07 22:00:27 +02:00
Louis Vézina a4ed73b6fc Fix for invalid language in filename. 2019-10-07 15:28:26 -04:00
Louis Vézina 2a78008ecb Drop language on all exception. 2019-10-07 15:18:28 -04:00
Louis Vézina 99e940f7a8 Drop language on all exception. 2019-10-07 15:00:26 -04:00
Louis Vézina 7c75ae7615 Fix for invalid language code. 2019-10-07 14:50:16 -04:00
Louis Vézina 90e9786546 Merge branch 'development' into python3
# Conflicts:
#	bazarr/main.py
2019-10-07 10:49:46 -04:00
Louis Vézina 7d3c6b31e7 Fix for index out of range when no extension in filename. 2019-10-07 06:55:00 -04:00
Louis Vézina afd9cd6ddb Merge branch 'development' into python3
# Conflicts:
#	bazarr/get_movies.py
#	libs/subliminal_patch/core.py
#	libs/subliminal_patch/providers/subdivx.py
#	libs/subliminal_patch/providers/titlovi.py
2019-10-05 22:57:42 -04:00
Louis Vézina d65601d9cb Fix for #605. 2019-10-05 22:48:04 -04:00
Halali b3c6def6bc Updated subliminal_path and subzero to latest dev version 2019-10-05 22:55:35 +02:00
ngosang 232eaa1981 Improve Subdivx provider, handle more exceptions 2019-10-05 15:52:45 +02:00
ngosang c96fb20663 Improve provider throttle / status to handle all exceptions 2019-10-05 15:25:04 +02:00
Louis Vézina 7e5527b420 Bug correction 2019-09-28 14:05:34 -04:00
Louis Vézina 607af5c2f5 WIP 2019-09-28 12:21:08 -04:00
Louis Vézina 59c6a269ab WIP 2019-09-28 00:22:17 -04:00
Louis Vézina ad3f37f8ac WIP 2019-09-24 06:23:53 -04:00
Louis Vézina 8227df459a WIP 2019-09-24 06:23:11 -04:00
Louis Vézina 2b2fd4e8d7 WIP 2019-09-23 16:21:24 -04:00
Louis Vézina 3df86acb85 WIP 2019-09-22 23:07:04 -04:00
Louis Vézina bcc4183ef3 WIP 2019-09-22 22:27:23 -04:00
Louis Vézina b055d89b4f Merge branch 'development' into python3
# Conflicts:
#	bazarr.py
#	bazarr/get_subtitle.py
2019-09-22 20:38:43 -04:00
Louis Vézina 9dd85eeee7 WIP 2019-09-22 20:35:12 -04:00
ngosang f8db6c31e2 Fix Subdivx provider, new webpage 2019-09-21 14:09:11 +02:00
Louis Vézina a7b40eaf79 WIP 2019-09-20 17:56:33 -04:00
Louis Vézina e7cb2a71e2 WIP 2019-09-18 21:50:20 -04:00
Louis Vézina f389c38a9c WIP 2019-09-18 11:30:46 -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
Louis Vézina 20f26c72ec Merge branch 'development' into morpheus 2019-09-08 23:01:18 -04:00
Halali 36c0d2d311 Add Titulky as private CZ,SK tracker 2019-09-08 14:46:01 +02:00
Louis Vézina 1b4e4e1495 Merge branch 'development' into morpheus
# Conflicts:
#	bazarr/get_subtitle.py
#	bazarr/main.py
#	bazarr/utils.py
2019-09-02 23:30:23 -04:00
Louis Vézina d5c0061cc9 Google Analytics implementation to get usage data in order to better understand how Bazarr is used. 2019-09-02 23:22:38 -04:00
Louis Vézina 5b96df4c40 Merge branch 'development' into morpheus
# Conflicts:
#	bazarr/get_subtitle.py
#	bazarr/main.py
#	views/movie.tpl
2019-08-25 22:20:42 -04:00
Louis Vézina 07bf13c87e Adding customized version of pyprobe to libs. 2019-08-25 22:08:13 -04:00
Louis Vézina 4b8f64a64d Merge branch 'development' into morpheus 2019-08-19 07:24:31 -04:00
Louis Vézina 9e36f4bfcf Missing files for Apprise 0.7.9. 2019-08-19 07:22:51 -04:00
Louis Vézina d37e883f2c Merge branch 'development' into morpheus
# Conflicts:
#	views/movie.tpl
2019-08-15 17:21:27 -04:00
Louis Vézina 2496660cc0 Updating Apprise to 0.7.9 in order to fix #478 and #515. 2019-08-14 12:46:21 -04:00
Louis Vézina fc757a7e54 First commit to the Peewee DataModel and add module to libs. 2019-07-29 13:03:45 -04:00
Louis Vézina 2f3cc8279f Adding CherryPy module to libs. 2019-07-29 13:02:31 -04:00
Louis Vézina c5964a9dc1 Switching back to CherryPy instead of gevent as we don't use it and moved toward threads instead. 2019-07-28 15:32:30 -04:00
panni 763d90d702 core: update to subliminal_patch:head; subscene: http: fall back to local DNS in case of NXDOMAIN; titlovi: fix querying 2019-07-27 03:25:45 +02:00
Mexx62 9cd7cfe07d Added betaseries provider (#486)
* Added betaseries provider

* Make the provider TV Shows only

* Fixed betaseries token save in wizard

* Boosted subtitles score

* Removed addic7ed_boost

* Fixed subtitle URL problem

* Changed variable names

* Change provider informations and add warning

* Reverted subliminal_patch/score.py
2019-07-18 19:21:22 -04:00
Panagiotis Koutsias 0fcef4d674 Optimizes Greek providers (#489)
* Optimizes providers

* Adds episode id in subtitle page link

* Adds episode id in subtitle page link
2019-07-13 20:29:05 -04:00
MoshiMoshi0 b56015e90b Add ability to use MediaInfo to refine video/audio properties (#479)
* Add ability to use MediaInfo to refine video/audio properties

* Remove pymediainfo from requirements.txt and add library files

* Look for .dll file if .exe was not found in get_binary

* Add pymediainfo to libs

* Switch to local MediaInfo library files

* Exit early if supported attributes are already set

* Log media info warnings to debug
2019-07-10 15:36:49 +02:00
panni 490468f7b3 core: update to subliminal_patch:head; subscene: add pt-BR support; fix unknown language code on empty response 2019-07-05 14:31:58 +02:00
panni bce41d8002 core: update to subliminal_patch:head; scandir: docker/bazarr compat, might fix #461 2019-07-05 03:25:02 +02:00
panni 3d8e8ee59b core: update to subliminal_patch:head; subscene: explicitly set account filters for languages 2019-06-23 15:28:42 +02:00
panni 702038c191 core: update to subliminal_patch:head; subscene: move login/cookies to initialization sequence 2019-06-22 16:46:56 +02:00
panni b100d4ed5c core: update to subliminal_patch:head; support file hashes even when scenename is used 2019-06-21 15:06:27 +02:00
panni 05aaf8094d core: update to subliminal_patch:head; subscene fallback for non-year results; detect downtime (raise ServiceUnavailable) 2019-06-21 04:52:27 +02:00
pannal 87f3e65bd2
Merge pull request #442 from MoshiMoshi0/development
Fix video hash not being computed when using Napisy24 provider
2019-06-21 04:07:19 +02:00
Louis Vézina 0995df6c7d Fix for #436 and #459. 2019-06-20 21:34:14 -04:00
Louis Vézina 7030651946 Added missing yaml module which is required by latest Apprise. 2019-06-07 14:40:26 -04:00
Louis Vézina 78e43f3e69 Fix for #462 2019-06-07 07:16:07 -04:00
panni a2e3650653 core: update to subliminal_patch:head; subscene stawp! 2019-06-06 01:39:33 +02:00
panni 3217a475f2 core: update to subliminal_patch:head; react on inexistent subscene endpoint if possible 2019-05-30 04:46:43 +02:00
panni 8c92599cbf core: update to subliminal_patch:head; #38 2019-05-27 12:33:39 +02:00