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

1138 Commits

Author SHA1 Message Date
echel0n
e0e10dd289 Improved name parser scoring 2014-07-18 17:44:06 -07:00
echel0n
c4a0f314fd Fixed name parsing result issues with improper regex patterns being used. 2014-07-18 11:47:19 -07:00
echel0n
579681386e Another test fix for anime PP issues 2014-07-18 00:03:29 -07:00
echel0n
9bef354899 Testing another fix for anime PP issues. 2014-07-17 23:54:58 -07:00
echel0n
42c0d7f9f6 Testing fix for incorrectly cached results that may cause PP issues. 2014-07-17 23:45:48 -07:00
echel0n
4470735437 Added 10 second timeout for anidb thread for restarts/shutdowns 2014-07-17 23:21:11 -07:00
echel0n
6957bd0656 Possible fix for stacked provider names during backlog search.
Possible fix for anidb connection stop issues during restart/shutdown.
2014-07-17 23:16:18 -07:00
echel0n
5bc775dfb9 Fix for threading issues with backlogs and whitelist/blacklist issues for anime shows. 2014-07-17 22:57:35 -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
7f20f5e27f Fixed whitelist error when editing shows, needs more code changes to fully function correctly.
Possible fix for threading exceptions.
2014-07-17 17:43:36 -07:00
echel0n
546f7c00b4 Reverted persistent storage of nameparser cache, testing fix to prevent crashes possibly related to memory usage. 2014-07-15 15:01:23 -07:00
echel0n
89c8ed4372 Using unicode for name keys now in NameParser cache, resolves 8-byte error. 2014-07-15 11:51:40 -07:00
echel0n
c577ff2887 Reverted back to using Shove+SQLAlchemy for storing persistent object data to avoid any more DB corruption errors. 2014-07-15 11:40:40 -07:00
echel0n
c0cf45830c Fix for processEpisode to accept both "on" and "1" as True conditions when passing in options for post-processing from scripts such as nzbToMedia. 2014-07-15 10:26:01 -07:00
echel0n
2fec443c37 Forgot to add check if naming pattern was calling nameparser for previous commit. 2014-07-15 03:18:34 -07:00
echel0n
c3f6417f5f NameParser now gets episode/season numbers for anime shows using absolute numbers. 2014-07-15 03:11:54 -07:00
echel0n
7cbeef5ed0 Fixed invalid naming pattern error.
Fixed sports regexes.
Fixed name parsing issues.
2014-07-15 02:40:21 -07:00
echel0n
5fb3fe6797 Fix for absolute numbering issue during renaming of files for non-anime shows. 2014-07-15 00:24:58 -07:00
echel0n
4a061d4dd2 AniDB now updates its xml lists daily.
Added writeback cache for both rss feeds and name parser.
2014-07-14 23:55:52 -07:00
echel0n
fefcfa0952 Fix for NameParser invalid show errors.
Fix for NameParserCache and RSSFeed Cache errors.
2014-07-14 22:53:32 -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
Adam
ec860cfc1f Updating provider clear cache log message 2014-07-15 01:12:36 +08:00
echel0n
09f53d3537 Filtering of torrents with 0 seeders is no longer forced, filtering now is done strictly by min seed and min leech user settins which can be set from search provider config settings. 2014-07-12 16:16:58 -07:00
echel0n
9a6be98f1f Fix for symlinking during Post-Processing 2014-07-12 15:10:10 -07:00
echel0n
21cc92664f Fix for KickAss Torrents Invalid URL error. 2014-07-11 21:12:25 -07:00
echel0n
d9f37eb852 Fixed the default naming patterns for ABD and SPORTS plus increased default indexer timeout from 10 to 20 2014-07-11 20:52:09 -07:00
echel0n
b7ab95996c Merge pull request #638 from adam111316/add_animezb_provider
Add animezb provider
2014-07-11 19:40:51 -07:00
echel0n
84fe4f0aeb Added back tvrage_name and tvrage_id to mirror show_name and indexer_id so that other apps that need those values have them available.
Cleaned up video html in display shows.
2014-07-11 18:38:22 -07:00
echel0n
13f12b2635 Fixed issue with WEB Api and setting episode statuses for backlog searches. 2014-07-11 18:01:55 -07:00
echel0n
2f0683ec1e Fixed restart/updating issues for synology/qnap devices, may also resolve other OS related simular issues. 2014-07-11 16:37:09 -07:00
echel0n
2d87de0fd8 Fix for search provider config page errors. 2014-07-11 14:57:49 -07:00
echel0n
9e365310b6 Fixed redirect issues which should now resolve reverse proxy web_root issues as well. 2014-07-11 12:33:49 -07:00
echel0n
6a3c6a5be4 Added anime and scene params to WEBApi for adding new shows. 2014-07-11 10:45:45 -07:00
echel0n
be6c884a40 Fixed WEBApi issues for adding new shows. 2014-07-11 10:42:42 -07:00
adam
923a58b2ab Add animezb provider 2014-07-12 01:21:56 +08:00
echel0n
aa74dfb68d Merge pull request #637 from marseneault/torrentbytes
Add TorrentBytes provider
2014-07-11 10:18:08 -07:00
echel0n
cc07bdb12f Disabled purging of feed-cache items for providers. 2014-07-11 04:43:28 -07:00
echel0n
424674464f Playing videos from display show page has now been made opt-in, you can enable/disable via general config menu.
Swapped out video-js player for jwplayer to support mkv video codec.

Fixed issue with videos not playing.
2014-07-11 04:05:33 -07:00
echel0n
0e3495d30f Fix for show parsing errors to be displayed via debug logs now instead as a warning. 2014-07-11 00:59:05 -07:00
echel0n
933fad20c7 Unable to parse filename errors are now set to show via DEBUG logs only to prevent unicode chars from causing misc beeping sounds ... 2014-07-10 23:44:36 -07:00
echel0n
9dd679e30f Fix for anime showObj regex matching.
Fix for xbmc notifier.
2014-07-10 22:35:00 -07:00
echel0n
c7e58cadb5 Fix for XBMC notifier 2014-07-10 21:41:54 -07:00
echel0n
356ac845d4 Fix for XBMC notifier, KeyError: 'result' 2014-07-10 19:53:27 -07:00
echel0n
172dec1017 Startup/Restart issues resolved. 2014-07-10 17:20:31 -07:00
root
6304c5ed17 Add TorrentBytes provider 2014-07-10 10:15:44 -04:00
echel0n
52f65ca735 Testing yet another possible fix for web_root 2014-07-09 13:50:46 -07:00
echel0n
a103035ac2 Testing fix for web_root issues. 2014-07-09 13:14:53 -07:00
echel0n
2d0c31510e Fixed issues with trakt and root dirs.
Fixed web root issues.
2014-07-09 11:41:04 -07:00
echel0n
e891e9d637 Fixed nextaired not found issues and fixed kat provider issues. 2014-07-09 09:01:12 -07:00
echel0n
f925488373 KickAss torrents now uses multiple urls to try from incase one goes down. 2014-07-09 01:26:45 -07:00
echel0n
d6225dd8d3 Updated next episode airdate function to be run once at startup and then each time after that with show update schedualer 2014-07-09 00:49:05 -07:00
echel0n
23239e0a5d NextEpisode sets episodes that dont return a next air date to todays date to help improve load times for home page. 2014-07-09 00:33:44 -07:00
echel0n
5237e70fb3 Updated nextepisode function to only perform db calls when nextaired date has been reached. 2014-07-09 00:15:27 -07:00
echel0n
dbe22b570b NextEpisode code modified to return the airdate ordinal instead of a ep object, faster. 2014-07-08 23:07:26 -07:00
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
fe65ecd2c3 Fixed issues with searches for show specials causing SR to think its a entire season. 2014-07-08 21:13:43 -07:00
echel0n
bea3a13c2b Switched update url for git repo to use non-ssl url. 2014-07-08 20:39:31 -07:00
echel0n
004e82e459 Merge remote-tracking branch 'origin/dev' 2014-07-08 15:33:43 -07:00
echel0n
74f73bcc34 New event queue system in place, currently handles shutdown and restart calls.
Fixed ctrl-c issues with new event queue system.
Added a sleep timer to the NameParser class to help lower cpu usage spikes.
2014-07-08 15:26:26 -07:00
echel0n
0866bcc344 Merge pull request #632 from adam111316/fix_webdl_quality
Fixes web-dl quality detection for some episode naming patterns
2014-07-08 10:04:39 -07:00
echel0n
c5adfae655 Merge pull request #626 from arogl/dev
Minor GUI and console fixes
2014-07-08 09:54:56 -07:00
echel0n
15c7332277 Merge pull request #623 from nielsenj/customrssratio
Adds custom RSS provider ratio setting.
2014-07-08 09:53:07 -07:00
echel0n
86b9598e3c Merge pull request #631 from adam111316/fix_add_to_mylist
Fix for 'add to my list' option defaulting to on upon a restart.
2014-07-08 09:50:12 -07:00
adam
257181ee4f Fixes web-dl quality detection for some episode naming patterns 2014-07-08 20:57:14 +08: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
c8d899ad66 Removed maintance schedualer and moved the routines from it to happen before a search is started to ensure things are up to date and to stop waking up synology devices, regexes also made less greedy. 2014-07-07 14:30:27 -07:00
echel0n
5fda7e8afd Merge remote-tracking branch 'origin/dev' 2014-07-07 11:30:41 -07:00
echel0n
561a12a735 Fix for metadata mede8er provider for error: tvdb_attributenotfound: Cannot find attribute '_actors' 2014-07-07 09:10:35 -07:00
adam
e6eb1256bf Fix for 'add to my list' option defaulting to on upon a restart. 2014-07-07 19:23:59 +08:00
echel0n
5b0d9c7ec1 Merge remote-tracking branch 'origin/dev' 2014-07-06 15:39:18 -07:00
echel0n
f91569ec84 Fix for post-processing and parsing errors. 2014-07-06 15:06:19 -07:00
echel0n
dfc600893d Fix for SHOWQUEUE-REFRESH 2014-07-06 10:16:11 -07:00
echel0n
1680f6c8b1 Merge remote-tracking branch 'origin/dev' 2014-07-06 07:51:18 -07:00
echel0n
8045976c15 Possible fix for error 500 in web gui when trying to get a show poster and showList is not yet been init'd 2014-07-06 07:48:51 -07:00
echel0n
ab69e52615 Fixed cheetah's template subclass to properly return correct line numbers in tracebacks so that we may properly debug errors. 2014-07-06 07:45:01 -07:00
echel0n
9f1250d750 Turned autoreload off as it was turned on when we set debugging to true for tornado. 2014-07-06 06:18:09 -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
a3a3777d33 Fixed blackAndWhitelist for anime release groups. 2014-07-06 04:12:16 -07:00
echel0n
9428dfadf6 Merge pull request #625 from adam111316/anime
Add support for animes with a different series name per tvdb season
2014-07-06 03:24:54 -07:00
echel0n
f7502294c5 Added in better error handling for tornado web server.
Fixed HTTPS issues, web root issues should now be corrected as well.
2014-07-05 17:57:43 -07:00
echel0n
93e2e93b63 Fix for edit shows and add shows. 2014-07-05 16:47:20 -07:00
adam
ad68518e10 Add support for animes with a different series name per tvdb season 2014-07-05 20:42:54 +08:00
e5e4eaeacd39c5cfba4d7c852c48277ae50331e6
bf52b882d4 Minor GUI and console fixes 2014-07-05 16:14:55 +10:00
echel0n
04f6b8fc8b Fixed web_root issues, Play videos directly from browser when displaying show via HTML5/JS ** WORK IN PROGRESS ** 2014-07-03 16:51:39 -07:00
echel0n
88709225c9 Merge remote-tracking branch 'origin/dev' 2014-07-03 14:59:55 -07:00
echel0n
c3a13814f1 PEP8 Cleanups 2014-07-03 14:25:30 -07:00
echel0n
c34442f5c1 Notify on update for notifiers via email has been disabled for now till we re-write the email notification code better, fixed a few small errors here and there. 2014-07-03 14:04:26 -07:00
echel0n
20456fde6b Regex order of placement in list now taken into account when scoring matches. 2014-07-03 13:44:34 -07:00
echel0n
c7f3a166a4 Merge remote-tracking branch 'origin/dev' 2014-07-03 10:34:23 -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
f0146f728e Lowered CPU usage even further, re-wrote daemonizer code for startups, removed misc unrequired functions from providers. 2014-07-03 07:07:07 -07:00
Mark Rawson
8f19e84a80 Add global option to disable SickRage update notifications via notifiers. 2014-07-03 08:16:15 +01:00
Mark Rawson
6aa149752b Send notifications to all enabled notifiers upon SickRage update. 2014-07-03 07:43:48 +01:00
echel0n
847a172462 Merge remote-tracking branch 'origin/dev' 2014-07-02 13:43:47 -07:00
echel0n
36e12a5d4d Fix for hdtorrents uid issues. 2014-07-02 13:39:27 -07:00
echel0n
ddd9376faf Fix for torrentday uid issues. 2014-07-02 13:38:05 -07:00
echel0n
d6431570f1 TPB season pack searches fixed 2014-07-02 13:06:29 -07:00
echel0n
cadb2dba72 Testing fix for post-processing and search issues. 2014-07-02 12:36:00 -07:00
echel0n
ae398031fd Merge remote-tracking branch 'origin/dev' 2014-07-02 11:52:55 -07:00
echel0n
12ac388dc2 Fixed startup/restart/shutdown issues on Windows, Linux, FreeBSD platforms tested.
Fixed for updating issues.

Fixed high cpu and memory usage.
2014-07-02 11:51:14 -07:00
echel0n
1fc909299d Fixed start/restart/shutdown issues including any issues with daemonizing. 2014-07-01 06:08:10 -07:00
echel0n
130daf7d0a Added trending shows feature, this allows you to choose from a wide selection of popular/trending shows with rating stats and easily add the show into SR by simply clicking the plus sign. 2014-07-01 01:49:12 -07:00
nielsenj
6d8e79c78a Adds custom RSS provider ratio setting.
Adds ratio setting to the custom RSS provider.
2014-06-30 22:48:49 -07:00
echel0n
83e1da31a7 Merge remote-tracking branch 'origin/dev' 2014-06-30 12:07:51 -07:00
echel0n
9136df2ae5 RSS Feeds purges every 7 days now. 2014-06-30 12:02:45 -07:00
echel0n
7bff5a246f Fix for rss feeds clearcache 2014-06-30 11:57:16 -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
2e8c8a262f Fix for api builder. 2014-06-30 09:37:42 -07:00
echel0n
a16bf8ca2c Fix for anidb errors 2014-06-30 09:21:21 -07:00
echel0n
75f69396d4 Reverted some changes. 2014-06-30 08:57:32 -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
b19aafb807 Memory cleanup in sql db routines for mass actions. 2014-06-30 04:55:49 -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
18d7884c2d Reverting previous changes 2014-06-30 02:42:04 -07:00
echel0n
33a28d20a3 Cleanup leftover fd sockets on restart 2014-06-30 02:38:07 -07:00
echel0n
9d5b2da19e Testing fix to help reduce memory footprint. 2014-06-30 02:23:32 -07:00
echel0n
e7b5a2c6c0 Test fix for webroot issues. 2014-06-30 01:15:10 -07:00
echel0n
508c094f48 Fixed robots.txt method. 2014-06-30 01:12:41 -07:00
echel0n
bc2016a3ac Merge remote-tracking branch 'origin/dev' 2014-06-30 00:01:18 -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
2c98a5a448 Fixed "show must be added to list", regexes now check if numbers following after the series name is a date or part of the series name to properly parse and return correct show object.
Fixes TVDB and TVRAGE cache_location variable.
2014-06-29 23:20:19 -07:00
echel0n
e1ce1c3ce4 Merge pull request #621 from rawsonm88/fix/backlog_scheduler
Fix next backlog date
2014-06-29 22:42:22 -07:00
echel0n
b5f433b6c8 Merge pull request #622 from nielsenj/fixrsscookies
Fixrsscookies
2014-06-29 22:41:49 -07:00
echel0n
c62245b5a3 Merge remote-tracking branch 'origin/dev' 2014-06-29 21:00:02 -07:00
echel0n
96fa0953e3 Fixed issues with popup notifications. 2014-06-29 20:58:34 -07:00
nielsenj
77ea8117c6 Added request headers param.
A recent update/change in RSS cache removed the cookies for custom RSS provider. This re-adds it.
2014-06-29 20:52:11 -07:00
nielsenj
8f16fad1ec Added request headers param. 2014-06-29 20:50:12 -07:00
echel0n
1e012b5d12 Merge remote-tracking branch 'origin/dev' 2014-06-29 19:53:15 -07:00
echel0n
eece317c75 Fix for tornado write issues on GET and POST methods. 2014-06-29 19:52:04 -07:00
echel0n
1145f90208 Disabled caching for notification tests. 2014-06-29 19:39:29 -07:00
echel0n
6f52a4fd27 Merge remote-tracking branch 'origin/dev' 2014-06-29 19:18:09 -07:00
echel0n
06e99ce4a7 Fix for uncaught exception error for 404 errors 2014-06-29 19:17:15 -07:00
echel0n
de07881ada Merge remote-tracking branch 'origin/dev' 2014-06-29 19:00:01 -07:00
echel0n
145433e19a Corrected self.finish to self.write 2014-06-29 18:57:02 -07:00
echel0n
6ce68e3d97 Fixed redirects and blank pages ... FINALY! 2014-06-29 18:54:41 -07:00
Mark Rawson
4252daf098 Fix next backlog date in API / altered display of next backlog date in UI 2014-06-29 16:49:47 +01:00
echel0n
b3d46f77e9 Fix for TypeError: write() 2014-06-29 03:07:25 -07:00
echel0n
0c57676aed Updated tornado source code.
Created custom class for rss feed parser.
2014-06-29 03:05:33 -07:00
echel0n
feabf20c8c Test fix #5 for blank pages 2014-06-28 23:19:04 -07:00
echel0n
cafdc57b2c Testing fix for redirect issues and blank pages.
Fix for create pid issues.
Fix for creating index on tv provider cache tables.
2014-06-28 22:54:29 -07:00
echel0n
ca60203e9e Test #3 for blank pages.
Syncs show library with trakt.tv show library on startup.
Adds/Removes shows individually to/from trakt.tv library.
Added use_recommended feature to trakt.tv notifier config page.
2014-06-28 20:28:00 -07:00
echel0n
77a659c17f Test #2 for blank pages, turned cache on and removed all cache disabling entries. 2014-06-28 18:11:35 -07:00
echel0n
84da4147fb Testing fix for cache issues causing blank pages, caching has been turned off. 2014-06-28 14:40:33 -07:00
echel0n
cfbb7678a9 Fixed duplicate tv cache issue. 2014-06-27 20:33:31 -07:00