Commit graph

591 commits

Author SHA1 Message Date
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
echel0n
e787ef8332 XEM Scene Numbering fixes.
Deepcopy thread.lock issue fixed.
Overall performance increased, searches faster and more accurate.
2014-04-26 03:37:40 -07:00
echel0n
bf31077cc2 Fix for thread locking issues 2014-04-26 01:09:38 -07:00
echel0n
690e842bb1 Fix for SSL issues.
Fix for Download Station issues.
2014-04-26 00:09:00 -07:00
echel0n
26e259c036 Fix for Newznab providers 2014-04-25 21:53:44 -07:00
echel0n
754cc8e791 JSON parsed by requests lib instead of helper function 2014-04-25 20:58:24 -07:00
echel0n
83bcc63683 More RSS cache fixes 2014-04-25 20:42:35 -07:00
echel0n
7a22f6c77a More RSS fixes 2014-04-25 18:49:38 -07:00
echel0n
3ee6d45fcd More updates for RSS feed code 2014-04-25 18:39:43 -07:00
echel0n
a455bcb7c6 Fixes for RSS searches 2014-04-25 17:03:24 -07:00
echel0n
0e82c5f573 Added RSS feedparser lib to process custom torrent RSS feeds.
Adjusted code for custom RSS feed parsing now that feedparser does the parsing for us all we do is pull the data from the returned entries.
2014-04-25 16:41:47 -07:00
echel0n
ce9f079136 Fixes issues with RSS feeds not being parsed correctly. 2014-04-25 04:45:34 -07:00
echel0n
a74b12f519 Fixes issues with RSS feeds not being parsed correctly. 2014-04-25 04:43:24 -07:00
echel0n
0d90d01460 Fix for SSL issues 2014-04-25 04:25:22 -07:00
echel0n
dafff0281e Merge branch 'pulls/62' 2014-04-25 00:32:22 -07:00
Peter Maciocia
09b106ec6b remove duplicate variable 2014-04-24 17:19:38 +01:00
SickBeard Custom User
484dba0de8 proper settings for proxy 2014-04-24 17:01:20 +01:00
iron8core
d72966c203 Add support for more sections on SceneAccess
Add (hopfully fully functioning) support for non-scene and foreign sections
for SceneAccess provider.
2014-04-24 17:44:22 +02:00
SickBeard Custom User
aae27f36f6 use proxies 2014-04-24 16:04:41 +01:00
echel0n
94670f7f95 Updated our cache code.
Updated rsstorrents to not bother using requests sessions.
2014-04-22 23:24:08 -07:00
echel0n
984e5e101d Fixes for BTN provider 2014-04-22 14:58:48 -07:00
echel0n
ad14de3d9e Merge branch 'pulls/40' 2014-04-22 14:56:12 -07:00
tehspede
90620e47b8 Update scc.py 2014-04-23 00:43:54 +03:00
tehspede
5b713f0262 Update scc.py 2014-04-23 00:41:01 +03:00
tehspede
4eb9000676 Fixes error "Invalid username or password for SceneAccess Check your settings" 2014-04-23 00:29:03 +03:00
echel0n
77696cad66 Fix for rss torrent feeds, resolves issue #32 2014-04-22 03:13:44 -07:00
echel0n
ad339a9b2e Multiple bugfixes for provider code 2014-04-22 01:02:43 -07:00
echel0n
8c78b558b5 Fixes issue #30 2014-04-21 20:50:20 -07:00
echel0n
f2fb9076ad Fixes issue #25 2014-04-05 04:40:55 -07:00
echel0n
e171aa1c10 Conditional check bugfixes 2014-04-02 07:23:17 -07:00
echel0n
fb222902c1 Minor bugfixes and improvements 2014-04-01 23:29:46 -07:00
echel0n
23348e0bd0 Fixed bug for returning requests object exceptions 2014-04-01 22:44:47 -07:00
echel0n
684f1fd671 Added tvdbid and tvrageid support to BTN provider 2014-03-30 17:17:24 -07:00
echel0n
6da13f4272 Beautiful Soup 4.3.2 update 2014-03-28 12:53:43 -07:00
echel0n
049282ccb9 Improvements to PublicHD provider code 2014-03-27 22:59:45 -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
e3a843a823 Bugfix for scene numbering and kickass searches 2014-03-21 01:34:00 -07:00
echel0n
10637f8f29 Code Clean up and regex fix for "no repeats" error (reverted from commit 8ecd5a196d) 2014-03-20 11:03:22 -07:00
echel0n
8ecd5a196d Code cleanup and regex fix for "no repeats" error 2014-03-20 10:51:59 -07:00
echel0n
972833a7f6 Added Transaction for add/update/delete episodes and change episode status 2014-03-20 03:24:58 -07:00
echel0n
50911a1f0f Small typo corrected 2014-03-20 01:17:56 -07:00
echel0n
ce5053f25d Bunch of code upgrades and bugfixes 2014-03-20 01:15:22 -07:00
echel0n
fc24efb957 Fix for new feature "first match" 2014-03-18 07:03:02 -07:00
echel0n
dbaf9955cb Fixed issue with BTN provider.
Started to added in "archive on firstmatch" feature.
2014-03-18 06:50:13 -07:00
echel0n
146d9ba23b couple small bugfixes in code when it was expecting a string but got a integer instead well trying to create a search string for providers to use. 2014-03-16 04:57:59 -07:00
echel0n
1f178686cc Fixed regex pattern for sports events that were preventing searches from working.
Switched out urllib2 HTTP Handler for requests HTTP Handler in main getURL function in helpers module.

Fixed date parsing for sports in NameParser module.

Misc fixes and improvements throughout the code.
2014-03-15 18:01:12 -07:00
echel0n
90cdf326b7 Bugfixes 2014-03-11 09:35:13 -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