1
0
mirror of https://github.com/moparisthebest/SickRage synced 2024-08-13 16:53:54 -04:00
Commit Graph

130 Commits

Author SHA1 Message Date
echel0n
58788f52e5 Corrected API to work with new nextepisode function code changes. 2014-07-08 22:53:51 -07:00
echel0n
a085f0f538 Improved and faster nextepisode function, speeds up home page load times. 2014-07-08 22:42:56 -07:00
echel0n
79a1b1c31e Fix for root dir location not being saved or set correctly for shows.
Fix for mass update edits of shows, bwlist no longer gets updated during this process as its not required. You can not change your root dir even if location does not exist so long as you have create_missing_show_dirs=1 in your config set so that there be auto-created during the next post-processing of a episode.
2014-07-07 20:27:24 -07:00
echel0n
dfc600893d Fix for SHOWQUEUE-REFRESH 2014-07-06 10:16:11 -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
e0eea79ec5 Fix for ABD and Sports shows issue with toordinal function. 2014-06-25 21:39:34 -07:00
echel0n
c878c6d303 Shows now perform a dirty check to confirm if any records have been altered before trying to save to the DB, improves overall performance and speed of sickrage.
Browser does not get launched on restarts as a restarted check is performed now.
2014-06-23 20:25:20 -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
fcc91bedd9 NameParser now won't bother to proceed parsing release name results untill it finds a valid show object in the DB to confirm its a show in our list, naming patterns automatically bypass this restriction. 2014-06-19 18:13:07 -07:00
JackDandy
bec213ee05 Port:Change setting status to UNAIRED for future episodes (GC-2397).
Only set status to UNAIRED if current status is SKIPPED, UNAIRED, UNKNOWN or WANTED, should prevent re-downloading of early releases that are already downloaded and deleted (status IGNORED) or archived.
2014-06-19 16:36:54 +01:00
JackDandy
1c487f92f9 Port:Fix not setting status if show location is missing but sickbeard.ADD_SHOWS_WO_DIR is set 2014-06-19 16:36:53 +01:00
echel0n
44358ef601 Reverted episode cache changes 2014-06-11 07:16:24 -07:00
echel0n
3384e2c51d Update tv.py
Removed weakref, caused issues with searching and downloads
2014-06-09 17:37:48 -07:00
echel0n
89ad4bccc3 Moved show season/episode cache to outside of the show class and turned it into a global to avoid circular ref that may memory leak. 2014-06-07 21:20:59 -07:00
echel0n
a1da7df12e Fixes for DB issues 2014-06-07 15:35:16 -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
2c0f3a3dc3 Added thread locking for queues.
Fixed imdbinfo issues.
2014-06-07 11:36:26 -07:00
echel0n
cfcc35ebcc Upgraded IMDBpy and improved performance of it.
Fixed TVDB Indexer API issues.
2014-06-07 08:33:18 -07:00
echel0n
4784b4619f Fix for invalid literal for int() with base 10: 'NULL' 2014-06-07 05:42:50 -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
1e8f3e2883 Added ability for format anime naming from post-processing options.
Fixed regex issues for anime shows matching 720p as a absolute number.
Custom sports naming has been fixed to adhere to dates.
2014-06-07 01:17:12 -07:00
echel0n
14201c71f3 Fixes issues with scene numbering being set to 0x0 after snatch is performed.
Fixes issues with KAT Provider sphinx error on searches.
2014-06-06 15:16:15 -07:00
echel0n
9e4ec2cfb8 Fix for importing existing shows being set to anime when there not anime shows causing parsing errors when trying to parse episode files from disk. Please perform a mass reset of shows marking the ones that are not anime so that this issue is fixed for when it does its next show refresh. 2014-06-04 19:47:40 -07:00
echel0n
1dc913824a Fix for startup issue due to dependant that was missing. 2014-06-04 18:38:14 -07:00
echel0n
cec4ed573d Upgraded CherryPy libs to 3.3.0
Switched out sqlite3 libs in favour of SQLAlchemy v0.9, will gradually migrate dialects and scheme to be fully SQLAlchemy compliant for using there ORM with sessions instead of direct.

Fixed getEpisode function to stop making unrequired scene number conversions on already converted data thats available now from cache.
2014-06-04 18:28:59 -07:00
echel0n
99d129bd41 Fixes for anime regex matching 2014-05-31 22:39:24 -07:00
echel0n
0ddcc3b58a Fix for show opt not in __init__ issues 2014-05-31 12:41:34 -07:00
echel0n
d7396896b5 Added in regex matching with fuzzy matching.
Shows now display Indexer absolute numbering.
Improved speed of parsing search results.
Fixed episode naming issues.
2014-05-31 03:35:11 -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
f01c5852d4 Improved find propers code.
Backlog and manual searches now check cache first for search results.
2014-05-30 00:51:24 -07:00
echel0n
1abef89b29 Scene numbering now updates every 1 hour or is forced when needed so that searches always have up-to-date information before hand. 2014-05-30 00:51:06 -07:00
echel0n
a2439c8c64 Added ability to mass set shows to search by scene numbering. 2014-05-30 00:50:45 -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
e1ee01579d Fixed issues with TVDB retrieving banners and posters.
Fixed unicode issues with Indexer API's
Fixed issues with scene numbering.
Fixed issues with black and white lists for anime shows when editing a show.
2014-05-29 06:27:05 -07:00
echel0n
2dcd26e69c Update imdbpy libs to v5.0
Fixed invalid indexer id issues for TVRage shows.

Fixed issues for getting posters and backdrops for TVRage shows.

We now convert XML straight to a dict object for Indexer APIs, improved overall performance api's

Fixed issues with TVRage shows and displaying genre's properly.
2014-05-28 23:09:38 -07:00
Nils Vogels
7bf12460be PEP8 cleanups 2014-05-29 02:44:00 +02: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
Nils Vogels
177dbc0f22 More namechanges 2014-05-26 23:32:47 +02: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
9cd9576232 Fix for Next Ep airdates.
Added check for hidden folders in post-processing.
Cleaned up daily search function.
2014-05-21 20:12:15 -07:00
echel0n
ab8d9e6405 Fixed issues with queues.
Tweaked code to get more performance from it.
2014-05-19 18:04:23 -07:00
echel0n
a4c790eedc Fixes issues with skip removed files option.
Fixes issues with saving usenet providers.
2014-05-19 16:43:01 -07:00
echel0n
6709ebdf12 Fixed issues with daily searcher 2014-05-18 08:57:07 -07:00
Nils Vogels
3a08af6661 Merge commit '8c449e2' into dev 2014-05-18 00:16:13 +02:00