Commit graph

66 commits

Author SHA1 Message Date
JackDandy
e79b7fcd93 Change improve importing show list sickbeard.db files. 2016-06-20 02:46:10 +01:00
JackDandy
291e557899 Fix dbs that should not have been imported to work. 2016-03-17 19:09:07 +00:00
Prinz23
e55462f47b Fix ensures internal buffer of a downloaded file is written to disk. 2016-03-16 18:28:58 +00:00
JackDandy
fed5e11532 Change first run after install to set up the main db to the latest schema instead of upgrading.
Change don't create a backup from an initial zero byte main database file, PEP8 and code tidy up.
Change move the previous InitialSchema into migration_tests to preserve migration development.
2015-06-06 06:21:17 +01:00
adam
65ce53b289 Add custom show lists to home page 2015-05-02 16:34:30 +08:00
Adam
24236eba6f Change provider cache storage structure
Add handling for failed cache database upgrades
2015-04-01 11:25:24 +08:00
JackDandy
b4b1859a2e Add IMDb lookup to "Update" action on Manage/Mass Update page.
(Credit and thanks to Prinz23 for his initiating efforts)

Fix display indexer provided start year on the displayShow page when no IMDb data exists.
Fix display indexer provided genres on the displayShow page when no IMDb data exists.
Fix display IMDb indexer with correct IMDb id on the displayShow page only when IMDb data exists.
Fix to correctly display show runtime when available on the displayShow page.
Fix to correctly initialise IMDb id loaded from db.
Other misc IMDb related db fixes.
Fix saving of Sort By/Next Episode in Layout Poster on Show List page.
2015-03-28 17:43:32 +00:00
Adam
94d0ce3e44 Add show overview from indexers to the database 2015-03-23 11:05:19 +10:00
Supremicus
47da38a914 Logging message tweaks and minor PEP8 tweaks
* Change corrected spelling & better clarified various log messages
* Change minor PEP8 tweaks in sab.py
* Add api disabled error code for newznab providers
2015-02-08 12:59:10 +10:00
adam
7f5651bb41 Fix slow database operations (port from midgetspy/sickbeard) 2015-01-11 12:27:57 +08:00
adam
2af732c731 Fix duplicate entries in cache database 2014-12-14 12:12:00 +00:00
Adam
f579b90d7c Add database migration code 2014-12-09 20:34:44 +08:00
Supremicus
4c8c6b21d5 Change logos, text etc. branding to SickGear. 2014-11-12 20:56:40 +00: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
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
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
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
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