Commit graph

131 commits

Author SHA1 Message Date
JackDandy
05a9dc62f1 Add Torrentz2 provider.
Change handle when a torrent provider goes down and its urls are cleared.
Add handler for when rar files can not be opened during post processing.
2016-09-12 17:07:22 +01:00
JackDandy
c37ed638e4 Add qBitTorrent to Search Settings/Torrent Search.
Add "Test NZBGet" client to Search Settings/NZB Search/NZBGet.
2016-07-04 00:23:11 +01:00
JackDandy
eac69963f0 Change validate and improve specific Torrent provider connections, IPT, KAT, SCC, TPB, TB, TD, TT.
Change refactor cache for torrent providers to reduce code.
Change improve search category selection BMTV, FSH, FF, TB.
Change identify more SD release qualities.
Change update SpeedCD, MoreThan, TVChaosuk.
Add torrent provider HD4Free.
Remove torrent provider BitSoup.
Change only create threads for providers needing a recent search instead of for all enabled.
Add 4489 as experimental value to "Recent search frequency" to use provider freqs instead of fixed width for all.
Fix searching nzb season packs.
Change remove some logging cruft.
2016-06-08 01:55:13 +01:00
JackDandy
3bc0823670 Change improve management of Transmission config/Search/Torrent Search "Downloaded files location". 2016-03-11 19:07:22 +00:00
JackDandy
fcd2810351 Fix false +ve outcome from incorrect return value and fix nzbfile implementation.
Change refactor code.
2015-12-17 02:07:50 +00:00
JackDandy
052a1a9c38 Change position of parsed qualities to the start of log lines and add log detail to providers that POST. 2015-12-02 17:03:55 +00:00
JackDandy
43778d8edd Change providers, add some, remove one, fix a snatch issue, rework ignore/require words, refactor code.
Add BitMeTV torrent provider.
Add TVChaosUK torrent provider.
Add HD-Space torrent provider.
Add Shazbat torrent provider.
Remove Animenzb provider.
Change use tvdbid for searching usenet providers.
Change consolidate global and per show ignore and require words functions.
Change "Require word" title and notes on Config Search page to properly describe its functional logic.
Add "Reject Blu-ray M2TS releases" to BTN provider.
Add regular expression capability to ignore and require words by starting wordlist with "regex:".
Add list shows with custom ignore and require words under the global counterparts on the Search Settings page.
Fix failure to search for more than one selected wanted episode.
2015-12-02 01:31:50 +00:00
JackDandy
2051268891 Change refactor, PEP8, code convention cleanse for nzb/torrent code and remove newzbin remnants. 2015-07-15 19:19:39 +01:00
Adam
37496189f1 Change py2 exception clauses to py2/3 compatible clauses
Add py2/3 regression testing for exception clauses

Any new code added with old py2 style exceptions will now fail the travis test
2015-06-08 22:56:45 +08:00
JackDandy
1242481803 Change typo. 2015-06-04 23:09:36 +01:00
adam
d47ad5f332 Change to only rebuild namecache on show update instead of on every search
Add removal of old entries from namecache on show deletion
2015-05-26 09:33:58 +08:00
Adam
821e38adf7 Merge branch 'master' into develop 2015-05-25 11:06:09 +08:00
Adam
9d08b8ef8f Fix erroneous multiple downloads of torrent files which causes snatches to fail under certain conditions
Namely this fixes snatching with the IPtorrents provider. This issue is masked in develop as the requests library has been updated and fixes the error that is generated
2015-05-25 11:03:30 +08:00
JackDandy
9ad4b4cd30 Remove EZRSS provider. 2015-05-18 19:54:25 +01:00
JackDandy
ebdbf43d8b Merge pull request #321 from Prinz23/feature/AddSearchUnaired
Add Option to search for Unaired Episodes
2015-04-28 19:17:16 +01:00
Prinz23
8f69adaada Fix clearing provider cache 2015-04-25 16:48:15 +08:00
Prinz23
4ae30ab6ad Add option "Search for unaired episodes" to config/Search Settings
* Change reduce time to search recent result list by searching only once for a best result
* Fix replacing episodes that have a lower quality than what is selected in the initial and archive quality list
* Fix to include episodes marked Failed in the recent and backlog search processes
* Fix display of search status for an alternative release after episode is manually set to "Failed" on the Display Show page
* Change handle more varieties of media quality
* Change to prevent another scheduled search when one of the same type is already running
2015-04-24 20:45:45 +02:00
Adam
ee0dfbc357 Fix season pack search errors 2015-04-15 12:17:28 +08:00
JackDandy
c96dbf7ea6 Change to reduce the time taken to "Update shows" with show data.
Add "Enable IMDb info" option to config/General/Interface.
Change to not display IMDb info on UI when "Enable IMDb info" is disabled.
Change genre tags on displayShow page to link to IMDb instead of Trakt.
Change to reduce the time taken to "Update shows" with show data.
Change when IMDb info is updated...
a) stop updating the IMDb info during the scheduled daily update for every show.
b) update the IMDb info for a show after snatching an episode for it.
Develop changes...
Fix being able to actually turn IMDb off when it has been turned on.
Remove IMDb option from General Settings.
Change IMDb option to enable by default now the slow operation has been eliminated from process flows.
2015-03-14 15:09:39 +00:00
JackDandy
e6b7feef3d Change to simplify and reduce logging output of Recent-Search and Backlog processes. 2015-03-13 18:21:46 +00:00
adam
d1687dd401 Change layout of Recent Search code
Change naming of SEARCHQUEUE threads for shorter log lines
Fix Recent Search running status on Manage Searches page
2015-03-12 15:31:35 +08:00
JackDandy
692422cafa Change when picking a best result to only test items that have a size specifier against the failed history. 2015-02-15 02:47:46 +00:00
Supremicus
47da38a914 Logging message tweaks and minor PEP8 tweaks
* Change corrected spelling & better clarified various log messages
* Change minor PEP8 tweaks in sab.py
* Add api disabled error code for newznab providers
2015-02-08 12:59:10 +10:00
adam
ea99736939 Change anime release groups to in memory storage for lowered latency 2015-01-20 19:36:19 +08:00
JackDandy
c16903bd73 Change "Daily" search to "Recent" search. 2015-01-07 19:54:18 +08:00
Supremicus
4c8c6b21d5 Change logos, text etc. branding to SickGear. 2014-11-12 20:56:40 +00:00
KontiSR
0d415fcc20 This is a first attempt of getting the season pack downloading to work.
Unfortunately some of the old code I modified is still not 100% clear to me.. so I can't really oversee if this will work. That's why I suggest, this should be extensively tested, before merging into master!

I broke backlog searching.. Should be working again.

Tested, and seems to be working fine!
2014-09-25 13:18:07 +02:00
Adam
0aedf52997 Threads dailysearcher process for each provider. Allows dailysearcher to continue other operations without having to wait for providers with slow network operation 2014-09-22 13:41:29 +08:00
adam
5ac3895600 Fixes daily search and speed improvements 2014-09-20 20:34:00 +08:00
echel0n
627debcf88 Building of name cache executed now at start of searches to prevent building cache for show more then once when not needed 2014-09-15 02:46:08 -07:00
echel0n
67bd1a9e98 Fix for daily searches and high cpu usage plus increases search speed 2014-09-15 01:28:11 -07:00
echel0n
59675f27ac Fixed failed download handling.
Improved search queue code.
2014-09-06 21:36:23 -07:00
echel0n
65eda93b2b Fixed high CPU usage during searches, adding conditional check to prevent un-needed name parsing of search results when search result was previously already parsed and checked during filtering of bad releases 2014-09-06 17:25:07 -07:00
echel0n
ee458bd211 Fixed AttributeError: 'NoneType' object has no attribute 'is_scene' in scene_numbering code.
Show root dirs can not be set from general config menu.
Mass editing shows now has the ability to delete root dirs as well as edit them.
Daily search no longer is restricted to just 1 week of results for searching from which now allows for replacing lower quality downloads with higher quality ones if available.
RSS Cache is updated for each provider on demand now when performing manual, failed, backlog, or daily searches.
2014-08-30 01:47:00 -07:00
echel0n
bcffc09589 Replaced provider backlog only search option with 2 new options that allow you to enable daily searches and backlog searches individually per provider, default is enabled for both. 2014-08-28 22:16:25 -07:00
garvinob
dce55b3dac Renamed bestSeasonNZB to bestSeasonResult
bestSeasonNZB is confusing in this context
we are dealing with results which can be
NZBs or Torrents
2014-08-24 18:47:06 +01:00
garvinob
94063db43e Fixed result content for Season Pack results
Added an extra check into the snatchEpisode method
so that the result.content data for a required
torrent is always downloaded if needed
2014-08-24 00:19:17 +01:00
echel0n
11150efab0 Filter out possible torrent links that would return a 404 http error 2014-08-17 22:21:37 -07:00
echel0n
f3073174ed Possible fix for failed to send torrent errors 2014-08-17 22:02:29 -07:00
echel0n
88d68cfe11 Possible fix for failed to send torrent errors 2014-08-17 21:40:18 -07:00
echel0n
e2d1178515 Fix for season pack searches 2014-08-17 18:36:21 -07:00
echel0n
0a936ea1ef Changed log message to be less confusing for torrents 2014-08-17 18:32:47 -07:00
David Waldhans
16ae4c1db7 Fixed search pattern for checking ignored and required words in release names 2014-08-10 13:56:55 +02:00
echel0n
19a89d453c We now check if a torrent url links to a valid file before adding as a verified result to get snatched, this helps prevent issues when attempting to add torrent to client later on to find the url returned nothing resulting in a error. 2014-07-28 12:19:41 -07:00
echel0n
9493a8f7e5 Added back in missing code for finding propers, was removed by mistake.
Fixed issue with torrent clients not snatching due to improper handling of torrent hashes/files.
2014-07-27 07:04:37 -07:00
echel0n
14c354b551 Added proxy support to Indexer APIs.
Provider getURL and downloadResult functions now removed and replaced with ones from helpers.py to help slim the code down plus allow more better control over request sessions.

Removed TVTumbler code.

Fixed HDBits provider.

Fixed config settings that were ment to be booleans but instead where set as str or int, should help resolve random html errors.

XEM Refresh check re-coded.

NameParser code for creating show object has been changed to only attempt at the very end once its found the bestMatch result, helps on resources and performance.
2014-07-27 03:59:21 -07:00
echel0n
012baeda0c Fix for no providers found error during searches. 2014-07-24 12:05:49 -07:00
echel0n
b16ff81478 Fixes for thread naming issues where provider names are getting stacked on top each other per loop iteration.
Fix for speedcd no json data issue.

Fix for DB upgrade syntax errors caused by previous commit.
2014-07-24 09:12:29 -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
c25da850ab Updated scene exception code for checking when last refreshed. 2014-07-19 04:52:55 -07:00