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

1138 Commits

Author SHA1 Message Date
echel0n
3a2b67330c During backlog/manual/failed searches we now cache disgarded/ignored results pre-parsed for usage later on incase we end up setting a episode to wanted that matches said results, allows for maximum performance and helps limit the waste of resources used. 2014-07-21 23:00:58 -07:00
echel0n
a317ff61c2 Created a context manager wrapper for BeautifulSoup4 so that we can cleanup/clear tags/context on exit via WITH statements.
Fixed issues with torrent providers returning no results.
2014-07-21 21:26:58 -07:00
echel0n
77feb5a74c Added 10sec timeout for subtitlesFinderScheduler on shutdowns 2014-07-21 19:31:58 -07:00
echel0n
899d03b5fe Fixed issue with appending UNNOWN qualities to provider results after being sorted. 2014-07-21 18:48:16 -07:00
echel0n
bf41ba59be Fixed sorting provider results by quality code, was causing a error. 2014-07-21 17:55:45 -07:00
echel0n
403c267953 Further improved memory handling of bs4 for torrent providers. 2014-07-21 16:01:46 -07:00
echel0n
4a29476415 Added code to perform disposal of bs4 class when finished as well as perform garbage collection afterwards, this fixed a memory leak issue SR was experiancing during backlog/manual/failed searches. 2014-07-21 15:16:04 -07:00
echel0n
f340f9b073 Fix for sports shows. 2014-07-21 08:49:20 -07:00
echel0n
459b201b9a Merge pull request #653 from adam111316/clearer_PP_logs
Tidy PP log message
2014-07-21 08:44:06 -07:00
echel0n
8a12c9306c Merge pull request #652 from adam111316/fix_airdate_propers
Fix proper searches with ABD and sports
2014-07-21 08:43:26 -07:00
echel0n
6f817c0c5c Quality sorting fixed for provider results.
Reverted newznab search strings being confined to just season till we can find a better way of correcting the issue with Usenet Crawler.
2014-07-21 08:38:56 -07:00
echel0n
39054d7810 Fix for validating episode data during provider result gathering. 2014-07-21 07:21:03 -07:00
echel0n
7b54611361 Moved code for marking failed download successful out of loop.
Newznab providers now create season search strings for all searches as single ep search strings combined with using rage id numbers seems broken currently.
2014-07-21 06:44:01 -07:00
echel0n
5ac99b8c5c Fix for extensions being stripped off by mistake made when adding in -RP fix from few commits ago. 2014-07-21 06:29:07 -07:00
adam
72a3ab63f8 Tidy PP log message 2014-07-21 18:13:17 +08:00
adam
c63c5e43d6 Fix proper searches with ABD and sports 2014-07-21 17:20:54 +08:00
echel0n
efb94f1675 Merge pull request #649 from Prinz23/nzbget13_append
Added Support for new append method of NZBGet 13+
2014-07-21 00:32:55 -07:00
echel0n
b4981317a8 Merge pull request #650 from dhellwich/patch-1
Fix for symlinking during Post-Processing
2014-07-21 00:32:45 -07:00
echel0n
57cf86279b Places Quality UNKNOWN items from provider results at end of itemsList leaving order of sorted items highest to lowest. 2014-07-20 23:59:57 -07:00
echel0n
d6442e0685 Provider results get sorted by quality before filtering occures. 2014-07-20 23:43:52 -07:00
echel0n
af0ccd65cf Fixes for a few provider issues plus passing of search_mode variable. 2014-07-20 22:47:13 -07:00
echel0n
ff5107cfe2 Provider searches for backlog, manual, and failed have been re-worked to not hammer the providers so much plus perform alot faster. 2014-07-20 22:07:53 -07:00
dhellwich
aba5cc10d2 Fix for symlinking during Post-Processing
As described here: https://sickrage.tv/forums/forum/help-support/bug-issue-reports/5016-several-issues
2014-07-20 21:47:37 +02:00
Prinz23
1a625d1418 Added Support for new append method of NZBGet 13+ 2014-07-20 13:44:54 +02:00
echel0n
f6d662ca6b Fixed TypeError: processEpisode() got an unexpected keyword argument issues when using nzbToMedia scripts. 2014-07-20 00:14:05 -07:00
echel0n
6e613145b3 removed sleep timers from db code all together, overall speed increased. 2014-07-20 00:01:42 -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
bd20f9d2ae Merge pull request #647 from adam111316/log_clear_cache
Updating provider clear cache log message
2014-07-19 21:28:44 -07:00
marseneault
662353e936 Add support for Bitsoup 2014-07-20 12:12:22 +08:00
Justin Nielsen
ad17b81560 Added TVTorrents.ro Provider
Missed some files

Removed seeders==0 as per request
2014-07-20 11:09:26 +08:00
echel0n
830a4c840e Checks if trakt is enabled before attempting to start schedualed thread tasks. 2014-07-19 18:54:40 -07:00
echel0n
c423d349e8 Fixed failed and manual snatches that where causing WebUI lock-ups. 2014-07-19 18:06:04 -07:00
echel0n
0cdd1cf813 Fix for threading schedualers and subtitles. 2014-07-19 17:03:23 -07:00
echel0n
24cd235988 "Borrowed" code from SB's post-processing routine. 2014-07-19 16:08:50 -07:00
echel0n
1b84c6d281 Fix for subtitle processing. 2014-07-19 15:32:28 -07:00
echel0n
02c8b867c6 Fixed -RP release issues.
Removes .nzb and .torrent extensions from files for parsing purposes.
2014-07-19 15:23:01 -07:00
echel0n
423c09fd9e Provider DB connections remain open instead of constantly open/close for misc db calls. 2014-07-19 14:16:05 -07:00
echel0n
267affa5e9 Fix for missing indexerid number when performing naming pattern tests. 2014-07-19 13:34:30 -07:00
echel0n
5802fc372c Fix for naming pattern issues. 2014-07-19 13:31:31 -07:00
echel0n
8b5559bdef PEP8 Fix for backlog searches 2014-07-19 12:52:16 -07:00
echel0n
39d9fc6434 Fix for renaming non-anime shows and absolute numberings being applied by mistake. 2014-07-19 12:50:08 -07:00
echel0n
14fd0daa6c Fix for nameparser error during PP 2014-07-19 06:53:06 -07:00
echel0n
cf99eb9625 Fix for rls words 2014-07-19 06:27:53 -07:00
echel0n
3fd5f75180 Removed a sleep timer 2014-07-19 06:11:53 -07:00
echel0n
9fe6b66475 Forgot to commit these 2014-07-19 06:10:02 -07:00
echel0n
bf40e6bd98 Updated code to perform indexer id comparisons to confirm show is correctly choosen if we passed in a show object to test against. 2014-07-19 06:09:16 -07:00
echel0n
222f702f46 Skips to next regex if unable to create result.show 2014-07-19 05:15:48 -07:00
echel0n
09a3333399 Moved code out of series_name check for show object creation/checking. 2014-07-19 05:13:11 -07:00
echel0n
eff064f347 Accuracey and speed improved for nameparser. 2014-07-19 05:06:18 -07:00
echel0n
c25da850ab Updated scene exception code for checking when last refreshed. 2014-07-19 04:52:55 -07:00
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