Short answer: nodouche wrote: ↑30 Mar 2018, 04:59Is it somehow possible to for this script to simply do a completion check on the entire queue, but not start anything for download?
I have a selection of NZBs that I want/need to download, but want to check their completion before downloading, and I want to download at my leisure.
As it stands, this script only will scan one file at a time then start it downloading, and wait for it to complete before going to the next.
Yes, I could use NZBcc, but it seems to give an awful lot of article errors, when in reality, there are none...
Thanks
Code: Select all
def unpause_nzb(nzb_id):
def unpause_nzb_dupe(dupe_nzb_id, nzb_id):
Code: Select all
def mark_bad(nzb_id):
def mark_bad_dupe(dupe_nzb_id):
I'll give that a try soon, just working on clearing some backlog.kloaknet wrote: ↑30 Mar 2018, 18:27Short answer: nodouche wrote: ↑30 Mar 2018, 04:59Is it somehow possible to for this script to simply do a completion check on the entire queue, but not start anything for download?
I have a selection of NZBs that I want/need to download, but want to check their completion before downloading, and I want to download at my leisure.
As it stands, this script only will scan one file at a time then start it downloading, and wait for it to complete before going to the next.
Yes, I could use NZBcc, but it seems to give an awful lot of article errors, when in reality, there are none...
Thanks
long answer: yes, but you need to modify the script, especially the code for
change those respectively to make them work like:Code: Select all
def unpause_nzb(nzb_id): def unpause_nzb_dupe(dupe_nzb_id, nzb_id):
but then use the historymarkgood option (in the unpause sections) instead of the historymarkbad, so they will appear GOOD in the history, and you can then later return them back to the queue.Code: Select all
def mark_bad(nzb_id): def mark_bad_dupe(dupe_nzb_id):
Otherways must be possible to, but you will need to dive into the code.
Code: Select all
Tue Aug 21 2018 07:58:07 INFO Completion: [V] New completion.lock file created.
Tue Aug 21 2018 07:58:07 INFO Completion: [V] Maximum priority of DOWNLOADING / QUEUED NZBs = 0
Tue Aug 21 2018 07:58:07 INFO Completion: [V] QUEUED / DOWNLOADING NZBs have higher or equal priority than by script paused items, skipping check
Tue Aug 21 2018 07:58:07 INFO Completion: [V] del_lock_file()
Tue Aug 21 2018 07:58:07 INFO Completion: [V] completion.lock file deleted
Code: Select all
Tue Aug 21 2018 07:51:51 INFO Completion: Checking: "redacted.nzb.queued"
Tue Aug 21 2018 07:51:51 INFO Completion: [V] get_nzb_data(fname=/nzb/watch/redacted.nzb.queued)
Tue Aug 21 2018 07:51:51 ERROR Completion: No group found in NZB file.
Tue Aug 21 2018 07:51:51 INFO Completion: [V] group: None
Tue Aug 21 2018 07:51:51 WARNING Completion: The NZB file redacted.nzb.queued appears to be invalid, resuming NZB.
Tue Aug 21 2018 07:51:51 INFO Completion: Overall check completed in 0.05 sec.
Tue Aug 21 2018 07:51:51 INFO Completion: [V] nzbget_resume()
Tue Aug 21 2018 07:51:51 INFO Completion: [V] Downloading for NZBGet resumed
Tue Aug 21 2018 07:51:51 INFO Completion: [V] del_lock_file()
Tue Aug 21 2018 07:51:51 INFO Completion: [V] completion.lock file deleted
Users browsing this forum: No registered users and 34 guests