Commit graph

276 commits

Author SHA1 Message Date
Prinz23
9b3af8b84a Change optimise TheTVDB processes, 40% to 66% saved adding new and existing shows, 40% to 50% saved per show update.
Change improve shows with more episodes gain largest reductions in time spent processing.
Change when using "Add new show" reduce search time outs.
Change always allow incomplete show data.
Remove redundant config/general/"Allow incomplete show data".
2016-09-24 02:09:53 +01:00
Prinz23
d3a7f0ff5e Add smart logic to reduce api hits to newznab server types and improve how nzbs are downloaded.
Add newznab smart logic to avoid missing releases when there are a great many recent releases.
Change improve performance by using newznab server advertised capabilities.
Change config/providers newznab to display only non-default categories.
Change use scene season for wanted segment in backlog if show is scene numbering.
Change combine Manage Searches / Backlog Search / Limited and Full to Force.
Change consolidate limited and full backlog.
Change config / Search / Backlog search frequency to instead spread backlog searches over a number of days.
Change migrate minimum used value for search frequency into new minimum 7 for search spread.
Change restrict nzb providers to 1 backlog batch run per day.
Add to Config/Search/Unaired episodes/Allow episodes that are released early.
Add to Config/Search/Unaired episodes/Use specific api requests to search for early episode releases.
Add use related ids for newznab searches to increase search efficiency.
Add periodic update of related show ids.
Change terminology Edit Show/"Post processing" tab name to "Other".
Add advanced feature "Related show IDs" to Edit Show/Other used for finding episodes and TV info.
Add search info source image links to those that have zero id under Edit Show/Other/"Related show IDs".
Add "set master" button to Edit Show/Other/"Related show IDs" for info source that can be changed.
Change terminology displayShow "Indexers" to "Links" to cover internal and web links.
Change add related show info sources on displayShow page.
Change don't display "temporarily" defunct TVRage image link on displayShow pages unless it is master info source.
Change if a defunct info source is the master of a show then present a link on displayShow to edit related show IDs.
Change simplify the next backlog search run time display in the page footer.
Change try ssl when fetching data thetvdb, imdb, trakt, scene exception.
Change improve reliability to Trakt notifier by using show related id support.
Change improve config/providers newznab categories layout.
Change show loaded log message at start up and include info source.
Change if episode has no airdate then set status to unaired (was skipped).

Technical
Change move scene_exceptions table from cache.db to sickbeard.db.
Add related ids to show obj.
Add use of mapped indexer ids for newznab.
Add indexer to sql in wanted_eps.
Add aired in (scene) season for wanted episodes.
Add need_anime, need_sports, need_sd, need_hd, need_uhd to wanted episodes and added as parameter to update_providers.
Add fix for lib lockfile/mkdirlockfile.
Add set master TV info source logic.
Change harden ui input validation.
Add per action dialog confirmation.
Change to reload page under more events.
Change implement "Mark all added episodes Wanted to search for releases" when setting new info source.
2016-09-21 17:50:27 +01:00
Prinz23
24afe020d8 Add strict Python version check (>= 2.7.9 and < 3.0), ** exit ** if incorrect version. 2016-08-23 17:18:23 +01:00
JackDandy
48a27e57a0 Add detection of password protected rars with config/Post Processing/'Unpack downloads' enabled.
Change post process to cleanup filenames with config/Post Processing/'Unpack downloads' enabled.
Change post process to join incrementally named (i.e. file.001 to file.nnn) split files.
Change replace unrar2 lib with rarfile 3.0 and UnRAR.exe 5.40 beta 4 freeware.
Change post process "Copy" to delete redundant files after use.
2016-08-22 16:09:07 +01:00
JackDandy
5519fd7e13 Update IMDb 5.0 to 5.1dev20160106 2016-05-01 20:23:01 +01:00
Prinz23
820594505b Change handle all Hachoir library parser errors and replace its Unicode enforcement.
Allow episode status "Skipped" to be changed to "Downloaded".
Allow found "Skipped" episode files to be set "Unknown" quality.
2016-02-09 22:43:35 +00:00
Prinz23
cee865461c Change move dateutil-zoneinfo.tar.gz file to data files /cache.
Add dateutil library hack for new location.
2016-02-06 23:45:58 +00:00
JackDandy
64b9bba47f Add backports_abc 0.4 and singledispatch 3.4.0.3. 2016-01-28 03:33:50 +00:00
JackDandy
715a1aa101 Update Six compatibility library 1.9.0 (r400) to 1.10.0 (r405). 2016-01-12 03:43:32 +00:00
JackDandy
717ef25da5 Update SimpleJSON library 3.8.0 (a37a9bd) to 3.8.1 (6022794). 2016-01-12 03:39:42 +00:00
JackDandy
6b80f1cf52 Update Requests library 2.7.0 (5d6d1bc) to 2.9.1 (a1c9b84). 2016-01-12 03:35:22 +00:00
JackDandy
75cdf710aa Update profilehooks 1.4 to 1.8.2.dev0 (ee3f1a8). 2016-01-12 03:31:43 +00:00
JackDandy
8c026d7977 Update html5lib 0.999 to 0.99999999/1.0b9 (46dae3d). 2016-01-12 03:25:00 +00:00
JackDandy
66ab3c2acd Update Hachoir library 1.3.4 (r1383) to 1.3.4 (r1435). 2016-01-12 03:21:47 +00:00
JackDandy
fb599d70ec Update dateutil library 2.4.2 (083f666) to 2.4.2 (d4baf97). 2016-01-12 03:18:22 +00:00
JackDandy
a0b42a335c Update chardet packages 2.3.0 (26982c5) to 2.3.0 (d7fae98). 2016-01-12 03:14:52 +00:00
JackDandy
17220a1ce9 Update Certifi to 2015.11.20.1 (385476b). 2016-01-12 03:10:58 +00:00
JackDandy
902fbc652e Update cachecontrol library 0.11.2 to 0.11.5. 2016-01-12 03:07:19 +00:00
JackDandy
4d47258e94 Update backports/ssl_match_hostname 3.4.0.2 to 3.5.0.1 (r18). 2016-01-12 02:59:59 +00:00
JackDandy
7c0c75fc99 Update Beautiful Soup 4.4.0 (r390) to 4.4.0 (r397). 2016-01-12 02:56:04 +00:00
JackDandy
a959c9c688 Remove redundant MultipartPostHandler. 2016-01-12 02:50:54 +00:00
JackDandy
ea1a8f6df2 Update change to suppress reporting of Tornado exception error 1 to updated package (ref:hacks.txt). 2016-01-12 02:39:49 +00:00
JackDandy
f0b81ff846 Update Tornado Web Server 4.3.dev1 (1b6157d) to 4.4.dev1 (c2b4d05). 2016-01-12 02:39:48 +00:00
JackDandy
2fd30411e6 Update unidecode library 0.04.11 to 0.04.18 (fd57cbf). 2016-01-12 02:31:35 +00:00
JackDandy
a03f2844f3 Update xmltodict library 0.9.2 (579a005) to 0.9.2 (eac0031). 2016-01-12 02:26:29 +00:00
Prinz23
b3be940d44 Add multiple Trakt account support to Config/Notifications/Social.
Add setting to Trakt notification to update collection with downloaded episode info.
Add Most Watched, Collected during the last month on Trakt.
Change Add from Trakt/"Shows:" with Anticipated, Popular views.
Change improve robustness of Trakt communications.
Change Trakt notifier logo.
Change pep8 and cleanup.
2015-12-22 12:56:17 +00:00
JackDandy
43778d8edd Change providers, add some, remove one, fix a snatch issue, rework ignore/require words, refactor code.
Add BitMeTV torrent provider.
Add TVChaosUK torrent provider.
Add HD-Space torrent provider.
Add Shazbat torrent provider.
Remove Animenzb provider.
Change use tvdbid for searching usenet providers.
Change consolidate global and per show ignore and require words functions.
Change "Require word" title and notes on Config Search page to properly describe its functional logic.
Add "Reject Blu-ray M2TS releases" to BTN provider.
Add regular expression capability to ignore and require words by starting wordlist with "regex:".
Add list shows with custom ignore and require words under the global counterparts on the Search Settings page.
Fix failure to search for more than one selected wanted episode.
2015-12-02 01:31:50 +00:00
JackDandy
74feb39eb6 Change Trakt notification config to only handle PIN authentication with the service.
Fix handling of an erroneous PIN input/authentication flow and clean-up the ui and results output.
Remove all other Trakt deprecated API V1 service features pending reconsideration.
2015-11-16 11:48:15 +00:00
Prinz23
96467210c8 Change replace trakt with libtrakt for API v2. 2015-11-16 11:48:13 +00:00
Adam
6880a7882b Change to throttle connection rate on thread initiation for adba library 2015-10-26 18:50:19 +08:00
JackDandy
44e08b857c Update chardet packages to 2.3.0 (9e419e9). 2015-10-20 03:18:53 +01:00
JackDandy
9540ff3b52 Update TvDB API library 1.09 with changes up to (35732c9) and some pep8 and code cleanups. 2015-10-17 21:51:35 +01:00
JackDandy
5798b14b8b Add ability to parse command line output from unix unrar version 4 and below. 2015-10-13 23:30:38 +01:00
JackDandy
24b1e193aa Fix py-unrar2 on unix to handle different date formats output by different unrar command line versions.
Fix an indentation typo.
Update HACKS.txt.
2015-10-13 04:11:45 +01:00
JackDandy
0b3cf5284e Update py-unrar2 library 99.3 to 99.6 (2fe1e98). 2015-10-13 01:54:20 +01:00
JackDandy
e6317dada5 Update dateutil library to 2.4.2 (083f666). 2015-09-13 16:50:40 +01:00
JackDandy
9469bb050f Update SimpleJSON library 3.7.3 to 3.8.0 (a37a9bd). 2015-08-22 01:15:45 +01:00
JackDandy
5cf79fb3b9 Update Requests library to 2.7.0 (5d6d1bc). 2015-08-22 01:09:44 +01:00
JackDandy
92bf6bb6d6 Change configure quiet option in Hachoir to suppress warnings. 2015-08-20 16:48:29 +01:00
JackDandy
a86dccd99d Update Hachoir library 1.3.3 to 1.3.4 (r1383) 2015-08-20 16:48:28 +01:00
JackDandy
b0525a0dd6 Update Beautiful Soup to 4.4.0 (r390). 2015-08-11 00:48:41 +01:00
Prinz23
e7803c1499 Change Trakt url to fix baseline uses (e.g. add from trending) 2015-07-16 20:18:44 +01:00
JackDandy
9197566231 Change pyNMA use of urllib to requests. 2015-07-05 20:26:18 +01:00
JackDandy
e3059c0892 Change cachecontrol library to ensure cache file exists before attempting delete. 2015-07-03 13:21:37 +01:00
JackDandy
11d1168c4f Update jsonrpclib library r20 to (b59217c). 2015-06-16 17:22:55 +01:00
Prinz23
e6d616d949 Change use metadata for zoneinfo files and remove hack of dateutil lib. 2015-06-15 15:17:27 +01:00
JackDandy
f83390e689 Update Beautiful Soup to 4.3.2 (r353). 2015-06-15 00:47:01 +01:00
JackDandy
496472cb53 Update ConfigObj library 4.6.0 to 5.1.0 (a68530a). 2015-06-14 13:55:02 +01:00
JackDandy
0fde2f779e Change zoneinfo update/loader to be compatible with dateutil 2.4.2. 2015-06-14 02:11:37 +01:00
JackDandy
dd0b810a1d Update dateutil library 2.2 to 2.4.2 (a6b8925). 2015-06-14 00:18:45 +01:00
JackDandy
6bab75036f Update xmltodict library 0.9.0 to 0.9.2 (579a005). 2015-06-14 00:05:44 +01:00
JackDandy
79e26ed290 Update SimpleJSON library 2.0.9 to 3.7.3 (0bcdf20). 2015-06-13 23:24:21 +01:00
JackDandy
47af68a43c Update Six compatibility library 1.5.2 to 1.9.0 (8a545f4). 2015-06-13 21:38:05 +01:00
Adam
cf0ee24cb4 Remove feedcache implementation and library
This functionality really isn't needed and the code offers no benefit for our needs
2015-06-06 15:16:18 +08:00
Adam
2331502861 Update feedparser library 5.1.3 to 5.2.0 (8c62940) 2015-06-06 15:07:03 +08:00
JackDandy
bcb70efed2 Update PyNMA to hybrid v1.0.
Code refactored, cleaned and PEP8 then released as v1.01 from a v1.0 base.
2015-06-06 06:15:41 +01:00
adam111316
88d9feb0ac Merge pull request #382 from adam111316/feature/FixLibraryImports
Fix to correctly load local libraries instead of system installed lib…
2015-06-06 13:00:16 +08:00
Adam
e06e671d67 Fix to correctly load local libraries instead of system installed libraries
This fix correctly places the local libraries at the start of the sys.path such that they are loaded instead of any libraries that may already exist on the users system. This prevents the issue where a system library that isn't supported by SickGear is loaded and causes errors during operation.
2015-06-05 18:12:05 +08:00
JackDandy
ca9414cec2 Update Requests library 2.7.0 (ab1f493) to 2.7.0 (8b5e457). 2015-06-05 02:22:13 +01:00
Prinz23
4292037941 Change TVRage search to full search 2015-05-26 14:41:04 +02:00
JackDandy
b518f727bb Update change to suppress HTTPS verification InsecureRequestWarning to updated package (ref:hacks.txt). 2015-05-18 22:08:55 +01:00
JackDandy
8cfe028c15 Update Requests library 2.6.2 to 2.7.0 (ab1f493) 2015-05-18 22:05:22 +01:00
JackDandy
f463ad5705 Fix issue, when adding an existing show set its default group to ensure it appears on the show list page. 2015-05-10 01:32:57 +01:00
JackDandy
c1cbaa0103 Update root certificates to release dated 2015.04.28. 2015-04-29 11:31:43 +01:00
JackDandy
837265b6f6 Change no longer fetch xml and zip and adjust code inline with library updates. 2015-04-29 02:09:06 +01:00
JackDandy
3ab45e19d5 Update cachecontrol library 0.9.3 to 0.11.2. 2015-04-29 02:09:05 +01:00
JackDandy
176913aa67 Update chardet packages 2.2.1 to 2.3.0 (ff40135). 2015-04-29 02:02:43 +01:00
JackDandy
8c1c10d6ba Update change to suppress HTTPS verification InsecureRequestWarning to updated package as listed in hacks.txt, and remove listed hacks.txt record for check that SSLv3 is available because issue was addressed by vendor. 2015-04-29 01:54:38 +01:00
JackDandy
7e3cb26d4d Update Requests library 2.4.3 to 2.6.2 (ff71b25). 2015-04-29 01:54:37 +01:00
JackDandy
58d5452dc3 Change to gracefully handle some "key not found" failures when TVDB or TVRage return "Not Found" during show updates. 2015-03-19 15:40:12 +00:00
adam
c4908144e1 Remove unused libraries fuzzywuzzy and pysrt 2015-02-23 20:38:20 +08:00
JackDandy
907334f82c Add catch exceptions when unable to cache a requests response. 2015-02-14 17:44:49 +00:00
JackDandy
77ed796092 Add detection of file-system having no support for link creation (e.g. Unraid shares). 2015-02-14 17:22:23 +00:00
Supremicus
751d034711 Remove non english subtitle providers 2015-02-06 08:40:59 +10:00
Adam
9b3fd0b7a9 Add TVRage network name standardization 2015-01-12 18:45:41 +08:00
adam
87c78b50b2 Revert "Merge pull request #19 from adam111316/feature/AddNetworkStandardization" 2014-12-07 21:22:42 +08:00
JackDandy
5f5080d3ab Merge branch 'release/0.4.0' into develop 2014-11-23 21:07:46 +00:00
Adam
7930cbcd80 Fix reduces time API endpoint Shows takes to return results.
Fix indexer mapper caching.
Fix tvrage API garbage collection.
2014-11-23 20:57:38 +00:00
Adam
a046729436 Add TVRage network name standardization 2014-11-23 22:16:23 +08:00
JackDandy
aab5476bc2 Fix adding shows from TVRage API plus sorting them in Layout Simple of Show List.
Show failed to be added from TVRage API with "show contains no season/episode data" error.
Change TVRage "Canceled/Ended" to "Ended" status to correct the sort on Simple Layout of Show List page.

Conflicts:
	CHANGES.md
2014-11-21 11:48:51 +00:00
JackDandy
4ceee9a803 Fix typo for commit "ShowData handler" i.e. SHA-1:3eec217. 2014-11-21 00:55:41 +00:00
JackDandy
64bb3d53dc Fix a handler when EpisodeData is not available in tvdb and tvrage APIs
Addresses Traceback TypeError: list indices must be integers, not str. Is sometimes raised when doing a Force Full Update.
2014-11-20 21:25:44 +00:00
JackDandy
3eec21704a Fix a handler when ShowData is not available in tvdb and tvrage APIs.
"KeyError:<show_id>" Traceback is addressed.
2014-11-20 18:46:17 +00:00
JackDandy
6da09b8db0 Change suppress HTTPS verification InsecureRequestWarning.
Suppress this potentially confusing warning because many sites use self-certified certificates.

Change a couple of lib references to be full paths.
2014-11-20 03:07:44 +00:00
JackDandy
d03f198e13 Reapply check that SSLv3 is available before use that is listed in hacks.txt to new lib.
This fixes an issue in the urllib3/PyOpenSSL contrib in requests lib that assumes ssl.protocol_sslv3 is always defined. Many systems have disabled this protocol in light of recent security issues.
2014-11-20 02:09:45 +00:00
JackDandy
556e92a730 Update Requests library 2.3.0 to 2.4.3 (9dc6602). 2014-11-20 02:05:32 +00:00
vergessen
b5b3ad980a Add check that SSLv3 is available before use.
This fixes an issue in the urllib3/PyOpenSSL contrib in requests lib that assumes ssl.protocol_sslv3 is always defined. Many systems have disabled this protocol in light of recent security issues.
2014-11-19 18:01:54 +00:00
JackDandy
abd1c453fb Remove output of source code line when warnings highlight libraries not used with IMDb.
Add a new show to observe the output.

Conflicts:
	CHANGES.md
2014-11-15 04:29:12 +00:00
Supremicus
4c8c6b21d5 Change logos, text etc. branding to SickGear. 2014-11-12 20:56:40 +00:00
adam
af1c16c4da Fix parsing utf8 data from tvdb and tvrage 2014-11-10 10:07:47 +08:00
JackDandy
9ad811432a Fix invalid use of str() in the Send2Trash library for platforms other. 2014-11-09 20:25:23 +00:00
adam
e63ffd363c Fixes unicode issues during searches on newznab providers when rid mapping occurs 2014-11-08 01:02:29 +08:00
JackDandy
ef4470bd78 Add send2trash, General Config/Send to trash, and catch show dir not found exception.
Add send2trash, a small package that sends files to the Trash (or Recycle Bin) natively and on all platforms. If send2trash is found not compatible, the user can use the default delete and manually delete failed send2trash files.
Add General Config/Misc/Send to trash for actions that involve removing shows and log rotation.
Add handling for the exception raised while deleting a show and show folder no longer exists.
2014-11-05 05:36:16 +00:00
JackDandy
6c8d72b9c1 Revert "Added gui for IMDB watchlists in Config General."
The main core of this code was lifted from Trakt code and not developed enough to be suitable for purpose given that the Trakt code isn't fully developed either. An issue found leading to this decision was that show statuses were set false instead of the expected default, however, worse was that users had no way of choosing shows to add, was not informed of what was actually going on once a URL was added to the UI, and was not offered options prior to adding shows like the normal add new show work-flow does. Basically, there are too many issues and this feature is too immature for inclusion.
2014-10-24 17:03:32 +01:00
adam111316
4bb7e3cac0 Merge pull request #876 from JackDandy/UpdateTornado
Update Tornado webserver to 4.1dev1 and add the certifi lib dependency.
2014-10-14 13:01:15 +08:00
JackDandy
2d18f5b8ab Update Tornado webserver to 4.1dev1 from 4.0b1 and add the certifi lib dependency. 2014-10-14 05:24:01 +01:00
Ofir Brukner
b0426ca12d Fixed a few bugs.
Also fixed buggy search function in webserve.
2014-10-13 00:25:06 +03:00
Ofir Brukner
14f3848872 Added all logic related to subscenter, including logo 2014-10-12 16:19:34 +03:00
KontiSR
7165df7405 Added gui for IMDB watchlists in Config General.
Used regex checks with javascript popup, for checking if valid imdb csv watchlist.
Added test/test_tvdb_api.py for testing the tvdb api for retrieving shows by IMDB id.

TODO: Help for assisting users in getting the correct IMDB url.
maybe, make interval configurable

First changes for imdb watchlist checker

Thrown the couch code overboard and created my own version of an imdb watchlist scraper

Added IMDB thread and test values with an IMDB csv url. These values should be replaced by front end UI settings.

- Removed some tracelogs when unable to download watchlist
- Added settings for enabling and setting of the watchlist csv url
TODO:
- create UI for setting from frontend
- Implement frontend and backend checks for validating the csv url

Default interval is 1 hour.
2014-09-30 12:25:11 +02:00
Adam
3c9f1d754d Fixes shows not being added from tvrage 2014-09-25 19:04:19 +08:00