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

74 Commits

Author SHA1 Message Date
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
636bbfa2de Fixes issues with scene exception updating when editing a show, should resolve problems with it duplicating scene exception name over and over again.
Reduced DB sleep timer to increase overall performance of application.

Improved generic queue code for threading.
2014-07-19 22:29:19 -07:00
echel0n
24cd235988 "Borrowed" code from SB's post-processing routine. 2014-07-19 16:08:50 -07:00
echel0n
02c8b867c6 Fixed -RP release issues.
Removes .nzb and .torrent extensions from files for parsing purposes.
2014-07-19 15:23:01 -07:00
echel0n
9fe6b66475 Forgot to commit these 2014-07-19 06:10:02 -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
f91569ec84 Fix for post-processing and parsing errors. 2014-07-06 15:06:19 -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
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
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
f9b9fd23c2 Merge pull request #613 from JackDandy/port_add_safe_replace_smaller_but_proper
Port:Add safe replace existing file is larger but new file is proper.
2014-06-19 09:47:57 -07:00
JackDandy
821c1237b3 Port:Add safe replace existing file is larger but new file is proper. 2014-06-19 16:34:17 +01:00
oldskool
37c3354325 cherry-pick a Sickbeard pull request add an option to NOT rename .nfo to .nfo-orig
from oldskool:nfo_orig
credit to oldskool

Fixing issue 2404: Option to NOT rename .nfo to .nfo-orig

Conflicts:
	data/interfaces/default/config_postProcessing.tmpl
	sickbeard/__init__.py
	sickbeard/postProcessor.py
	sickbeard/webserve.py
2014-06-18 12:52:10 -07:00
echel0n
489a181cdb Auto-reloads app on code changes automatically detected from git.
Fixed issues with basicauth/cookies and login page.
Parse results now displayed all the time.
2014-06-16 03:44:33 -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
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
4f32ed262c No need to convert from absolute numbers to season/episode numbers twice, fixed! 2014-05-31 12:52:09 -07:00
echel0n
72b4155b0b Fixed post-processing issues for anime shows. 2014-05-31 06:43:36 -07:00
echel0n
277d630a6f Fixed issues with scene converting 2014-05-31 03:35:57 -07:00
echel0n
6ca979d51b Fix for post-processing and adding anime shows to your anidb mylist 2014-05-30 06:00:04 -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
05cca0dfe0 Fixed post-processing issues with shows being rejected and saying they didn't exist when infact they did.
Fixed a issue in our name parser code that would of resulted in searches failing completely.
2014-05-30 01:16:12 -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
JackDandy
c33b92866d Add new feature, set file date to episode aired date. 2014-05-14 13:33:36 +01:00
echel0n
b9310444e5 Fix for failed download issues.
Fix for auto-update improperly restarting.
2014-05-13 04:16:32 -07:00
echel0n
fc58a44ba2 Fixed issues with post-processing including the web 500 error.
Fixed regex matching for sports.
2014-05-08 10:10:25 -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
Nils
6d1e025445 Merge pull request #323 from WebSpider/dev-midgetspy_fixes
Midgetspy backports
2014-05-04 23:41:45 +02:00
echel0n
dfd6f38cfe Fix for scene numbering during post-processing 2014-05-03 04:10:20 -07:00
echel0n
b6f7753ec7 Fix for post-processing issue of not being enough info 2014-05-03 03:59:05 -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
d906bcc049 Attempt to get quality from snatched episode status
Backport from midgetspy
2014-05-03 00:37:41 +02:00
Nils Vogels
a843303812 Only log deletion when we're really deleting 2014-05-02 23:58:27 +02:00
echel0n
6a8bef76c9 Re-code of post-processing, insures the Indexer ID is correct so that shows don't get added with the incorrect Indexer info also no more needing to lookup said info from the Indexers making API calls so overall speed has increased as well.
Fixed issues with returning a show object when parsing release names into show names from our database.
2014-05-02 01:47:02 -07:00
echel0n
85a9a81f4e Fix for issue #290, Post-processing issues 2014-05-01 15:53:37 -07:00
echel0n
75a1e0970a Merge pull request #267 from jValdron/post-process-nonetype
Fixed 'NoneType' object has no attribute 'status' error
2014-04-30 18:48:48 -07:00
echel0n
54f769e224 Small fix for post-processing 2014-04-30 16:19:38 -07:00
Jason Valdron
4cd67aa6ec fixed post-processing uncaught exception 2014-04-30 19:26:39 -03: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
319ac2602f Fixed scene_numbering issues for shows that use scene numbers instead of TVDB numbering.
Fixed issues with local SB cache.

Fixed issues with sports naming patterns, we no longer treat sports as a airdate show and have created custom regex's to aid in finding sports related shows.
2014-04-30 05:10:13 -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
6967a8faef Code cleanup 2014-04-27 03:59:00 -07:00