Commit Graph

104 Commits

Author SHA1 Message Date
Alexandre Beloin f9a27013be Merge pull request #1270 from mwarnaar/develop
Separate providers for oldpiratebay and thepiratebay
2015-02-15 18:42:50 -05:00
Martin Warnaar 1babd3ec3b Updated kickasstorrents URL to kickass.to 2015-02-12 14:24:15 +01:00
joshjowen 3509610635 Update kat.py
Cast the string item['torrent_verified'] as an integer so that 'verified' will be False if the returned string is "0" which would otherwise be True because it is a non-empty string
2015-02-04 17:49:39 +10:00
echel0n 0da960ff51 Fixed issues with newznab custom provider categories.
Updated feedparser and added custom code to parse subcategories.
Updated jQuery and Bootstrap.
2014-12-24 07:49:15 -08:00
echel0n 4b039b0313 Added new webproxy per-provider option to allow accessing blocked content from different countries that may have restrictions, this feature is beta.
Performed misc PEP8 code cleanups.

Fixed sickragetv/sickrage-issues#213

Fixed sickragetv/sickrage-issues#217
2014-12-19 22:07:39 -08:00
Fernando fead907d7a Add kat url to the logo at Providers
As reported here: #1120
2014-12-13 21:12:55 -02:00
echel0n 2adfa81341 Fix for issue #1087 - KAT torrent provider value unpacking issue resolved. 2014-12-13 01:45:18 -08:00
echel0n d183debc4b Fixed issues regarding KAT torrent provider and feedcache 2014-12-12 18:03:23 -08:00
echel0n 3f29439ff3 Fixed issues with network timezone downloads crashing on a empty return.
Changed version checker url.
2014-12-12 08:46:03 -08:00
echel0n c678b96732 Updated KAT urls.
Fixed unicode issues with KAT, iptorrents, and TPB providers.

Fix for Newznab providers.

GIT Updates now perform auto-resets of branch on errors then attempt update again.
2014-12-11 16:09:02 -08:00
echel0n 0e34a41485 Updated KAT urls
Fix for Newznab providers
2014-12-11 15:37:08 -08:00
echel0n 7339ab9224 Updated KAT urls 2014-12-11 14:58:25 -08:00
echel0n 7f0dd9cbef Fixed small cosmetic bug with trakt trending shows page.
KAT torrent provider now gets and stores size and publishing date info.

Fixed feedcache issue with KAT torrent provider
2014-12-11 13:26:00 -08:00
echel0n a14969f4bf Fixed small cosmetic bug with trakt trending shows page.
KAT torrent provider now gets and stores size and publishing date info.
2014-12-11 13:15:08 -08:00
echel0n 02a9148025 Updated KAT provider urls.
KAT Provider now uses feedcache to get its results via rss feeds.
Fixed issues with Trakt.TV notifications and adding of trending shows
2014-12-11 11:30:57 -08:00
echel0n 589b7167c1 Improvements made to tv cache code for providers 2014-12-07 09:16:41 -08:00
echel0n f814de4c82 Fixed minor issues with provider rss caching code.
Fixed login issues with T411 provider.
Added 2 new subcats to T411 provider - 455 and 637
2014-12-05 22:16:30 -08:00
Supremicus c0d6641f04 Fix missing kat url in config_providers 2014-11-09 13:45:10 +10:00
darkdragon2000 7ba97b6b01 Update kat.py
Fix search string for air-by-date to only return episodes for the date searched.
2014-09-19 16:45:59 -04:00
rleadbetter 927e98996e Leading zero fix for Anime. 2014-09-11 06:51:02 +10:00
Andreas Älveborn ecab1c35f8 Fixed missing slash on Kat mirror URL
Changed http://www.kickmirror.com to http://www.kickmirror.com/
2014-08-31 15:16:13 +02:00
echel0n ee458bd211 Fixed AttributeError: 'NoneType' object has no attribute 'is_scene' in scene_numbering code.
Show root dirs can not be set from general config menu.
Mass editing shows now has the ability to delete root dirs as well as edit them.
Daily search no longer is restricted to just 1 week of results for searching from which now allows for replacing lower quality downloads with higher quality ones if available.
RSS Cache is updated for each provider on demand now when performing manual, failed, backlog, or daily searches.
2014-08-30 01:47:00 -07:00
echel0n 4739ab12ae Added www.kickmirror.com to list of urls to try 2014-08-25 23:09:13 -07:00
Adam 4b3a680bb3 Tidy provider code 2014-08-06 01:38:16 +08:00
echel0n b13e72e0a3 Moved code for cleaning up cache folder to seperate function located in helper.py.
Added call to cache folder cleanup during SickRage main init.

Changed a error message in rss feed class to a debug message for when url returns no data.

Moved indexer api cache files to be placed under cache folder subfolder indexers.

Moved rss feed cache files to be placed under cache folder subfolder rss.
2014-07-27 04:58:14 -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 a317ff61c2 Created a context manager wrapper for BeautifulSoup4 so that we can cleanup/clear tags/context on exit via WITH statements.
Fixed issues with torrent providers returning no results.
2014-07-21 21:26:58 -07:00
echel0n bf41ba59be Fixed sorting provider results by quality code, was causing a error. 2014-07-21 17:55:45 -07:00
echel0n 403c267953 Further improved memory handling of bs4 for torrent providers. 2014-07-21 16:01:46 -07:00
echel0n 4a29476415 Added code to perform disposal of bs4 class when finished as well as perform garbage collection afterwards, this fixed a memory leak issue SR was experiancing during backlog/manual/failed searches. 2014-07-21 15:16:04 -07:00
echel0n af0ccd65cf Fixes for a few provider issues plus passing of search_mode variable. 2014-07-20 22:47:13 -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
echel0n 09f53d3537 Filtering of torrents with 0 seeders is no longer forced, filtering now is done strictly by min seed and min leech user settins which can be set from search provider config settings. 2014-07-12 16:16:58 -07:00
echel0n 21cc92664f Fix for KickAss Torrents Invalid URL error. 2014-07-11 21:12:25 -07:00
echel0n e891e9d637 Fixed nextaired not found issues and fixed kat provider issues. 2014-07-09 09:01:12 -07:00
echel0n f925488373 KickAss torrents now uses multiple urls to try from incase one goes down. 2014-07-09 01:26:45 -07:00
echel0n 7a95b0bb14 Added new InvalidShowException to NameParser, Removed isGoodResult search check and now attached parsed result show objects and compare them against the show object we use to search with instead. 2014-07-06 06:11:04 -07: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 a1cef0b958 Added in context to aid in garbage cleanup to help reduce memory usage. 2014-06-30 10:48:18 -07:00
echel0n 75f69396d4 Reverted some changes. 2014-06-30 08:57:32 -07:00
echel0n 5e507b3849 More memory reductions and cleanups 2014-06-30 04:44:36 -07:00
echel0n 61e1e5d2c2 Fix for __exit__ DB errors 2014-06-21 18:35:57 -07:00
echel0n 7e0bb651b2 Database now closes connection after each query and reconnects if closed to ensure no more connection and locked database problems.
Fixed more internal 500 errors.
2014-06-21 15:46:59 -07:00
echel0n a1da7df12e Fixes for DB issues 2014-06-07 15:35:16 -07:00
echel0n d00d55fdfc Modified DB code to close its connection if right after its finished with it, helps performance-wise and should resolve locked db issues as well. 2014-06-07 14:32:38 -07:00
echel0n 05dcdd72d7 Fix for air-by-date/sports/anime provider searches 2014-06-06 16:55:14 -07:00
echel0n cab05efa64 Added anime search support and removed extra pipe symbole from search string. 2014-06-06 15:27:20 -07:00
echel0n 14201c71f3 Fixes issues with scene numbering being set to 0x0 after snatch is performed.
Fixes issues with KAT Provider sphinx error on searches.
2014-06-06 15:16:15 -07:00
echel0n 997896a540 Fix for transactionals and None Types in sql lists 2014-05-30 04:42:31 -07:00