Commit Graph
45 Commits
Author SHA1 Message Date
clinton-hall dc63796e48 Added nzbname
previously defined in Downloader. I forgot to bring this across.
2012-09-26 17:12:19 +09:30
clinton-hall c6cba2f6e5 Only request SABnzbd status once
Performs the checking of queue and history here. Requests delete of failed downlaods via download.remove event.
2012-09-26 16:59:36 +09:30
clinton-hall ef945597d2 Removed checking of status results from here
getDownloadStatus is only called once from renamer and all results are passed back. Def remove is added so that renamer can request a failed downlaod to be deleted from SABnzbd if enabled.
2012-09-26 16:51:51 +09:30
clinton-hall ba36c738c7 Added def remove
Allows renamer to request deletion of failed downloads
2012-09-26 16:46:10 +09:30
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
itsmegb 35c1dc70f0 pull priority from the config and uses a very hacky way to to show the
event type
2012-01-09 20:42:38 +00:00
alshain 89b783c3d1 PEP8 for cli.py 2011-02-13 13:14:51 +01:00
alshain 92f30fbe47 Adds RenameHistory. 2011-02-11 01:00:45 +01:00
alshain 33b30301fb Adds identifier, name not nullable in FileType. 2011-02-11 01:00:24 +01:00
alshain b6c4e451b4 Make size not nullable on File. 2011-02-11 00:59:27 +01:00
alshain ce5a91eaa7 Changes File model. 2011-02-11 00:58:40 +01:00
alshain 59f84df52f Adds mooli_id and resource relation to Release. 2011-02-11 00:57:58 +01:00
alshain 5374b633a6 Adds releases relation to Resource. 2011-02-11 00:56:58 +01:00
alshain 48f62a505c Adds new models to CP. 2011-02-11 00:27:20 +01:00
alshain 34acf6f225 Changes Flask initalization. 2011-02-10 21:18:55 +01:00
alshain aa0c2f471a Removing model. Restructuring. 2011-02-10 21:18:32 +01:00
alshain 6ef510457a Adds traceback if wrapper fails. 2011-02-08 00:26:09 +01:00
alshain 2d16458ff3 Fix bad submodule URL. 2011-02-07 23:46:24 +01:00
alshain 079d65ec59 Also adds src path when running from script. 2011-02-07 23:40:02 +01:00
alshain 34486e06a5 Updates CouchPotato wrapper code. 2011-02-07 23:34:25 +01:00
alshain 5d8421f7ea Adds Flask dependency. 2011-02-07 23:11:26 +01:00
alshain 871f2504d1 Adds usage to setup.py 2011-02-07 23:11:13 +01:00
alshain be45cc4637 Adds CouchPotato.py wrapping cli. 2011-02-07 23:03:32 +01:00
alshain 782e457f02 Adds setup.py for setuptools. 2011-02-07 23:03:12 +01:00
alshain c69bcba7df Adds cli.py with dummy method. 2011-02-07 23:02:49 +01:00
alshain 12574ad609 Adds db layer. 2011-02-07 22:45:04 +01:00
alshain 22e0a5a26c Adds models. 2011-02-07 22:44:33 +01:00
alshain b8cad35b91 Make couchpotato a package. 2011-02-07 22:32:56 +01:00
alshain d3000902ac Adds dependencies submodule. 2011-02-07 13:51:31 +01:00