Commit Graph

1189 Commits

Author SHA1 Message Date
Louis Vézina 131c43fae5 Fix for language code including script name. 2020-07-28 16:13:49 -04:00
Louis Vézina 9df87c0e2b Fix for #1036. 2020-07-28 12:23:20 -04:00
Louis Vézina ed5fb86080 Added more logging for #1035. 2020-07-28 07:17:21 -04:00
Louis Vézina 0448c9d262 Fix for history logging label of synced subtitles based on unknown language audio track. 2020-07-27 22:03:52 -04:00
Louis Vézina 9a7766c851 Version bump. 2020-07-27 22:00:53 -04:00
Louis Vézina f7c1ebdd8c Fix for restart after requirements installation. 2020-07-27 09:18:13 -04:00
Louis Vézina 30df4a8a2f Fix for #1033. 2020-07-27 07:31:15 -04:00
Louis Vézina 37802e30cc Fix for #1032. 2020-07-26 20:13:28 -04:00
Louis Vézina 13238b1218 Fix for .vtt files not being recognized as valid external subtitles. 2020-07-26 13:42:41 -04:00
Louis Vézina 9759425aa5 Fix for #1031. Indentation issue. 2020-07-26 09:45:25 -04:00
Louis Vézina d6ddf76b68 Fix for #1031. Still better improvement ;-) 2020-07-23 21:20:14 -04:00
Louis Vézina e47aed6490 Fix for #1031. Improvement to previous commit. 2020-07-23 18:20:58 -04:00
Louis Vézina a9da6e3343 Fix for #1031. Improvement to events sent to browser when using batch editor. 2020-07-23 14:03:04 -04:00
Louis Vézina bfd024f1f8 Added notification to Sonarr/Radarr after downloading, uploading or deleting a subtitles file to make sure a rescan is initiated and that actual subtitles get indexed by them. 2020-07-19 21:39:03 -04:00
Louis Vézina 3b96b6b6ea Added subtitles blacklisting. 2020-07-19 16:02:38 -04:00
Louis Vézina e14d2f45de Added subtitles id to history tables for future usage. 2020-07-14 15:16:20 -04:00
Louis Vézina bf5026151f Fix for wanted pages. 2020-07-13 13:59:11 -04:00
Louis Vézina 72b6fd62a0 Added filter to exclude episodes based on series type as defined in Sonarr. 2020-07-13 10:57:43 -04:00
Louis Vézina 15e3fcaca9 Added filter to exclude episodes or movies based on monitored status or tags. 2020-07-12 16:37:20 -04:00
Louis Vézina 254e99531e Fix for movies resolution not properly imported from Radarr. 2020-07-08 22:25:57 -04:00
Louis Vézina 00cecaab94 Fix for #1024 2020-07-05 09:16:17 -04:00
Louis Vézina 33dc89b487 Fix for manual search when all providers are throttled. 2020-07-04 09:59:26 -04:00
Louis Vézina 1daf4f6e3a WIP 2020-06-26 13:29:08 -04:00
Louis Vézina 78c40aab23 WIP 2020-06-26 11:28:49 -04:00
Louis Vézina d0d3a0a3d9 WIP 2020-06-25 06:33:48 -04:00
Louis Vézina 487434c9fc Back-end part of path mappings browser. 2020-06-20 09:03:48 -04:00
Louis Vézina 1cfc193758 Added history statistics 2020-06-19 09:18:48 -04:00
Louis Vézina aac4b56349 Fix for #1019 2020-06-17 09:50:14 -04:00
Louis Vézina e324f4ea93 Merge branch 'subsync' into development 2020-06-17 06:32:24 -04:00
Louis Vézina 0577f69eff Improved logging to better see what subtitles wasn't synced. 2020-06-16 15:25:43 -04:00
Louis Vézina 02255828bc Fix for missing GA visitor config 2020-06-16 14:33:39 -04:00
Louis Vézina 143a15693a Fixed missing attribute. 2020-06-16 10:24:28 -04:00
Louis Vézina 8acd735fcc Fixed missing attribute. 2020-06-16 07:02:16 -04:00
Louis Vézina e66fb89eec Added better logging to history when syncing. 2020-06-15 22:40:08 -04:00
Louis Vézina d9a9c26d7e Merge branch 'development' into subsync
# Conflicts:
#	bazarr/get_subtitle.py
2020-06-14 09:33:20 -04:00
Louis Vézina 9c9cbe8f19 Added on demand subtitles synchronization. 2020-06-12 15:08:44 -04:00
Louis Vézina c4d199dc5b Typo 2020-06-10 15:47: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
Moravčík, Marian 183fc8f7d3 Post-Processing add missing logs 2020-06-08 08:35:08 +02:00
Halali 957a9e2310 Post-Processing Score tag Added Fix type to string 2020-06-07 14:25:08 +02:00
Halali 9bd725beb2 Post-Processing Score tag Added 2020-06-07 14:00:42 +02:00
Louis Vézina f79faaa5c5 Merge remote-tracking branch 'origin/development' into development 2020-06-03 06:42:20 -04:00
Louis Vézina 37dff31e5f Typo 2020-06-03 06:39:31 -04:00
josdion 727ceb0910 update "Show Only Desired Languages" description
- update "Show Only Desired Languages" description
- improve detection of movies without selected desired languages
2020-06-01 21:06:01 +03:00
Louis Vézina 9b7e160784 Merge remote-tracking branch 'origin/development' into development 2020-05-31 21:59:48 -04:00
Louis Vézina af40005616 Fix for #1006 2020-05-31 21:59:33 -04:00
josdion 3e4a75aeca fix "Show Only Desired Languages" for movies without selected languages 2020-05-31 18:24:48 +03:00
josdion a9624fb818 added "Show Only Desired Languages" option for embedded subtitles 2020-05-31 17:41:18 +03:00
josdion a067d10352 fix restart after update 2020-05-26 21:01:17 +03:00
Moravčík, Marian 074b54685a Small fix for Pos-processing log output 2020-05-23 19:04:37 +02:00
Moravčík, Marian 85da831879 Fix Post-Processing trashold TypeError 2020-05-23 12:10:32 +02:00
Louis Vézina f4894f5341 Fix to regenerate bad APIKEY. 2020-05-22 12:49:02 -04:00
Louis Vézina f159124ca8 WIP 2020-05-20 19:29:11 -04:00
Louis Vézina 23229e205b WIP 2020-05-20 15:09:39 -04:00
Louis Vézina 51d9d6fb4f WIP 2020-05-20 11:29:49 -04:00
Louis Vézina 376e13d7f1 Upgraded GuessIt to 3.0.1 2020-05-20 11:29:39 -04:00
Louis Vézina 5b44007bbb WIP 2020-05-19 23:20:35 -04:00
Louis Vézina cc07ab5331 WIP 2020-05-19 11:39:57 -04:00
Louis Vézina f908f0d04a WIP 2020-05-19 09:27:13 -04:00
Louis Vézina 7e0c298dd7 WIP 2020-05-18 08:21:16 -04:00
Louis Vézina 4074e85b1c WIP 2020-05-17 22:22:36 -04:00
Louis Vézina cdf614192e WIP 2020-05-17 22:04:33 -04:00
Louis Vézina 1cb0799d23 WIP 2020-05-17 21:51:16 -04:00
Louis Vézina 5a93456dcd WIP 2020-05-17 21:00:08 -04:00
Louis Vézina 9235870792 WIP 2020-05-17 09:19:37 -04:00
Louis Vézina 0f823d002e WIP 2020-05-15 15:32:46 -04:00
Louis Vézina 60d5d909cf WIP 2020-05-15 15:29:07 -04:00
Louis Vézina 5177214450 WIP 2020-05-15 14:40:56 -04:00
Louis Vézina 823b4ee9b4 WIP 2020-05-15 14:12:31 -04:00
Louis Vézina 31956ed1fa WIP 2020-05-15 11:43:55 -04:00
Louis Vézina a6c34d5081 WIP 2020-05-14 21:21:09 -04:00
Louis Vézina 87d3a9f4b2 WIP 2020-05-14 11:59:32 -04:00
Louis Vézina e2fe834e1e WIP 2020-05-13 15:21:58 -04:00
Louis Vézina dce67fa874 WIP 2020-05-12 16:14:05 -04:00
Louis Vézina 8a1135565c Merge branch 'development' into hermes 2020-05-12 08:25:33 -04:00
Louis Vézina e1c9c4c415 WIP 2020-05-12 08:25:03 -04:00
Louis Vézina 1a30974cb7 WIP 2020-05-11 15:09:04 -04:00
Louis Vézina a4a5267b9c WIP 2020-05-11 13:46:34 -04:00
Bazarr 356fb745f0 Add IPAddressBlocked to VALID_THROTTLE_EXCEPTIONS 2020-05-11 15:43:20 +01:00
Louis Vézina 41b18cb5de WIP 2020-05-11 00:39:21 -04:00
Louis Vézina 89c983fbfd WIP 2020-05-10 10:56:48 -04:00
Louis Vézina ec3fa42444 Merge branch 'development' into hermes 2020-05-10 10:42:17 -04:00
Louis Vézina 7354a6d45e WIP 2020-05-10 10:36:00 -04:00
Louis Vézina a1854dbc22 WIP 2020-05-10 09:24:31 -04:00
Louis Vézina 7332acd67a WIP 2020-05-10 09:23:42 -04:00
Bazarr 963ae3354a when download limit reached, throttle wait until next day 2020-05-09 23:38:08 +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
Louis Vézina da7addac4e WIP 2020-05-08 22:23:01 -04:00
Louis Vézina 7490e73a10 WIP 2020-05-08 13:01:09 -04:00
Louis Vézina 961fae8aed WIP 2020-05-08 11:37:40 -04: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
Louis Vézina c1c7ba5dc3 WIP 2020-05-08 00:22:14 -04:00
Moravčík, Marian 106528977a WIP 2020-05-07 15:24:20 +02:00
Bazarr 075f053f17 treat exceptions when HTTPError is returned 2020-05-07 13:47:00 +01:00
Louis Vézina 9741ed2b91 WIP 2020-05-07 07:39:59 -04:00
Louis Vézina 004e7943ea Merge remote-tracking branch 'origin/hermes' into hermes 2020-05-07 07:38:25 -04:00
Moravčík, Marian 71e3877417 WIP 2020-05-07 12:29:00 +02:00
Louis Vézina 6fd6ee234c Merge branch 'development' into hermes
# Conflicts:
#	.gitignore
#	bazarr/main.py
2020-05-06 08:12:24 -04:00
Louis Vézina 018d18840e WIP 2020-05-06 08:09:41 -04:00
Louis Vézina 8718d91ba5 WIP 2020-05-05 20:09:25 -04:00
Bazarr 2dcfc433c3 fixed Parsed Exceptios, refactored code and implemented pagination search 2020-05-05 23:39:38 +01:00
josdion 5ad70d940f Fix #886
Ignore external subtitles files only if the encoding confidence is below 0.6. Hope this will fix any remaining encoding related issues.
2020-05-03 11:17:15 +03:00
Louis Vézina 9cd6a489f7 WIP 2020-05-02 22:41:03 -04: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
Louis Vézina de02f5ea10 WIP 2020-04-30 08:38:05 -04:00
Louis Vézina 6f5a55170f WIP 2020-04-29 22:24:41 -04:00
Louis Vézina bbcd70adc4 WIP 2020-04-28 22:39:30 -04:00
Louis Vézina 5b47c3e8eb WIP 2020-04-28 08:18:30 -04: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
Louis Vézina 55fb852fba Fix for ffprobe not being used correctly. 2020-04-25 08:55:12 -04:00
Louis Vézina f0e9c0f58a Fix for ffprobe not being used correctly. 2020-04-25 08:51:26 -04:00
Louis Vézina 1b6c8297dd WIP 2020-04-25 08:23:22 -04:00
Louis Vézina 62093864f2 WIP 2020-04-24 11:19:18 -04:00
Louis Vézina 67d5e2a9c2 WIP 2020-04-24 06:56:03 -04:00
morpheus65535 9bc9a03725
Update main.py 2020-04-24 06:51:08 -04:00
Aurel004 81271b52f7
Update get_subtitle.py 2020-04-23 20:12:13 +02:00
Aurel004 6b8a59bffb
Adding Post processing to manual upload
From dev branch
2020-04-23 20:06:37 +02:00
Louis Vézina 7c7c9a7b9d Fix for #939 2020-04-22 20:32:56 -04:00
Louis Vézina a3cecd6687 WIP 2020-04-22 20:07:21 -04:00
morpheus65535 8b58ce9939
Merge pull request #942 from roobre/patch-1
logging: show file error reason in log
2020-04-22 12:07:26 -04:00
Roberto Santalla 635b865b2a
logging: show file error reason in log
In case of an error occurs while saving subtitles, the cause for the error should be printed to the log file. Otherwise it becomes difficult to debug it.
2020-04-22 18:02:03 +02:00
josdion 167e4d0584 a better way to set base_url default value 2020-04-21 13:24:25 +03:00
josdion cda0feb42a set base_url default value if it's empty string in config.ini
This can happen if switching back from hermes branch as it uses empty string as a default value of base_url.
2020-04-21 12:39:50 +03:00
josdion c60a64790d add page size option for manual search results 2020-04-20 17:28:12 +03:00
josdion 6a34f2d35f release git config writer
From documentation: In Python 3, it's required to explicitly release locks and flush changes, as __del__ is not called deterministically anymore.
2020-04-19 10:18:58 +03:00
Louis Vézina 9dbbfe6395 Merge remote-tracking branch 'origin/development' into development 2020-04-18 20:42:40 -04:00
Louis Vézina c83d3eeae3 Updated tzlocal module and removed check for improperly configured time zone. 2020-04-18 20:42:27 -04:00
josdion cd25386567 guess subtitle encoding - tune up confidence 2020-04-17 22:38:47 +03: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 59c9ed1fcf Fix for PGS subtitles not ignored correctly. 2020-04-17 09:24:47 -04:00
josdion 2ca673c24c fix creation of the random api_key 2020-04-17 13:36:45 +03:00
Louis Vézina 82975e31c8 WIP 2020-04-16 07:52:35 -04:00
Louis Vézina b434ff2666 Simplify daemon mechanism. 2020-04-15 12:54:07 -04:00
Louis Vézina 1b0e721a9d WIP 2020-04-15 00:02:44 -04:00
Louis Vézina 02551f2486 Fix for shutdown/restart from UI. 2020-04-14 11:34:55 -04:00
Louis Vézina 50901a3b04 Merge branch 'development' into hermes
# Conflicts:
#	bazarr/main.py
#	views/providers.tpl
2020-04-13 23:44:47 -04:00
Louis Vézina b42887c5fa Added logging to sonarr/radarr connection testing #900. 2020-04-13 08:21:03 -04: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
Louis Vézina f44f0f41f4 Version bump 2020-04-12 08:49:28 -04:00
Louis Vézina 93b95f9936 Fix for #920. 2020-04-11 10:43:03 -04:00
Louis Vézina cab52af42e Fixed small deprecation with logging.warn 2020-04-11 08:04:14 -04:00
Louis Vézina a3723a1437 Added apikey authentication for new API. Can be passed as GET query string args or POST value named 'apikey'. 2020-04-07 12:15:04 -04:00
Louis Vézina a74b4377eb WIP 2020-04-06 17:27:36 -04:00
Louis Vézina 63b85d8e1a WIP 2020-03-31 23:11:13 -04:00
josdion 8eda31aaca Use tmdbId as a key when updating table_movies
if you delete a movie from radarr and then add it again, it will have the same tmdbId, but new radarrId. If this happens between two scans, bazarr won't be able to update the movie again. This fix should prevent this.
2020-03-29 20:08:53 +03:00
Louis Vézina 1695069319 Merge remote-tracking branch 'origin/hermes' into hermes 2020-03-29 10:03:50 -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
Louis Vézina 034c8abfc0 Added search bar functionality. 2020-03-29 09:58:32 -04:00
morpheus65535 78556a0854
Merge pull request #887 from josdion/hermes
Set default values for languages, HI and forced subtitles
2020-03-28 08:18:32 -04:00
Moravčík, Marian 43a60eca07 WIP 2020-03-26 20:37:17 +01:00
josdion be0411d50a improve character encoding detection 2020-03-26 20:10:58 +02:00
morpheus65535 92497a8822
Merge pull request #888 from josdion/development
Fix subtitle character encoding detection
2020-03-25 16:27:05 -04:00
Louis Vézina b3dfb5590b Fix for #859 2020-03-25 16:25:37 -04:00
Louis Vézina 657962fbb2 Fix for movies manual upload not getting indexed after upload. 2020-03-25 16:15:47 -04:00
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
Louis Vézina d1a94638e1 Partial fix for #729 (only Shameless (US)) 2020-03-25 00:04:32 -04:00
Louis Vézina 3ed36eeb8a WIP 2020-03-24 20:59:57 -04:00
Louis Vézina ec94b836f6 WIP 2020-03-24 08:17:03 -04:00
Louis Vézina c982e37024 Fix to embedded subs indexer. 2020-03-22 09:23:06 -04: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 dd4707176a add subtitle uploader as a column in manual search dialog 2020-03-22 11:54:54 +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 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
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
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
Louis Vézina 362691220c WIP 2020-03-08 10:32:38 -04: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
morpheus65535 9f27b949c0
Version bump 2020-03-05 12:51:21 -05:00
morpheus65535 c12c54a42a
Fix for #849 2020-03-05 12:50:54 -05:00
Louis Vézina de1fe680df Fix for #843 2020-03-01 08:51:00 -05:00
Louis Vézina fd339b5fff Fix for release update missing an import 2020-02-29 18:53:13 -05:00
Louis Vézina e0b98337b2 WIP 2020-02-26 21:08:52 -05:00
Louis Vézina ae46a0fc49 WIP 2020-02-25 16:14:15 -05:00
morpheus65535 04a0d5ffb2
Merge pull request #833 from JpF4E/master
Addition of audio language variables to post processing commands
2020-02-25 06:40:58 -05:00
Louis Vézina c96ca8fe16 WIP 2020-02-24 19:22:18 -05:00
JpF4E 8bdf2db607 Fixed manual download. 2020-02-24 14:31:40 +00:00
Louis Vézina 34f34130c6 WIP 2020-02-23 21:55:09 -05:00
Louis Vézina 5466ce42e9 WIP 2020-02-23 21:47:26 -05:00
Louis Vézina 44f090fd92 WIP 2020-02-23 10:17:49 -05:00
Louis Vézina fcbb2300a3 WIP 2020-02-23 09:25:24 -05:00
JpF4E 1af408f684 Added audio language variables to post processing command. Required to use with subsync. 2020-02-22 20:53:33 +00:00
JpF4E e5ecd17f80 Added audio language variables to post processing command. Required to use with subsync. 2020-02-22 19:29:04 +00:00
Louis Vézina aeda5a768f WIP 2020-02-22 09:11:56 -05:00
Louis Vézina 57cdd2fce9 WIP 2020-02-22 09:03:58 -05:00
Louis Vézina 8749fc13f2 WIP 2020-02-20 06:41:05 -05:00
Louis Vézina 83abf21687 WIP 2020-02-17 21:45:12 -05:00
Louis Vézina 7cfa3fe337 WIP 2020-02-17 12:54:20 -05:00