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

197 Commits

Author SHA1 Message Date
echel0n
55f27c4f40 rss cache updates and daily search have been joined into one function.
fixed more issues of missing vars causing saving of config issues.
2014-05-17 11:14:48 -07:00
JackDandy
7e48e827f7 Fix: Searching for propers/repacks at nzbs.org.
If no results are found with the usual search URL, an alternate is tried.
2014-05-17 18:59:33 +01:00
echel0n
04213bebf2 Fixed bug that was causing issues with saving config.
Fixed bug that was causing searches to double up on there results.
2014-05-17 10:30:23 -07:00
echel0n
0afdeb3c1f Added ability to disable daily search at startup.
Fixed search frequencies.
Changed HDBits to use requests json parser.
2014-05-17 09:18:50 -07:00
echel0n
12b8fc9990 Removed a extra space that may have caused issues in future 2014-05-17 06:55:58 -07:00
echel0n
67073d007e Fixes missing uid and hash vars 2014-05-17 05:13:05 -07:00
echel0n
a3e06b965f Added in CPU Throttling option under general config -> advanced.
Fixed issues with passwords and unicode chars.
Fixed issue with usenet_retention variable not being saved or set.
2014-05-17 04:40:26 -07:00
echel0n
f9052ca2b2 Fixes to help with brining down the cpu usage of SickRage 2014-05-17 02:27:17 -07:00
echel0n
5453c8c6df Fix for TPB proxy issues.
Fix for save config issues.
2014-05-16 23:38:00 -07:00
echel0n
e96035ff4f Added per-provider options search mode and search fallback.
Search mode allows you to choose season packs only or episodes only which controls how backlogs search for data.

Search fallback if selected will attempt a 2nd search this time using the alternative search mode to see if it can get results if the previous attempt failed.

Provider settings are now read and stored dynamically instead of always having to retrieve them by there static names, this will allow for dropping in new provider modules easier to intergrate with existing options already present.

Fixed search code to not perform dupe searches by mistake.

Cache stores a list of shows we have rejected so that next time around we don't have to process them to know we don't like em.
2014-05-16 22:29:44 -07:00
echel0n
816a3d9572 Fixes season pack and episode only searches 2014-05-16 02:16:01 -07:00
echel0n
e309aa2cbf Fixed more unrequired search strings from being created and wasting our time doing duplicate searches 2014-05-15 22:40:49 -07:00
echel0n
4576ade4ce Fixed a issue that was causing multiple search strings to be created for the same season or episode during a search, this would of caused unrequired searches to be performed. 2014-05-15 22:16:35 -07:00
echel0n
e20adcfab8 Added daily searcher to check for and snatch daily new releases for current active watched shows. User settable interval can be found in search config menu plus forcing a daily search can be done from Manage Searches menu.
Fixed issues with subliminal subtitle downloader.
2014-05-14 21:16:46 -07:00
echel0n
5645eecd9c Merge branch 'origin/dev' 2014-05-14 02:42:28 -07:00
echel0n
415e0df536 Fix for air-by-date and sports shows when searching for full seasons.
Fix for rssupdater errors
2014-05-14 01:01:36 -07:00
JackDandy
7f31c1e2c1 Fix one of the default providers to use SSL. 2014-05-14 01:43:01 +01:00
echel0n
d2b4ad526d Fix for sports air-by-date shows 2014-05-13 12:04:59 -07:00
echel0n
ed8de59e91 Fixed air-by-date issues with downloading a show that results in downloading the incorrect show afterwards. 2014-05-13 12:02:22 -07:00
iron8core
220b139bcc Add forgotten 'self' argument to _isSection 2014-05-13 13:19:03 +02:00
echel0n
1d339b97f6 Fix for looping issue during backlog searches 2014-05-12 12:48:47 -07:00
echel0n
858ac3af18 Test #2000 for season pack fix for BTN 2014-05-12 11:57:26 -07:00
echel0n
a5794a5347 Fix for BTN season pack searches 2014-05-12 09:35:40 -07:00
echel0n
7c9e4b24d5 Fix for backlog and manual searches not being executed 2014-05-12 04:10:45 -07:00
echel0n
31297b9069 Added RSS Cache updater with user-settable interval from config section of web interface, updates the cache so that searches can be more instant when looking for snatches.
Updated backlog search code to re-set skipped or missed episodes to wanted.
2014-05-12 01:52:14 -07:00
echel0n
52efb6f43b Added incomplete indexer <-> scene mapping check 2014-05-11 15:24:02 -07:00
echel0n
7ce27b72f5 Fix for scene numbering issues 2014-05-11 12:50:34 -07:00
echel0n
aafe9ad522 Removed snatch queues to reduce memory footprint.
Fixed issue #527
2014-05-11 12:04:47 -07:00
echel0n
f8035e800e Fix for air-by-date downloads.
Fix for backlog and manual searches.
2014-05-11 07:17:11 -07:00
echel0n
e977750702 Merge branch 'origin/master'
Conflicts:
	sickbeard/__init__.py
2014-05-11 05:55:12 -07:00
echel0n
1398c38275 Fix for manual and backlog download/search issues.
Removed multi-threading as it was more problems then usefull for now.

Added in match & snatch, any quality from initial quality settings gets downloaded first and does not continue searching, if archive qualities exist it'll stop once it hits max quality from said list.
2014-05-11 05:51:39 -07:00
sammy2142
57737feb5c Adds Per Provider Seed Ratio 2014-05-10 12:50:07 +01:00
echel0n
4f7c5481d2 Merge pull request #464 from iron8core/scc_fix_foreign_section
Fix downloading from foreign section of SceneAccess
2014-05-08 07:41:06 -07:00
echel0n
eb918ef362 Testing fix for charmap issues. 2014-05-08 07:27:57 -07:00
echel0n
2a4f8780e2 Fixed issues with multi-threading.
Fixed issues with snatching air-by-date shows.
Fixed issues with naming patterns.
Fixed issues with invalid literals.
Fixed issues with country codes missing and causing web errors.

Fixed so many issues I can't write them all done ... :)
2014-05-08 07:04:01 -07:00
iron8core
27fa146724 Fix downloading from foreign section 2014-05-08 15:02:53 +02:00
echel0n
fc94243546 Fixes backlog and manual searches.
Fixes season pack and single/multi episode searches.
Fixes multi-threading issues.
Fixes incorrect status being reported for manual searches.
Fixes quality being returned as N/A all the time for torrents.
2014-05-07 00:50:49 -07:00
Nils Vogels
3f719a4607 Convert TVDB to Indexerid 2014-05-06 23:51:06 +02:00
echel0n
8a61eb1e26 Added in some sleep timers to help improve overall cpu usage 2014-05-06 14:35:37 -07:00
echel0n
fb71c6139e Added in optional multi-threading for all search queues, can be set from General->Advanced config section.
Fixed issue #417 and #335
2014-05-06 04:29:38 -07:00
Nils Vogels
23b991e9c9 Fixes corner case where cookie could not be found 2014-05-06 10:30:33 +02:00
echel0n
b33e2be047 Fixes for backlog search.
Fixes for downloading the same episode twice.
Fixes for caches.
2014-05-05 06:26:02 -07:00
echel0n
c11c61e8cf Added backlog and proper searchers to HDBits 2014-05-05 00:39:20 -07:00
echel0n
2aa7706233 Fix for issue #375 TorrentDay and IPTorrents 2014-05-04 22:16:36 -07:00
echel0n
235a5d0161 Fixes empty searchStrings and empty itemList issues if they happened. 2014-05-04 20:13:10 -07:00
echel0n
a5b72dea84 Fixes issues with findpropers and airdate.
Fixes issues with unhashable dict types.
Fixes issues with 100% CPU usage.
Fixes issues with RSS feed cache.
Fixes issues with scene numbering and converting back to indexer numbering.
Fixes issues with backlog searches.
Fixes issues with season pack searches.
Fixes issues with BTN.
2014-05-04 20:08:32 -07:00
Nils Vogels
b7aa62c553 More typo fixes :S 2014-05-05 00:53:53 +02:00
Nils Vogels
fca48bfe64 Fixing typo 2014-05-05 00:40:02 +02:00
Nils Vogels
e475d2a22d Only walk lists if they are populated. 2014-05-04 23:20:04 +02:00
echel0n
99da47464d Fix for rssfeed 2014-05-04 05:08:45 -07:00
echel0n
129a8c1d7e Added cache for rss feed items.
Fixed issues with searches
2014-05-04 05:05:27 -07:00
echel0n
5252cbb72c Fixes issues found in cache and with season pack searches 2014-05-04 00:10:49 -07:00
echel0n
b349bab569 Fixes more issues that were still present for season pack searches and air-by-date shows. 2014-05-03 22:36:54 -07:00
echel0n
dea826c3ba Fixed alot of issues pertaining to season pack searches and backlog searches in regards to returning accurate results or no results at all.
Fixed issue #335
2014-05-03 20:16:26 -07:00
echel0n
a2a608ed85 Fix for issues downloading season packs and episodes and multiples of the same episode. 2014-05-03 16:56:01 -07:00
echel0n
7ca19b88d6 Fix for issue of downloading multiples of the same episode 2014-05-03 16:26:12 -07:00
echel0n
16441c0582 fix for issues #321 and 258 2014-05-03 05:22:50 -07:00
echel0n
6ee60d213a Fixes issue #325 2014-05-03 05:10:52 -07:00
echel0n
81a7a2b97f Typo corrected 2014-05-03 02:27:00 -07:00
echel0n
d5f183c171 Major changes made to search code, tvcache code, and name parser 2014-05-03 02:23:26 -07:00
Nils Vogels
2b2e2d484d Update SQL to match TVRage edition 2014-05-02 11:59:13 +02:00
echel0n
1c6b0807b0 Fixed backlog issues and improved cache and provider searches, this resolves issue #298 2014-05-01 21:53:34 -07:00
echel0n
eabd0d092f Fixes for air_by_date and sports shows
Fixes for sports regex matching patterns.
2014-05-01 20:03:44 -07:00
echel0n
3a60683327 Fixed issues with parsing release names and naming patterns including regex for sports is now more accurate then ever!
Added option under general settings to allow specifiying a default indexer to be used for adding newshows and existing shows (All, TVDB, TVRage)
2014-05-01 17:57:51 -07:00
echel0n
74c6bec150 Fix for issue #291 2014-05-01 14:37:53 -07:00
echel0n
071d51fcda Fixes for scene conversion and regexs 2014-05-01 00:18:52 -07:00
echel0n
dfd8ead9f8 Fix for published_parsed errors 2014-04-30 22:17:54 -07:00
echel0n
5ba99db64e Fix for issue #274, ebObj ref'd before assignment 2014-04-30 22:07:23 -07:00
echel0n
f6cf80aa99 Fixed issue #221
Manual and Backlog searches now gather all the search results FIRST then loop through them filtering the bad ones out, this should improve overall speed of searching for downloads.
2014-04-30 21:09:03 -07:00
echel0n
7e800ff524 Fixed manual episode searches.
Corrected a issue where SB was being searched twice for the same show wasting cpu cycles.
2014-04-30 18:20:53 -07:00
echel0n
9d191f6999 Fixes for post-processing issues.
Improvements made to caches for overall performance boost and more accurate matches.

Misc bug fixes applied.
2014-04-30 15:16:31 -07:00
echel0n
9384881241 Fixed issues with searching for air by date shows and sports.
Several bugfixes applied throughout the code along with cleanup performed.
2014-04-30 06:49:50 -07:00
echel0n
319ac2602f Fixed scene_numbering issues for shows that use scene numbers instead of TVDB numbering.
Fixed issues with local SB cache.

Fixed issues with sports naming patterns, we no longer treat sports as a airdate show and have created custom regex's to aid in finding sports related shows.
2014-04-30 05:10:13 -07:00
echel0n
5ef7a0fb30 Merge pull request #216 from iron8core/scc_fix_archive
Fix archive search and correct logging for foreign searches
2014-04-29 15:22:25 -07:00
echel0n
77bc5c7291 More fixes for strftime and findpropers 2014-04-29 08:16:17 -07:00
echel0n
87b752b4e5 Re-coded the Indexer cache, cache lookups are only performed for existing shows and we don't add any cache entries unless we are Indexing the show in our database so we don't waste cpu cycles and memory.
Manual and backlog searches both search the cache first before even attempting to send a search request to a provider.

More bugs have been worked out.
2014-04-29 06:14:19 -07:00
echel0n
c330bbb386 Fixed issues with post-processing, we now perform the auto-detection of the indexer in a spot that doesn't require the post-processing to start all the way from the begining allowing for less processing time to take place.
Fixed more code relating to scene converting and sports event episodes/shows.

Post-processing now checks for indexer id in the cache as well as the other normal ways it did before.
2014-04-28 21:55:59 -07:00
echel0n
872056cc5d Fixed issue of unknown attribute keyword 'show' 2014-04-28 17:18:30 -07:00
echel0n
43b6b4b594 Improved XEM scene numbering converting.
Fixed release naming and parsing.
Improved overall application performance and foorprint.
2014-04-28 17:12:06 -07:00
echel0n
3fbfed7d93 Fixes cache issues with lookups resulting in wasted cpu cycles.
Fixes issues with scene numbered releases not properly being converted before a cache lookup is performed and not being properly converted when returned from providers as a possible match for a show requested to be snatched.
2014-04-28 16:04:11 -07:00
echel0n
0ec4be65da Added in error 542 as requested 2014-04-28 11:46:35 -07:00
iron8core
0f395a636a Fix archive search and correct logging for foreign searches
Archive searches are now handled correctly
Fix debug logging for searches in foreign section
Include title fix from mr-oranges's PirateBay edition
2014-04-28 13:26:25 +02:00
echel0n
99bbd0649c Fix for debug logging on console.
Fix for RSS feeds for all providers.
2014-04-28 03:57:30 -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
1d56ce7182 Fix for BTN provider 2014-04-27 19:51:15 -07:00
echel0n
896295b090 Fix for air-by-date shows 2014-04-27 17:16:09 -07:00
echel0n
71ec47ae6b Fix for error code checking for Newznab providers. 2014-04-27 17:08:12 -07:00
echel0n
28d39df816 Fix for air-by-date issues 2014-04-27 15:51:52 -07:00
echel0n
2a5cd9b02e Fix for exception error in TorrentLeech 2014-04-27 15:20:34 -07:00
echel0n
56a0a04a2c Fix for subtitles datetime issue
Code cleanup.
2014-04-27 15:16:43 -07:00
echel0n
29a5fe4cf5 Fix for FINDPROPERS 2014-04-27 14:45:43 -07:00
echel0n
35f70c7924 Fix for air-by-date and sports shows 2014-04-27 07:48:19 -07:00
echel0n
fb0339a274 Fix for sql mass add issues.
Fix for KAT and TPB providers.
Fix for Newznab providers.
2014-04-27 06:46:08 -07:00
echel0n
b0ec12e421 Fixes issue with update frequency.
Fixes backlog search issues with newznab providers.
2014-04-27 05:13:46 -07:00
echel0n
d8171acc97 Fix for backlog searches 2014-04-27 04:32:22 -07:00
echel0n
0ae27fa6e6 Fix for shows that are air-by-date 2014-04-27 03:40:50 -07:00
echel0n
5772de9eec Complete re-code of season/episode search code.
Switched from using standard requests to using sessions.
Fixed bug in speedcd that was preventing config from saving.
2014-04-27 03:31:54 -07:00
echel0n
18b781532c Fix for KAT provider 2014-04-26 15:20:52 -07:00
Nils Vogels
a5b85dcc1c Adding SpeedCD provider
Cherrypicking from mr-orange's fork
This is 30d8807d74

Closes #47
2014-04-26 15:48:37 +02:00
echel0n
8d4d1a21cd Fix for no status attribute error 2014-04-26 04:23:00 -07:00