Commit Graph

33 Commits

Author SHA1 Message Date
echel0n 33e094a9aa Fix for issue #971 and issue #1007 - defaults to a status of UNKNOWN if a empty result is returned 2014-12-02 03:21:23 -08:00
KontiSR 47cd8b53f0 Fixed typo in searchBacklog. Introduced with search from delta functionality. 2014-09-19 10:49:37 +02:00
echel0n f5a6d45d8f Fixed unicode error 2014-09-15 12:13:16 -07:00
echel0n 9eec99cd14 Reverted backlog search nextrun changes 2014-09-15 06:42:24 -07:00
echel0n 41dbbbaa9b Fix backlog nextrun to return datetime instead of just date 2014-09-15 06:29:16 -07:00
echel0n 417047f590 Added ability to set number of days to start backlog searches from, eg 7 days would search for episodes 7 days and older 2014-09-15 01:57:50 -07:00
echel0n 2fbae22f2f Fixed BacklogSearchQueueItem show attribute error during searches 2014-09-06 22:06:11 -07:00
echel0n 59675f27ac Fixed failed download handling.
Improved search queue code.
2014-09-06 21:36:23 -07: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 5ac99b8c5c Fix for extensions being stripped off by mistake made when adding in -RP fix from few commits ago. 2014-07-21 06:29:07 -07:00
echel0n 8b5559bdef PEP8 Fix for backlog searches 2014-07-19 12:52:16 -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 a1cef0b958 Added in context to aid in garbage cleanup to help reduce memory usage. 2014-06-30 10:48:18 -07:00
Mark Rawson 4252daf098 Fix next backlog date in API / altered display of next backlog date in UI 2014-06-29 16:49:47 +01: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 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 7391a6e454 App name change in code. 2014-05-23 05:37:22 -07:00
echel0n 854de69683 Fixed find propers.
Added ability to force a find propers search.
2014-05-19 10:40:25 -07:00
echel0n a6d30ac425 Fixed potential backlog issues.
Fixed potential failed download item issues.
Added in more detailed logging for backlogs.
2014-05-15 21:55:56 -07:00
echel0n a39c881cb3 Complete re-write of backlog search.
Fixed air-by-date backlog searches.
2014-05-15 20:39:46 -07:00
echel0n 85019f07e4 Fixed backlog searches 2014-05-11 06:11:18 -07:00
echel0n 2a4f8780e2 Fixed issues with multi-threading.
Fixed issues with snatching air-by-date shows.
Fixed issues with naming patterns.
Fixed issues with invalid literals.
Fixed issues with country codes missing and causing web errors.

Fixed so many issues I can't write them all done ... :)
2014-05-08 07:04:01 -07:00
echel0n c29b29a7e7 Merge pull request #312 from WebSpider/dev-code_cleanup
Code cleanup
2014-05-03 05:24:15 -07:00
echel0n d5f183c171 Major changes made to search code, tvcache code, and name parser 2014-05-03 02:23:26 -07:00
Nils Vogels 17171dba8b Simplifying expressions 2014-05-02 13:33:06 +02:00
echel0n 1c6b0807b0 Fixed backlog issues and improved cache and provider searches, this resolves issue #298 2014-05-01 21:53:34 -07: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
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 3e3e6d961d fix_checkdates_in_the_future (itofzo)
Fix lastBacklog date in the future after correcting system time
  Fix lastTime in the future after correcting system time (not updating cache)
2014-03-11 13:22:00 -07:00
echel0n 264f852a97 Mor bugfixes to code that handles converting sickbeard.db and cache.db files to our new scheme. 2014-03-11 12:28:44 -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