Commit graph

263 commits

Author SHA1 Message Date
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
echel0n
67bd1a9e98 Fix for daily searches and high cpu usage plus increases search speed 2014-09-15 01:28:11 -07:00
echel0n
442631105b Fix for TypeError: list indices must be integers, not str in Indexer API code 2014-09-14 18:24:08 -07:00
adam
ae786bee42 Update adba libs
Add NotificationDel, NotificationDeletedResponse

Add Notification, NotificationResponse

Add MultipleNotificationResponse

Add NoSuchNotificationResponse
2014-08-31 14:12:48 +08:00
Adam
1b16320492 Fix missing fid listing on NotifygetMessageResponse 2014-08-30 12:17:25 +08:00
Adam
c4acb54d59 Replace tabs with spaces in adba libs / PEP8 2014-08-30 12:10:19 +08:00
echel0n
00a1ebfee3 Fixed TypeError: string indices must be integers error when mapping indexer id's
Added full delete feature to mass update, removes show from SR and deletes show folder from hard drive. Remove will just delete show from SR without deleting files from hard drive

Fixed XML errors for TVRage indexer api
2014-08-29 10:05:15 -07:00
loginfliggle
62a7d9850c Update tvrage_api.py
Bugfix by viperidae

Reference:
---------------
Reference: https://sickrage.tv/forums/forum/help-support/bug-issue-reports/6224-there-was-an-error-with-the-xml-retrieved-from-tvrage-com

Quote:
----------
Had a look at the code and the xml documents...

It looks like the problem is caused by an empty <genre /> element in Results/shows/show/genres/
Line 459 of tvrage_api.py (it's 460 in my track in the previous post because of the debug statements I put in)

I assume it's because value is NoneType, gets replaced by a [NoneType] list and then tries to call '|'.join([NoneType]) when it was expecting a list of strings.

I changed this to the following and the problem appears to be resolved

Syslog extract:
----------------------
tvrage_error: There was an error with the XML retrieved from tvrage.com
First try emptying the cache folder at..
C:\Users\Josh\Documents\Programs\SickRage\cache\indexers\TVRage
If this does not resolve the issue, please try again later. If the error persists, report a bug on


2014-08-09 00:43:25 INFO     SEARCHQUEUE-BACKLOG-74608 :: [NMatrix] :: Searching for episodes we need from Top Gear Season 21
2014-08-09 00:43:25 DB       SEARCHQUEUE-BACKLOG-74608 :: [NMatrix] :: cache.db: SELECT * FROM [nmatrix] WHERE indexerid = ? AND season = ? AND episodes LIKE ? with args [74608, 21, '%|2|%']
2014-08-09 00:43:25 DB       SEARCHQUEUE-BACKLOG-74608 :: [NMatrix] :: cache.db: UPDATE lastSearch SET time = ? WHERE provider = ? with args [1407559405, 'nmatrix']
2014-08-09 00:43:25 DB       SEARCHQUEUE-BACKLOG-74608 :: [NMatrix] :: cache.db: INSERT INTO lastSearch (time, provider) VALUES (?, ?) with args [1407559405, 'nmatrix']
2014-08-09 00:43:25 DB       SEARCHQUEUE-BACKLOG-74608 :: [NMatrix] :: sickbeard.db: SELECT * FROM indexer_mapping WHERE indexer_id = ? AND indexer = ? with args [74608, 1]
2014-08-09 00:43:25 ERROR    SEARCHQUEUE-BACKLOG-74608 :: [NMatrix] :: Error while searching NMatrix, skipping: There was an error with the XML retrieved from tvrage.com
First try emptying the cache folder at..
C:\Users\Josh\Documents\Programs\SickRage\cache\indexers\TVRage
If this does not resolve the issue, please try again later. If the error persists, report a bug on

2014-08-09 00:43:25 DEBUG    SEARCHQUEUE-BACKLOG-74608 :: [NMatrix] :: Traceback (most recent call last):
  File "C:\Users\Josh\Documents\Programs\SickRage\sickbeard\search.py", line 428, in searchProviders
    searchResults = curProvider.findSearchResults(show, season, episodes, search_mode, manualSearch)
  File "C:\Users\Josh\Documents\Programs\SickRage\sickbeard\providers\generic.py", line 264, in findSearchResults
    for curString in self._get_episode_search_strings(epObj):
  File "C:\Users\Josh\Documents\Programs\SickRage\sickbeard\providers\newznab.py", line 133, in _get_episode_search_strings
    rid = helpers.mapIndexersToShow(ep_obj.show)[2]
  File "C:\Users\Josh\Documents\Programs\SickRage\sickbeard\helpers.py", line 1178, in mapIndexersToShow
    mapped_show = t[showObj.name]
  File "C:\Users\Josh\Documents\Programs\SickRage\lib\tvrage_api\tvrage_api.py", line 675, in __getitem__
    selected_series = self._getSeries(key)
  File "C:\Users\Josh\Documents\Programs\SickRage\lib\tvrage_api\tvrage_api.py", line 566, in _getSeries
    allSeries = self.search(series)
  File "C:\Users\Josh\Documents\Programs\SickRage\lib\tvrage_api\tvrage_api.py", line 557, in search
    seriesEt = self._getetsrc(self.config['url_getSeries'], self.config['params_getSeries'])
  File "C:\Users\Josh\Documents\Programs\SickRage\lib\tvrage_api\tvrage_api.py", line 500, in _getetsrc
    raise tvrage_error(errormsg)
2014-08-09 02:36:21 -04:00
echel0n
1136e5c833 Fixed IndexError: list index out of range issue 2014-08-09 01:43:02 +00:00
Jamie
18da621016 Trakt method, error checking, remove series 2014-08-09 00:07:17 +01:00
echel0n
7cb2296b6a Fixed issue with reverts to master on startup due to bug in version checker.
Fixed issues with indexerApi caching code, seemed TVRage was really the only one experiancing the problems but has been corrected for theTVDB just in case.
2014-07-28 09:03:07 -07:00
echel0n
7dc89c084f Added ability to switch branches from general settings/advanced, will perform a forced checkout of whatever branch you choose and restart automatically.
Git updates are now forced to overwrite locale changes to avoid needing to manually stash uncommited changes before being able to proceed with a update.

Fixed indexer mapping when unable to locate show on indexer that we are trying to map to.
2014-07-27 11:39:02 -07:00
echel0n
14c354b551 Added proxy support to Indexer APIs.
Provider getURL and downloadResult functions now removed and replaced with ones from helpers.py to help slim the code down plus allow more better control over request sessions.

Removed TVTumbler code.

Fixed HDBits provider.

Fixed config settings that were ment to be booleans but instead where set as str or int, should help resolve random html errors.

XEM Refresh check re-coded.

NameParser code for creating show object has been changed to only attempt at the very end once its found the bestMatch result, helps on resources and performance.
2014-07-27 03:59:21 -07:00
echel0n
de5db9be64 Added ability to set a default indexer for trakt notifier used for adding shows from watch list so that SickRage knows what indexer to set the show as.
Indexer mapping now uses indexer api calls to gather its information and then stores it to a new table called indexer_mapping for instant lookups later on.

Fixed trakt related issues for adding new shows and syncing.

Centered items at bottom of pages to just look a little nicer and fit properly.
2014-07-23 22:07:01 -07:00