Commit Graph
21 Commits
Author SHA1 Message Date
mano3m 0cd2206e97 Remove category check
Several people have issues with this on the forum...
2012-09-02 11:21:58 +02:00
mano3m 4c3a405aa4 Failed download disabled
Make sure that the release is also marked as failed with SabNZB if deleting of failed download is disabled
2012-09-02 11:21:58 +02:00
mano3m be0efb97c6 The searcher states that a better quality is already available or snatched after a release just failed downloading and was set to ignored.
After refreshing the wanted page, one release showed as ignored, the others as available. After clicking the green 'download another one' button, it started downloading the next one.

This is because the movie_dict is filled before the release is updated to ignored and therefore still is stated as snatched in searcher.single.

08-28 17:05:13 DEBUG [ato.core.plugins.searcher] Checking status snatched releases...
08-28 17:05:13 DEBUG [ato.core.plugins.searcher] Checking snatched movie: Think Like A Man
08-28 17:05:13 INFO [.core.downloaders.sabnzbd] Checking download status of "Think Like A Man 2012 1080p BluRay X264 BLOW.cp(tt1621045)" at SABnzbd.
08-28 17:05:13 INFO [hpotato.core.plugins.base] Opening url: http://localhost:8000/api?output=json&apikey=xxx&mode=queue, params: []
08-28 17:05:13 INFO [hpotato.core.plugins.base] Opening url: http://localhost:8000/api?output=json&apikey=xxx&mode=history, params: []
08-28 17:05:14 DEBUG [.core.downloaders.sabnzbd] Found Think Like A Man 2012 1080p BluRay X264 BLOW.cp(tt1621045) in SabNZBd history, which has Moving
08-28 17:05:14 INFO [.core.downloaders.sabnzbd] Think Like A Man 2012 1080p BluRay X264 BLOW.cp(tt1621045) failed downloading, deleting...
08-28 17:05:14 INFO [hpotato.core.plugins.base] Opening url: http://localhost:8000/api?del_files=1&apikey=xxx&mode=history&value=SABnzbd_nzo_tmhk8y&name=delete, params: []
08-28 17:05:14 DEBUG [.core.downloaders.sabnzbd] Result text from SAB: ok
08-28 17:05:14 INFO [.core.downloaders.sabnzbd] SabNZBd deleted failed release Think Like A Man 2012 1080p BluRay X264 BLOW.cp(tt1621045) successfully.
08-28 17:05:14 DEBUG [ato.core.plugins.searcher] Download status: failed
08-28 17:05:14 INFO [ato.core.plugins.searcher] Trying next release for: Think Like A Man
08-28 17:05:14 INFO [ato.core.plugins.searcher] Better quality (1080P) already available or snatched for Think Like A Man
08-28 17:05:14 DEBUG [potato.core.plugins.movie] Changing status for Think Like A Man
08-28 17:06:13 DEBUG [ato.core.plugins.searcher] Checking status snatched releases...
2012-09-02 11:21:58 +02:00
mano3m 7f159b6229 Check if movie is done in checkSnatched. Fixes #760. 2012-09-02 11:21:58 +02:00
mano3m 2d6c31af97 Some failure messages do not contain 'fail'. No message at all means success. 2012-08-18 19:52:07 +02:00
mano3m 71c181379a Fixed behavior for not compatible downloaders + typo's 2012-08-02 20:56:05 +02:00
mano3m 0193f7ad81 scan only once when multiple releases are snatched 2012-08-02 20:05:31 +02:00
mano3m 928c440f90 renamer cleanup 2012-08-02 19:01:19 +02:00
mano3m 4223ed4b5a Put the renamer as a function of a download status checker in the searcher class
The changed functionality is as follows:
- the renamer is not on scheduled interval anymore
- the download status checker checks the status of all snatched releases every x minutes
- if a release has downloaded it fires up the renamer (if enabled)
- if it failed, it sets the release to ignored and snatches the next best release

With these additions the renamer wont scan your hd anymore when it is not required, and will retry failed downloads with new releases.

To do:
- the only downloader implemented is SabNZBd, for the others it defaults to the old behavior when releases are snatched (I think!?)
- a button to scan manually: Items added to the renamer folder are only picked up after a download completed
2012-08-02 18:59:04 +02:00
mano3m 100b563e10 typo 2012-08-01 03:11:19 +02:00
mano3m db2c9e5156 Added config options 2012-08-01 03:09:34 +02:00
mano3m 4aae3c45ea Bug fixes, it should actually restart the download now 2012-08-01 02:38:00 +02:00
mano3m b262ed59a8 Fixed sab api bug 2012-07-30 19:15:25 +02:00
mano3m 2884488338 Removed double logging, bug fixes 2012-07-29 22:02:51 +02:00
mano3m 684ef44f84 Fixed typo and added some error handling 2012-07-29 20:18:31 +02:00
mano3m 6225ed92b1 Added failed download handling for sabnzbd.
It will check for failed downloads from the sabnzbd api and then set the failed release to ignore and try the search again.
2012-07-29 20:17:25 +02:00
mano3m 46c73dc43c Fix hint being added to the notification test button texts 2012-07-25 00:09:13 +02:00
mano3m 2406e9ef85 Fixed NMJ test 2012-07-24 23:27:26 +02:00
mano3m 80929b5806 small fix to xbmc notification test 2012-07-24 22:55:53 +02:00
mano3m 108044948f Fix XBMC and NMA Notification tests 2012-07-24 22:49:49 +02:00
mano3m 64c044acc1 Shutdown the logger before restarting CPS. Fixes issue #587 2012-07-15 19:09:48 +02:00