Commit Graph

79 Commits

Author SHA1 Message Date
echel0n 56e2c28bad SickRage now uses a internal name cache comprised of (showlist, scene exceptions, scene names) used to search and create show objects from which is needed for parsing search results.
Scene exceptions now uses a internal cache for scene exceptions and scene season exceptions, helps reduce overhead to DB and performs faster lookups when making scene exception requests.
2014-07-03 10:30:15 -07:00
echel0n cadb2dba72 Testing fix for post-processing and search issues. 2014-07-02 12:36:00 -07:00
echel0n adb4715b3e Removed all scene exception memory caches, fetches data from DB now directly. 2014-06-30 04:09:55 -07:00
echel0n 0c57676aed Updated tornado source code.
Created custom class for rss feed parser.
2014-06-29 03:05:33 -07:00
echel0n 6c3f34fd8d Possible fix for EpisodeNotFoundByAbsoluteNumberException errors 2014-06-24 17:37:03 -07:00
echel0n 7fff3e0d63 Added zip extraction exception logging. 2014-06-24 17:02:19 -07:00
echel0n 92828eca54 Added error logging for backup zip creation. 2014-06-24 16:59:14 -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 5f7b8465d0 Fixed issue with extractZip function. 2014-06-19 10:04:16 -07:00
echel0n 2b7df8e67d Added backup and restore feature, this allows you to backup your config.ini and sickbeard.db files into a zipfile and save it to a destination of your choice and as well you can restore the same zip file later on then perform a restart to have the changes take affect automatically. Backups are saved date/time stamped. 2014-06-19 07:31:44 -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 dfe9619ddd Fix for SSL support, reverted back to CherryPy 3.23 as 3.30 is borked for SSL. 2014-06-05 21:24:43 -07:00
echel0n 34009bb9b8 MainDB is backed up before being restored now to .r* versioned backup backups 2014-06-05 16:14:57 -07:00
echel0n fc7b28a8bc Automatic DB restores now done if upgrade fails due to corrupt DB or incorrect db numbering 2014-06-05 16:11:07 -07:00
echel0n 99d129bd41 Fixes for anime regex matching 2014-05-31 22:39:24 -07:00
echel0n 34da3f53d8 Added Black and White list for release groups for anime shows.
Fixed anime show list splitter.

Added check for anime shows and providers so we don't perform searches with a provider that doesn't support the type of show genre we are searching.
2014-05-27 03:09:57 -07:00
echel0n 4da248ef9b Fixed internal indexer scene name cache which resolved issues with searching and snatching. 2014-05-26 14:06:54 -07:00
echel0n f7b11e1e98 Fixed issues with post-processing.
Fixed issue with priority post-processing, bug would allow 2nd attempt to go through even if priority settings were not selected.

Fixed issues with cache retrieval and storing of provider results, properly stored now with season and ep info converted to indexer numbering.

Fixed a bug that was caching unconverted scene numbered files for post-processing causing us to skip converting them when needed.
2014-05-26 03:42:34 -07:00
echel0n 9a3e7ab0a9 Added anime support with anidb support.
Added fanzub anime nzb provider.
Fixed NyaaTorrents anime provider.

This is in testing phase so bugs are to be expected.
2014-05-25 23:29:22 -07:00
echel0n 7391a6e454 App name change in code. 2014-05-23 05:37:22 -07:00
echel0n f5cb9ab84d Fixes issue with version update not appearing at top of page 2014-05-22 20:17:24 -07:00
echel0n dd16da1a5f Fixed cache issues.
Fixed air-by-date issues
2014-05-13 08:44:31 -07:00
echel0n 31297b9069 Added RSS Cache updater with user-settable interval from config section of web interface, updates the cache so that searches can be more instant when looking for snatches.
Updated backlog search code to re-set skipped or missed episodes to wanted.
2014-05-12 01:52:14 -07:00
Rick van Hattem 5fff336f70 Fixing issue #463 2014-05-10 14:04:13 +02: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
Peter Maciocia 36359b1547 Fix for #390, add flag to use proxy settings 2014-05-07 12:22:56 +01:00
echel0n 8a61eb1e26 Added in some sleep timers to help improve overall cpu usage 2014-05-06 14:35:37 -07:00
Nils Vogels 21b7aa2785 Only process if there is a name present 2014-05-05 23:08:10 +02:00
echel0n b33e2be047 Fixes for backlog search.
Fixes for downloading the same episode twice.
Fixes for caches.
2014-05-05 06:26:02 -07:00
echel0n a5b72dea84 Fixes issues with findpropers and airdate.
Fixes issues with unhashable dict types.
Fixes issues with 100% CPU usage.
Fixes issues with RSS feed cache.
Fixes issues with scene numbering and converting back to indexer numbering.
Fixes issues with backlog searches.
Fixes issues with season pack searches.
Fixes issues with BTN.
2014-05-04 20:08:32 -07:00
echel0n 129a8c1d7e Added cache for rss feed items.
Fixed issues with searches
2014-05-04 05:05:27 -07:00
echel0n 16441c0582 fix for issues #321 and 258 2014-05-03 05:22:50 -07:00
echel0n 75c7fbf137 Fixes issues in tvcache 2014-05-03 03:36:57 -07:00
echel0n d5f183c171 Major changes made to search code, tvcache code, and name parser 2014-05-03 02:23:26 -07:00
echel0n 3a60683327 Fixed issues with parsing release names and naming patterns including regex for sports is now more accurate then ever!
Added option under general settings to allow specifiying a default indexer to be used for adding newshows and existing shows (All, TVDB, TVRage)
2014-05-01 17:57:51 -07:00
echel0n 85a9a81f4e Fix for issue #290, Post-processing issues 2014-05-01 15:53:37 -07:00
echel0n 3cefc5be86 Fix for startup issue when using python 2.6 2014-05-01 04:38:05 -07:00
echel0n 226b930987 Merge pull request #278 from WebSpider/dev-typo_fix_237
Small typo in debug logging
2014-05-01 03:30:57 -07:00
echel0n 20bc92650b Fix for issues relating to adding existing shows and nothing happens. 2014-05-01 03:00:05 -07:00
Nils Vogels a3094bcbba Small typo in debug logging 2014-05-01 10:44:48 +02:00
echel0n 408ffa857a Fixed another bug in the cache searcher for NoneType indexerid 2014-04-30 19:04:34 -07:00
echel0n 85679e99f1 Fixed indexerid issue when searching SB for show ID 2014-04-30 18:34:05 -07:00
echel0n 9d191f6999 Fixes for post-processing issues.
Improvements made to caches for overall performance boost and more accurate matches.

Misc bug fixes applied.
2014-04-30 15:16:31 -07:00
echel0n 87b752b4e5 Re-coded the Indexer cache, cache lookups are only performed for existing shows and we don't add any cache entries unless we are Indexing the show in our database so we don't waste cpu cycles and memory.
Manual and backlog searches both search the cache first before even attempting to send a search request to a provider.

More bugs have been worked out.
2014-04-29 06:14:19 -07:00
echel0n c330bbb386 Fixed issues with post-processing, we now perform the auto-detection of the indexer in a spot that doesn't require the post-processing to start all the way from the begining allowing for less processing time to take place.
Fixed more code relating to scene converting and sports event episodes/shows.

Post-processing now checks for indexer id in the cache as well as the other normal ways it did before.
2014-04-28 21:55:59 -07:00
echel0n 3fbfed7d93 Fixes cache issues with lookups resulting in wasted cpu cycles.
Fixes issues with scene numbered releases not properly being converted before a cache lookup is performed and not being properly converted when returned from providers as a possible match for a show requested to be snatched.
2014-04-28 16:04:11 -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 2550b8c831 Couple small code fixes 2014-04-27 16:03:13 -07:00
echel0n 5772de9eec Complete re-code of season/episode search code.
Switched from using standard requests to using sessions.
Fixed bug in speedcd that was preventing config from saving.
2014-04-27 03:31:54 -07:00
echel0n e787ef8332 XEM Scene Numbering fixes.
Deepcopy thread.lock issue fixed.
Overall performance increased, searches faster and more accurate.
2014-04-26 03:37:40 -07:00