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 [36m[ato.core.plugins.searcher] Checking status snatched releases...[0m
08-28 17:05:13 DEBUG [36m[ato.core.plugins.searcher] Checking snatched movie: Think Like A Man[0m
08-28 17:05:13 INFO [0m[.core.downloaders.sabnzbd] Checking download status of "Think Like A Man 2012 1080p BluRay X264 BLOW.cp(tt1621045)" at SABnzbd.[0m
08-28 17:05:13 INFO [0m[hpotato.core.plugins.base] Opening url: http://localhost:8000/api?output=json&apikey=xxx&mode=queue, params: [][0m
08-28 17:05:13 INFO [0m[hpotato.core.plugins.base] Opening url: http://localhost:8000/api?output=json&apikey=xxx&mode=history, params: [][0m
08-28 17:05:14 DEBUG [36m[.core.downloaders.sabnzbd] Found Think Like A Man 2012 1080p BluRay X264 BLOW.cp(tt1621045) in SabNZBd history, which has Moving[0m
08-28 17:05:14 INFO [0m[.core.downloaders.sabnzbd] Think Like A Man 2012 1080p BluRay X264 BLOW.cp(tt1621045) failed downloading, deleting...[0m
08-28 17:05:14 INFO [0m[hpotato.core.plugins.base] Opening url: http://localhost:8000/api?del_files=1&apikey=xxx&mode=history&value=SABnzbd_nzo_tmhk8y&name=delete, params: [][0m
08-28 17:05:14 DEBUG [36m[.core.downloaders.sabnzbd] Result text from SAB: ok[0m
08-28 17:05:14 INFO [0m[.core.downloaders.sabnzbd] SabNZBd deleted failed release Think Like A Man 2012 1080p BluRay X264 BLOW.cp(tt1621045) successfully.[0m
08-28 17:05:14 DEBUG [36m[ato.core.plugins.searcher] Download status: failed[0m
08-28 17:05:14 INFO [0m[ato.core.plugins.searcher] Trying next release for: Think Like A Man[0m
08-28 17:05:14 INFO [0m[ato.core.plugins.searcher] Better quality (1080P) already available or snatched for Think Like A Man[0m
08-28 17:05:14 DEBUG [36m[potato.core.plugins.movie] Changing status for Think Like A Man[0m
08-28 17:06:13 DEBUG [36m[ato.core.plugins.searcher] Checking status snatched releases...[0m
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