1
0
mirror of https://github.com/moparisthebest/SickRage synced 2024-12-12 19:12:26 -05:00
Commit Graph

64 Commits

Author SHA1 Message Date
echel0n
2f4b4b7669 Added function to mainDB to correctly map TVRage show status to TVDB statues, resolves issues with empty statuses as well. 2014-12-13 16:29:20 -08:00
echel0n
cf35e9778c Added per-show option that allows you to set the default status that gets applied to new and missing show episodes, default is SKIPPED
Fixed issues for failed/manual snatches always failing to complete
2014-11-23 01:17:37 -08:00
Adam
fd9be53fcb Anime propers 2014-07-27 21:04:17 +08:00
echel0n
b16ff81478 Fixes for thread naming issues where provider names are getting stacked on top each other per loop iteration.
Fix for speedcd no json data issue.

Fix for DB upgrade syntax errors caused by previous commit.
2014-07-24 09:12:29 -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
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
067438b5d9 Fix for scene exception update error, please delete cache.db file for this to fix tow take affect. 2014-06-17 09:07:48 -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
cfafc0a39f Scene exceptions for anidb and xem now update once a day, thanks zoggy for pointing that out :) 2014-05-31 23:44:44 -07:00
echel0n
78c4211925 Fixed issue with scene exception updating for custom names. 2014-05-30 05:30:28 -07:00
echel0n
a92de48aec Added new show option that allows you to choose if you want to search via scene numbering or indexer numbering.
Scene numbers and scene absolute numbers now only display if prooper show options are selected.

Scene absolute numbers are now able to be set by user.

Fixed issues with user set scene numbers not correctly applying to episode objects.
2014-05-30 00:50:27 -07:00
echel0n
e009641804 SickRage now stores the XEM scene data to the main DB under tv_episodes for faster lookups and better linkages with epiosde objects, insures we have scene data on hand when we want it!
Adding functions to lookup scene season and ep info via scene absolute numbers.

We now try and create a show object from parsed release info before we consider it a valid parsed result to insure we even have the show in our show list, also used to validate anime releases.

Misc bug fixes here and there.
2014-05-28 14:16:03 -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
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
9914523f64 Correctly sets episodes past current date to UNAIRED if episode status is set to SKIPPED or WANTED so that manually snatched pre-release episodes do not get effected. 2014-05-20 12:24:20 -07:00
echel0n
3517952536 Fix to insure pre-release downloads/snatches don't get reset back to unaired. 2014-05-20 12:02:10 -07:00
echel0n
cf18b3eec8 Fix to ensure unaired fix for mainDB only happens for shows without a already set UNAIRED status 2014-05-18 10:19:51 -07:00
echel0n
1195e07f7b Fixes issues with episodes that have been set to a WANTED status but have a airdate in the future past current date.
Fixes issues with daily search so it only searches for shows between 1 week ago and current date.
2014-05-18 10:12:12 -07:00
echel0n
25e2430820 Added code to check and confirm that a daily search was performed on previous cache results before we go ahead with clearing the cache and wasting results that could hold potential items to be snatched. 2014-05-15 00:20:00 -07:00
echel0n
7d6e73f026 Fix for migration issues 2014-05-12 12:18:27 -07:00
echel0n
c373844d87 Fixes issues with indexer_id never being added into tv_shows table when at a db version of 15 or higher 2014-05-06 17:49:03 -07:00
echel0n
fe10a4551e Fixed issue with main database migration numbering 2014-05-06 17:13:58 -07:00
echel0n
09dd1b6db2 Fixed main database structure to line up with original sickbeard structure so that migrating users get our database modifications migrated in without issues plus I've updated our main database structure to reflect all our recent changes so that new fresh installs dont have to go through the migration process 2014-05-06 17:03:55 -07:00
echel0n
ee6e55aa88 Fix for missing column 'subtitles' during migration from other forks.
Fix for invalid literals when searching for episodes
2014-05-06 16:11:56 -07:00
echel0n
886753b766 Fix for missing indexer_id during migration from other forks 2014-05-06 15:54:04 -07:00
echel0n
afde3b4c28 Fixes issues #333 and problems with converting str to int via prettyName func 2014-05-03 15:29:00 -07:00
echel0n
c2e79bf031 Fixed inital scene numbering database check to look for a value of -1 before updating to insure this record gets done at startup once and once only 2014-05-03 04:06:11 -07:00
echel0n
e8fc45058f Test fix #3 2014-05-03 03:54:50 -07:00
echel0n
9fc07617f1 Fix for NoneType object error 2014-05-03 03:41:56 -07:00
echel0n
580afec2a7 Fixes more non-sense issues 2014-05-03 03:15:18 -07:00
echel0n
233667c6d1 Fixes for db scene numbering fix 2014-05-03 03:11:52 -07:00
echel0n
1c56876ecc Fixed unicode issues 2014-05-03 02:34:53 -07:00
echel0n
d5f183c171 Major changes made to search code, tvcache code, and name parser 2014-05-03 02:23:26 -07:00
echel0n
dbe7e019f6 Cache issue fixes.
Naming Pattern issues fixed.
Regex patterns cleaned up.
Misc bug fixes.
2014-04-29 07:44:13 -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
c945726f05 Fixed subliminal issues.
Added ignore/required words option to bet set individually for each show.
Fixed issue with global ignore words not properly matching against releases.
Fixed issue with
2014-04-23 22:18:16 -07:00
echel0n
ca45ec5064 Fixed migration issues for TPB->TVRAGE 2014-04-22 16:09:29 -07:00
echel0n
a7ae6a1977 Fix for missing indexes 2014-04-22 13:15:47 -07:00
echel0n
f54a6e25b2 Fixes issues with tvdb and tvrage api content attribute not found 2014-04-22 12:15:15 -07:00
echel0n
fdfc8eb219 Fixes missing indexes for tv_shows and tv_episodes tables 2014-04-22 11:32:45 -07:00
echel0n
5dbfc81bb2 Fixes other temp tables that may have been left behind from a bad migration of the db 2014-04-22 10:57:37 -07:00
echel0n
bc79c93018 Fixes issue with previous db migrations that failed and left behind tables that should have been dropped. 2014-04-22 10:52:14 -07:00
echel0n
e7cf923cc0 Removes primary keys and unique keys from xem_numbering table in cache.db 2014-04-22 03:30:18 -07:00
echel0n
b30ef51b22 Fixed issue with columns not being unique for xem_numbering table. 2014-04-21 22:56:30 -07:00
echel0n
9ab143dde7 Testing fix for unique index error on xem_numbering table in cache database 2014-04-21 19:33:48 -07:00
echel0n
97db8fd408 Fixed IntegrityError caused by primary key not being unique 2014-03-27 19:18:39 -07:00
echel0n
872389d055 New show search code changed to optimize for quicker searches
Increased mainDB version to 28
2014-03-25 11:01:21 -07:00
echel0n
e255e44462 Changed to mass action for db indexer convert code 2014-03-25 00:05:23 -07:00