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

40 Commits

Author SHA1 Message Date
echel0n
3eb366ac05 Re-coded logger facility for better performance and cleaner code plus has better code for rotation of logs. 2014-12-16 02:24:06 -08:00
echel0n
d7164308a5 Fixed unicode issues with sqlite3 database queries 2014-12-08 05:00:34 -08:00
echel0n
86e7912c41 Possible fix for issues #1016, #993, and #1024 - Unicode decode/encode issues 2014-12-05 20:13:50 -08:00
echel0n
360c3afa08 Removed FTFY, python 2.6 compatibility issues.
Re-coded encodingKludge encode/decode for unicode <-> utf-8
2014-11-25 17:22:31 -08:00
echel0n
a9b44a156d Fixed issues importing encodingKludge module. 2014-11-24 14:31:50 -08:00
echel0n
6a140aa907 Added FTFY module to help with any encoding/decoding issues 2014-11-24 13:42:30 -08:00
echel0n
04a83ac3fb Fix for anime processing issues 2014-11-22 07:13:48 -08:00
echel0n
461b1d89d3 Fix for bug #911, escapes regex for ignored words 2014-11-18 20:25:27 -08:00
Adam
fea4116174 Fixes anime exceptions being cleared when editing the exceptions on editShow page 2014-08-23 11:55:00 +08:00
Woodpaker
6c28013586 webserve.py: small typo that prevented the absolute "scene absolute" numbering to update in the displayShow page.
scene_exceptions.py: scene exceptions were not saved. the exceptionCache variable used to cache the scene exceptions. The list with exceptions is updated in db, but when reopening your series edit page, the scene exception list is retrieved from the cache instead the db. I've created a small patch that updates the cache after updating the scene exceptions in db.
show_name_helpers.py: After each manual search the showName was added to the scene exceptions list. This was only added to the cache, but was anoying because up until a restart the list with scene exception names kept growing. Fixed this by refering to the function by value instead of by reference.
2014-08-17 21:17:20 +02:00
echel0n
b5e0282942 Fixed scene exceptions issue when editing shows. 2014-07-27 07:14:41 -07:00
echel0n
14c354b551 Added proxy support to Indexer APIs.
Provider getURL and downloadResult functions now removed and replaced with ones from helpers.py to help slim the code down plus allow more better control over request sessions.

Removed TVTumbler code.

Fixed HDBits provider.

Fixed config settings that were ment to be booleans but instead where set as str or int, should help resolve random html errors.

XEM Refresh check re-coded.

NameParser code for creating show object has been changed to only attempt at the very end once its found the bestMatch result, helps on resources and performance.
2014-07-27 03:59:21 -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
c25da850ab Updated scene exception code for checking when last refreshed. 2014-07-19 04:52:55 -07:00
echel0n
a435a7d3d2 Added thread lock for internal name cache.
Removed unrequired scene exception retrieval during adding of new shows.
2014-07-17 19:37:14 -07:00
echel0n
70c2a2d130 Fixed errors in scene exceptions when retrieving list of exceptions.
Fixed trakt.tv errors when updating/syncing show lists.
2014-07-17 18:06:42 -07:00
echel0n
79f923dc9c Fixed andidb scene exceptions to be called only on shows that are marked as anime.
Cleanup now performed after scene exception retrieval is performed on globals.

Fixed db type errors for name parser cache and rss feed cache.
2014-07-14 21:10:57 -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
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
0e665cbbb2 Fix for scene exceptions error. 2014-06-30 06:36:20 -07:00
echel0n
4575c58348 SQL Query performance gains added and memory footprint reduced. 2014-06-30 06:18:02 -07:00
echel0n
5e507b3849 More memory reductions and cleanups 2014-06-30 04:44:36 -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
0a80d0c3dd Fixed memory leak in scene exceptions. 2014-06-30 03:20:49 -07:00
echel0n
c478d45c36 Maintenance tasks are no longer blocking startup.
Scene exceptions now perform a lastRefresh check so they don't constantly update for no reason.
2014-06-29 23:59:27 -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
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
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
4da248ef9b Fixed internal indexer scene name cache which resolved issues with searching and snatching. 2014-05-26 14:06:54 -07:00
echel0n
de01fa1e37 Fix for scene name repeat bug when displaying show.
Added scene exceptions feature, hover over the show name with your mouse to see ALL scene exceceptions currently set for the show.
2014-05-26 11:07:10 -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
6967a8faef Code cleanup 2014-04-27 03:59:00 -07:00
echel0n
dd58028ba6 Bugfix for indexerApi improperly returning list of indexers 2014-03-26 19:01:53 -07:00
echel0n
8004685d3f Re-wrote the indexerApi wrapper, was causing a bottlekneck
Fixed bug when show folder is deleted before being deleted from SB
New Show searches now confirm results have a valid firstaired date
2014-03-26 12:28:46 -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
0822d7a39b Added in TVRage scene exceptions list that we maintain 2014-03-10 20:58:18 -07:00
echel0n
bbf9491943 Code cleanup and bugfixes 2014-03-10 19:32:02 -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