Commit graph

65 commits

Author SHA1 Message Date
JackDandy
b8ddf97b11 Change qBittorent to handle the change to its API success/fail response.
qB changed how it responds to API action from '' to 'Ok.' and 'Fails.', therefore breaking apps.
2017-11-01 12:27:26 +00:00
JackDandy
e9b2f386f7 Change send info now required by qBittorrent 3.13+ clients. 2017-06-15 04:20:06 +01:00
JackDandy
74340d34f8 Change refactor client for Deluge 1.3.14 compatibility.
Change ensure IPT authentication is valid before use.
2017-03-12 01:24:47 +00:00
JackDandy
b9b6f70691 Change logger to properly cleanup used resources.
Fix rTorrent auth and magnet issue.
Change only backup db when necessary.
2016-12-09 20:08:41 +00:00
JackDandy
bca3f41191 Change update rTorrent systems. 2016-12-07 16:35:35 +00:00
JackDandy
916cec554c Change improve parser tolerance for torrent providers.
Change improve TvChaos item parsing and can use qualities instead of 'Unknown'.
2016-11-03 18:05:43 +00:00
JackDandy
5afcec2693 Fix data logger for clients on develop branch (DSM). 2016-09-05 20:00:45 +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
3bc0823670 Change improve management of Transmission config/Search/Torrent Search "Downloaded files location". 2016-03-11 19:07:22 +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
1f18ae4212 Add seed time per provider for torrent clients that support seed time per torrent, i.e. currently only uTorrent.
Remove seed time display for Transmission in config/Torrent Search page because the torrent client doesn't support it.
2015-09-13 16:46:37 +01: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
7ffd36388b Change py2 iteritems to py2/3 compatible statements using six library 2015-06-14 00:58:36 +08: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
f3b1487e00 Change handling of general HTTP error response codes to prevent issues.
Add handling for CloudFlare custom HTTP response codes.
2015-06-04 02:07:04 +01: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
Sami Haahtinen
deda4bc65a Change request handling in torrent clients
Simplify request responses within torrent clients. There is no need to
pass the response through the parent class when dealing with requests.
In many places this makes the code more readable and simplifies logic.
2015-05-06 21:40:13 +03:00
JackDandy
068443c4b9 Fix SSL authentication on Synology stations.
Disables certification verification for SYNO requests; not an ideal fix as a mitm process can be established as a result.  However, permits using SSL until a full fix is available.
2015-02-14 16:37:21 +00:00
JackDandy
65007c953d Change uT params from unicode to str.format as magnet URLs worked but sending files in POST bodies failed. 2015-02-12 21:28:42 +00:00
JackDandy
f798406931 Change to ensure uTorrent API parameters are ordered for uT 2.2.1 compatibility. 2015-02-12 16:32:06 +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
Supremicus
4c8c6b21d5 Change logos, text etc. branding to SickGear. 2014-11-12 20:56:40 +00:00
Adam
16a54e62d6 Make failed torrent log message more verbose 2014-10-13 23:10:19 +08:00
Justin Nielsen
78806a2223 Fixes SR setting SeedIdleLimit no matter what 2014-10-07 13:39:11 -07:00
Adam
58e8df3c0d Adjust timeout for clients for slower machines 2014-10-06 17:50:22 +08:00
adam
db41f2f1fc Adjust transmission timeout for slower systems 2014-10-06 00:39:56 +08:00
seiki
6a17ffae3c fix transmission seed time 2014-09-24 21:47:11 -03:00
adam
2b9945e0df Add transmission seed for X hours option 2014-08-31 14:41:53 +08:00
Adam
58ff85d030 Fix for utorrent label setting
Fix for transmission client
2014-08-25 12:15:08 +08:00
Adam
ba5e5478e0 Fixes typo in previous commit 2014-08-25 11:32:41 +08:00
sammy2142
fc6fe9e777 Should fix some utorrent, rtorrent and deluge
problems.
This commit essentially undoes 54afca0472

The utorrent, rtorrent and deluge methods were still using result.hash to set label, seed ratio and priority etc (instead of torrent_hash which the commit referenced above changed it to).
I've changed it back to result.hash in this commit.

Reference problem posts:
https://sickrage.tv/forums/forum/help-support/bug-issue-reports/7493-utorrent-unable-to-send-torrent
https://sickrage.tv/forums/forum/help-support/bug-issue-reports/7533-sickrage-not-sending-tv-label-to-utorrent
https://sickrage.tv/forums/forum/help-support/bug-issue-reports/7541-bug-rtorrent-unable-to-send-torrent
2014-08-24 19:46:26 +01:00
echel0n
54afca0472 Possible fix for failed to send torrent errors 2014-08-17 21:38:45 -07:00
echel0n
4752e07733 Possible fix for failed to send torrent errors 2014-08-17 19:14:07 -07:00
echel0n
e6c8982d2b Testing fix for torrent download issues from ezrss 2014-07-28 21:42:53 -07: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
6e6ae5bb87 Further corrections for torrent download issues related to content being empty and not properly checked in advance. 2014-07-27 23:48:10 -07:00
echel0n
52010d9951 Fix for invalid torrent files causing NoneType errors. 2014-07-27 23:00:25 -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
f47734446d Fixed further json issues with speedcd provider.
Fixed several providers and ssl cert verify issues.

Air-by-date shows now automatically get there respective season/episode numbers during release parsing.
2014-07-24 11:16:59 -07:00
echel0n
b312c9dcda Merge pull request #593 from tutipeti/feature/synods_destination
Destination option for the Synology DS
2014-06-19 09:43:27 -07:00
nielsenj
24f7d78682 Fixed setting ratio in Transmission
Matches the description in the torrent provider advanced settings:

Left blank defaults to client ratio default.
'-1' Seeds indefinitely
0 or greater seeds to and stops at the ratio (including stopping as soon as it downloads when set to 0)
2014-06-12 14:02:50 -07:00
Peter Tutervai
f24999b10d Changed the config page to show the path field for the Synology DS, added the parameter to the DS API 2014-06-09 01:01:47 +02:00
echel0n
08d8beffa4 Misc fixes and code cleanups. 2014-06-07 05:36:50 -07:00
echel0n
7391a6e454 App name change in code. 2014-05-23 05:37:22 -07:00
echel0n
43219e34e3 Fix for transmission torrent client and ratio's 2014-05-22 23:45:49 -07:00
echel0n
b499e4b6db Fixed issues with per-provider torrent ratio settings, now can be left blank to default to client ratio setting. 2014-05-22 23:42:11 -07:00
echel0n
83d7e9fb69 Removed global seed ratio's 2014-05-20 09:27:52 -07:00
sammy2142
e42cdb5b4a Fixes Invalid ratio error when ratio is not set
I would recommend undoing 7673cd5cc9 for the time being
as some of the client scripts have code dependent on the input being a string.
2014-05-12 11:31:44 +01:00
tlex
d0105a2f6a Fixed a couple of bugs related to deluge 2014-05-11 10:31:38 +03:00
sammy2142
57737feb5c Adds Per Provider Seed Ratio 2014-05-10 12:50:07 +01:00