Commit graph

325 commits

Author SHA1 Message Date
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
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
echel0n
403c267953 Further improved memory handling of bs4 for torrent providers. 2014-07-21 16:01:46 -07:00
echel0n
6957bd0656 Possible fix for stacked provider names during backlog search.
Possible fix for anidb connection stop issues during restart/shutdown.
2014-07-17 23:16:18 -07:00
echel0n
7f20f5e27f Fixed whitelist error when editing shows, needs more code changes to fully function correctly.
Possible fix for threading exceptions.
2014-07-17 17:43:36 -07:00
echel0n
c577ff2887 Reverted back to using Shove+SQLAlchemy for storing persistent object data to avoid any more DB corruption errors. 2014-07-15 11:40:40 -07:00
echel0n
703da76d80 Fix for AniDB list downloading 2014-07-15 00:17:08 -07:00
echel0n
4a061d4dd2 AniDB now updates its xml lists daily.
Added writeback cache for both rss feeds and name parser.
2014-07-14 23:55:52 -07:00
echel0n
d02c0bd6eb Fixed issues with editing/saving custom scene exceptions.
Fixed charmap issues for anime show names.

Fixed issues with display show page and epCat key errors.

Fixed duplicate log messages for clearing provider caches.

Fixed issues with email notifier ep names not properly being encoded to UTF-8.

TVDB<->TVRAGE Indexer ID mapping is now performed on demand to be used when needed such as newznab providers can be searched with tvrage_id's and some will return tvrage_id's that later can be used to create show objects from for faster and more accurate name parsing, mapping is done via Trakt API calls.

Added stop event signals to schedualed tasks, SR now waits indefinate till task has been fully stopped before completing a restart or shutdown event.

NameParserCache is now persistent and stores 200 parsed results at any given time for quicker lookups and better performance, this helps maintain results between updates or shutdown/startup events.

Black and White lists for anime now only get used for anime shows as intended, performance gain for non-anime shows that dont need to load these lists.

Internal name cache now builds it self on demand when needed per show request plus checks if show is already in cache and if true exits routine to save time.

Schedualer and QueueItems classes are now a sub-class of threading.Thread and a stop threading event signal has been added to each.

If I forgot to list something it doesn't mean its not fixed so please test and report back if anything is wrong or has been corrected by this new release.
2014-07-14 19:00:53 -07:00
tcavallari
2c94f9dd82 Patches the enzyme lib to allow the detection of subtitles embedded into mp4/m4v files 2014-07-06 12:02:02 +02:00
echel0n
f0146f728e Lowered CPU usage even further, re-wrote daemonizer code for startups, removed misc unrequired functions from providers. 2014-07-03 07:07:07 -07:00
echel0n
12ac388dc2 Fixed startup/restart/shutdown issues on Windows, Linux, FreeBSD platforms tested.
Fixed for updating issues.

Fixed high cpu and memory usage.
2014-07-02 11:51:14 -07:00
echel0n
1fc909299d Fixed start/restart/shutdown issues including any issues with daemonizing. 2014-07-01 06:08:10 -07:00
echel0n
130daf7d0a Added trending shows feature, this allows you to choose from a wide selection of popular/trending shows with rating stats and easily add the show into SR by simply clicking the plus sign. 2014-07-01 01:49:12 -07:00
echel0n
a16bf8ca2c Fix for anidb errors 2014-06-30 09:21:21 -07:00
echel0n
2c98a5a448 Fixed "show must be added to list", regexes now check if numbers following after the series name is a date or part of the series name to properly parse and return correct show object.
Fixes TVDB and TVRAGE cache_location variable.
2014-06-29 23:20:19 -07:00
echel0n
f247499289 Fix for _parseactors function in theTVDB Indexer API 2014-06-28 14:29:58 -07:00
echel0n
9685696e36 Fix for "TypeError: 'NoneType' object is unsubscriptable" in Indexer API code 2014-06-19 10:43:51 -07:00
adam
a309b2bf1e Update anime-list.xml and animetitles.xml from https://github.com/ScudLee/anime-lists/ 2014-06-18 12:57:26 +08:00
echel0n
d73cc1cbbd Replaced cherrypy with tornado which helped resolve our memory leak issue. 2014-06-14 20:56:15 -07:00
Nils
166dffeb5a Merge pull request #582 from bikemike222/add_cookies_rss
Added cookie support to custom torrent provider
2014-06-09 00:20:37 +02:00
echel0n
97a1693abf Fixes for TVDB and TVRage API search issues. 2014-06-07 17:43:58 -07:00
echel0n
cfcc35ebcc Upgraded IMDBpy and improved performance of it.
Fixed TVDB Indexer API issues.
2014-06-07 08:33:18 -07:00
echel0n
24dfbc3f15 Quality is now set during parsing of results.
Fixed more anime regex bugs.
Fixed Indexer API issues for anime shows and unicode problems.
2014-06-07 04:06:21 -07:00
echel0n
5eabe43e48 Adding shows via TVRage fixed! 2014-06-05 12:17:49 -07:00
echel0n
e7170328aa Fix for Indexer API issues 2014-06-03 22:20:54 -07:00
echel0n
8ac0b79986 Fixes originally aired dates and times issues. Please perform a mass update of all shows after updating to this new commit to have changes take affect. 2014-06-03 21:18:21 -07:00
echel0n
e62d5ad50c Fix for nonetype being returned when trying to load data from TVDB Api for actors. 2014-06-01 22:21:09 -07:00
echel0n
893574b2ed Reverted new regex changes, not compatible with enough platforms to warrent keeping. 2014-05-31 06:16:18 -07:00
echel0n
c5811791d0 Fix for missing regex module for python2.6 users 2014-05-31 04:12:48 -07:00
echel0n
90d011990c Fix for missing regex module for python2.7 users 2014-05-31 04:04:20 -07:00
echel0n
d7396896b5 Added in regex matching with fuzzy matching.
Shows now display Indexer absolute numbering.
Improved speed of parsing search results.
Fixed episode naming issues.
2014-05-31 03:35:11 -07:00
echel0n
a92de48aec Added new show option that allows you to choose if you want to search via scene numbering or indexer numbering.
Scene numbers and scene absolute numbers now only display if prooper show options are selected.

Scene absolute numbers are now able to be set by user.

Fixed issues with user set scene numbers not correctly applying to episode objects.
2014-05-30 00:50:27 -07:00
echel0n
9dd7d58618 Fixed TVRage searches 2014-05-29 07:16:23 -07:00
echel0n
00f38a7157 Fix for new show searches 2014-05-29 07:00:41 -07:00
echel0n
e1ee01579d Fixed issues with TVDB retrieving banners and posters.
Fixed unicode issues with Indexer API's
Fixed issues with scene numbering.
Fixed issues with black and white lists for anime shows when editing a show.
2014-05-29 06:27:05 -07:00
echel0n
2dcd26e69c Update imdbpy libs to v5.0
Fixed invalid indexer id issues for TVRage shows.

Fixed issues for getting posters and backdrops for TVRage shows.

We now convert XML straight to a dict object for Indexer APIs, improved overall performance api's

Fixed issues with TVRage shows and displaying genre's properly.
2014-05-28 23:09:38 -07:00
Nils
3bca5d937e Merge pull request #586 from HakShak/dev
Fixed infinite loop in lib/rtorrent
2014-05-29 00:19:27 +02:00
echel0n
e009641804 SickRage now stores the XEM scene data to the main DB under tv_episodes for faster lookups and better linkages with epiosde objects, insures we have scene data on hand when we want it!
Adding functions to lookup scene season and ep info via scene absolute numbers.

We now try and create a show object from parsed release info before we consider it a valid parsed result to insure we even have the show in our show list, also used to validate anime releases.

Misc bug fixes here and there.
2014-05-28 14:16:03 -07:00
Nicholas Herring
370c6d6f73 Fixed infinite loop in lib/rtorrent
This code works when there is only one torrent in rtorrent. As soon as there are multiple torrents, this just spins on the same torrent IF the first torrent isn't the one it is looking for. In general this function just brute forces the server as I expect it is written for a local SCGI endpoint.

(Side note, this was my second attempt to do this, since I didn't fork properly when I stated: https://github.com/echel0n/SickRage/pull/585)
2014-05-28 15:35:56 +00:00