Commit Graph
537 Commits
Author SHA1 Message Date
Ruud f799e70e18 Only try and remove old folders once. fix #786 2012-09-02 20:47:24 +02:00
Ruud 7f52d8e496 Don't use srrdb anymore, it's buggy. 2012-09-02 19:39:39 +02:00
Ruud 6b7d29bae1 Cleanup 2012-09-02 16:19:55 +02:00
mano3mandRuud 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
mano3mandRuud 7f159b6229 Check if movie is done in checkSnatched. Fixes #760. 2012-09-02 11:21:58 +02:00
Ruud a6c4763d6d Update Userscript with @grant 2012-08-27 22:45:35 +02:00
Ruud 9a0a829802 Show info link again. fix #706 2012-08-26 22:59:40 +02:00
Ruud b8c6393409 Quality and filesize fix in release list. 2012-08-26 22:43:14 +02:00
Ruud d64150d6a7 Magnet link improvements 2012-08-26 22:43:00 +02:00
Ruud 4275be0059 Add some tooltips to quality. closes #725 2012-08-26 17:06:49 +02:00
Ruud cf86948c13 Remove empty folder when found better quality. fix #735 2012-08-26 15:42:26 +02:00
Ruud bdfb073bca Catch filetime error. fix #741 2012-08-26 14:14:57 +02:00
Ruud d817179747 De-referer external urls. 2012-08-24 22:46:32 +02:00
Ruud de3832b7b6 Filter try_next on movie. 2012-08-13 21:50:31 +02:00
Ruud f63e332861 Cleanup of automated failed download detection. 2012-08-12 23:53:53 +02:00
Ruud 9b6261f0b3 Always check for correct quality 2012-08-12 15:17:11 +02:00
Ruud da69c2840a Wrong content tag in search bugs Opera. fix #696 2012-08-09 22:11:29 +02:00
Ruud c753857dbd Merge branch 'develop4' of https://github.com/mano3m/CouchPotatoServer into mano3m-develop4 2012-08-05 16:41:35 +02:00
Ruud 40daba277b Handle permission error in shutil.move for *nix systems during the rename plugin. 2012-08-05 15:39:04 +02:00
Ruud ac91156288 Firefox bookmarklet isn't run as function. fix #681 2012-08-05 14:46:19 +02:00
Ruud 1154d93ccd Don't re-use path_identifiers. fix #665 2012-08-04 23:14:53 +02:00
Ruud 08e96b8691 Make it 4 weeks before release 2012-08-04 22:58:50 +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 4aae3c45ea Bug fixes, it should actually restart the download now 2012-08-01 02:38:00 +02:00
mano3m 2884488338 Removed double logging, bug fixes 2012-07-29 22:02:51 +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
Ruud b07a937fa7 gzip requests 2012-07-16 00:44:39 +02:00
Ruud 897a7ea122 Unicode errors. fix #600 #597 2012-07-15 16:25:59 +02:00
Ruud 8e720c9da6 Allow no quality on release. fix #565 2012-07-14 23:58:40 +02:00
Ruud 1f4a545c39 Also show release list when no quality. fix #565 2012-07-14 00:27:38 +02:00
Ruud 7f983c9530 Prevent parameter reference.. 2012-07-14 00:15:31 +02:00
Ruud 57d3ef8058 Meta data getting renamed with sample filename. fix #467 2012-07-13 23:57:25 +02:00
Ruud 199ac61b59 Encode trailer search title. fix #461 2012-07-13 23:46:03 +02:00
Ruud 974f2d040d Clean unavailable files on full scan. fix #455 2012-07-13 23:41:53 +02:00
Ruud 9d962db755 Better description for renaming. fix #568 2012-07-13 15:03:48 +02:00
Ruud 5fb6f2dfe2 Subtitle language tag fix 2012-07-12 08:12:47 +02:00
Ruud 7ddb5c2450 Don't fire search on start 2012-07-12 00:01:46 +02:00
Ruud 0c14334e23 More feedback on download button. fix #537 2012-07-11 23:50:00 +02:00
Ruud 68cbfc4d84 Send unicode to Subliminal 2012-07-11 01:00:56 +02:00
Ruud cc662db4d6 Try catch subtitle search error 2012-07-11 00:48:13 +02:00
Ruud 0dfefef0c5 Torrent provider cleanup 2012-07-08 12:21:22 +02:00
Ruud 566c4830de Torrent provider cleanup 2012-07-05 22:13:29 +02:00
Ruud 76b89c192e Merge branch 'bwq-master' into develop 2012-07-03 20:41:27 +02:00
Ruud ab2436081b Merge branch 'master' of https://github.com/bwq/CouchPotatoServer into bwq-master 2012-07-03 20:41:12 +02:00
Ruud 4e10fddf95 Cleanup up bluray.com and kinopolis providers 2012-07-02 23:38:10 +02:00
Ruud d562559562 Json & decode errors. fix #494 2012-07-01 13:48:38 +02:00
Ruud 4a3d481e16 Encode logs. fix #496 2012-07-01 01:25:11 +02:00