1
0
mirror of https://github.com/moparisthebest/SickRage synced 2024-11-11 03:45:01 -05:00
Commit Graph

48 Commits

Author SHA1 Message Date
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
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
84fe4f0aeb Added back tvrage_name and tvrage_id to mirror show_name and indexer_id so that other apps that need those values have them available.
Cleaned up video html in display shows.
2014-07-11 18:38:22 -07:00
echel0n
13f12b2635 Fixed issue with WEB Api and setting episode statuses for backlog searches. 2014-07-11 18:01:55 -07:00
echel0n
6a3c6a5be4 Added anime and scene params to WEBApi for adding new shows. 2014-07-11 10:45:45 -07:00
echel0n
be6c884a40 Fixed WEBApi issues for adding new shows. 2014-07-11 10:42:42 -07:00
echel0n
933fad20c7 Unable to parse filename errors are now set to show via DEBUG logs only to prevent unicode chars from causing misc beeping sounds ... 2014-07-10 23:44:36 -07:00
echel0n
d6225dd8d3 Updated next episode airdate function to be run once at startup and then each time after that with show update schedualer 2014-07-09 00:49:05 -07:00
echel0n
dbe22b570b NextEpisode code modified to return the airdate ordinal instead of a ep object, faster. 2014-07-08 23:07:26 -07:00
echel0n
58788f52e5 Corrected API to work with new nextepisode function code changes. 2014-07-08 22:53:51 -07:00
echel0n
74f73bcc34 New event queue system in place, currently handles shutdown and restart calls.
Fixed ctrl-c issues with new event queue system.
Added a sleep timer to the NameParser class to help lower cpu usage spikes.
2014-07-08 15:26:26 -07:00
echel0n
2e8c8a262f Fix for api builder. 2014-06-30 09:37:42 -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
96fa0953e3 Fixed issues with popup notifications. 2014-06-29 20:58:34 -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
784b8d7179 Fixed webAPI, function arguments updated to reflect previous code changes. 2014-06-19 15:46:41 -07:00
echel0n
07685f4295 Fixed issues with webroot settings and reverse proxies.
Fixed issues with WebAPI and WebAPI builder.
2014-06-19 08:47:28 -07:00
echel0n
acadce4d96 Fix for setting status via episode status manager 2014-06-19 01:37:44 -07:00
echel0n
0ae8b5429b WebAPI showPosters fixed! 2014-06-18 10:06:06 -07:00
echel0n
bd582d18d0 Fix for showPoster() api calls 2014-06-18 09:28:03 -07:00
echel0n
0e962f83cb Fix for feedcache logging.
Fix for adding new and existing shows.
Fix for static content.
2014-06-18 08:06:50 -07:00
echel0n
d8358882de Fixed issues with restarts and updates. 2014-06-15 22:45:52 -07:00
echel0n
23e2a483b5 Fixed API code to work with tornado. 2014-06-15 14:45:09 -07:00
echel0n
d73cc1cbbd Replaced cherrypy with tornado which helped resolve our memory leak issue. 2014-06-14 20:56:15 -07:00
echel0n
997896a540 Fix for transactionals and None Types in sql lists 2014-05-30 04:42:31 -07:00
echel0n
70e7f1bfce Fixed issues with scene numbering being overwritten by ep objects.
Converted more object saves to database to use transactionals, better performance.
2014-05-30 03:01:49 -07:00
echel0n
3b6534ca1d Fix for issues relating to webAPI and episode searching. 2014-05-23 10:05:44 -07:00
echel0n
7391a6e454 App name change in code. 2014-05-23 05:37:22 -07:00
echel0n
1398c38275 Fix for manual and backlog download/search issues.
Removed multi-threading as it was more problems then usefull for now.

Added in match & snatch, any quality from initial quality settings gets downloaded first and does not continue searching, if archive qualities exist it'll stop once it hits max quality from said list.
2014-05-11 05:51:39 -07:00
Nils Vogels
17171dba8b Simplifying expressions 2014-05-02 13:33:06 +02:00
Nils Vogels
dad75ae09b Indent fixes 2014-05-02 13:01:42 +02:00
root
be2d71d1d4 Fix API history request 2014-04-29 09:37:27 +02:00
root
5abd9b2f97 Now returns both tvdbid and indexerid for 'future', 'history', 'sb.searchtvdb' and 'shows' 2014-04-28 17:56:40 +02:00
root
f0cb9177fb API now accepts either indexerid or tvdbid for backward compability with third party applications 2014-04-28 15:59:01 +02:00
echel0n
5e38813a73 Added sports feature, acts just like air_by_date except allows us to control the date pattern to match events that air_by_date could not.
Custome sports naming patterns can be set now as well.

Fixed issues with FINDPROPERS.

Fixed issues with session connections.

Cleaned up code.
2014-04-28 02:15:29 -07:00
joshjowen
97088b3453 WebApi addshow and add existing fixes 2014-04-26 09:39:53 +10:00
joshjowen
c86bb23c01 WebApi addshow and add existing fixes 2014-04-26 09:14:24 +10:00
joshjowen
c2e3cd8689 Fixed addshow and addexisting Api commands to work with indexer 2014-04-25 15:49:28 +10:00
echel0n
8d9d62caf5 Updated sumbliminal.
Fixed issue #52
2014-04-23 20:22:21 -07:00
echel0n
e171aa1c10 Conditional check bugfixes 2014-04-02 07:23:17 -07:00
echel0n
8004685d3f Re-wrote the indexerApi wrapper, was causing a bottlekneck
Fixed bug when show folder is deleted before being deleted from SB
New Show searches now confirm results have a valid firstaired date
2014-03-26 12:28:46 -07:00
echel0n
95d7d728e0 Re-write of Indexer API wrapper
Re-write of New Show seearch function
Re-write of Existing show search helper function for determining indexer/indexerid
Massive code cleanup and more bugs found and fixed
Indexer code fully modualized for future proofing
2014-03-24 22:57:24 -07:00
echel0n
10637f8f29 Code Clean up and regex fix for "no repeats" error (reverted from commit 8ecd5a196d) 2014-03-20 11:03:22 -07:00
echel0n
8ecd5a196d Code cleanup and regex fix for "no repeats" error 2014-03-20 10:51:59 -07:00
echel0n
f2bbe76271 Code improvements for the indexer API handler and a few code cleanups as well. 2014-03-11 22:28:30 -07:00
echel0n
0d9fbc1ad7 Welcome to our SickBeard-TVRage Edition ...
This version of SickBeard uses both TVDB and TVRage to search and gather it's series data from allowing you to now have access to and download shows that you couldn't before because of being locked into only what TheTVDB had to offer.

Also this edition is based off the code we used in our XEM editon so it does come with scene numbering support as well as all the other features our XEM edition has to offer.

Please before using this with your existing database (sickbeard.db) please make a backup copy of it and delete any other database files such as cache.db and failed.db if present, we HIGHLY recommend starting out with no database files at all to make this a fresh start but the choice is at your own risk!

Enjoy!
2014-03-09 22:39:12 -07:00