Page 1 of 1

Ability to not save certain categories in history

Posted: July 2nd, 2011, 3:07 am
by StockportJambo
Hi there. Would be really nice if you could somehow have a flag which stops certain categories from being saved in the history after a successful download. Specifically XXX stuff really.  ;)

I have to go through and manually remove anything I don't want others to see.

Re: Ability to not save certain categories in history

Posted: July 2nd, 2011, 4:57 am
by shypike
And they don't see your queue?

Re: Ability to not save certain categories in history

Posted: July 2nd, 2011, 1:06 pm
by StockportJambo
It is a point, yes.  ;D

But no, generally they don't. I usually download that stuff late at night and leave it running when everyone's gone to bed... and make use of the auto-shutdown feature. I then have to remember to delete all that naughty stuff from my history in the morning before others see it when they start their morning downloads.

It's a minor thing, it would help me enormously, and I suspect (I'm a programmer) it wouldn't be hard to code. So I thought I'd ask.  :D

Re: Ability to not save certain categories in history

Posted: July 2nd, 2011, 2:36 pm
by shypike
I'd just erase the entire history every time :)
Sorry, I'm not going to spend time implementing this.
There are just too many caveats (how do you know an item should be erased, how will the UI be etc.)

You could fool around with the API.

Re: Ability to not save certain categories in history

Posted: July 2nd, 2011, 3:38 pm
by StockportJambo
Nah, I like & use the history, I just want it optional for some categories - that's all.

I'll mess around with the API.

Cheers.  :)

Re: Ability to not save certain categories in history

Posted: October 19th, 2011, 3:55 pm
by keithm
Did anything come of this? I think it's actually a pretty useful feature...

Re: Ability to not save certain categories in history

Posted: October 20th, 2011, 2:05 am
by shypike
Poses more questions than it solves:
- No history entry, OK that's straightforward
- What if the download fails, no entry either? You won't know what happened.
- Send an email when succeeded?
- Send an email when failed?

There's no way all this will get implemented in options.
It's all or nothing: trace or no trace.

Re: Ability to not save certain categories in history

Posted: October 20th, 2011, 4:43 am
by keithm
shypike wrote:Poses more questions than it solves:
- No history entry, OK that's straightforward
- What if the download fails, no entry either? You won't know what happened.
- Send an email when succeeded?
- Send an email when failed?

There's no way all this will get implemented in options.
It's all or nothing: trace or no trace.
What about this?

You seem to have two scenarios:
A) All
B) Nothing

It seems's you have answers to the questions you asked for both those scenarios right?

So, why not just do the logic right at the top level? So treat all categories by default as all (A), and those that are marked excluded as (B) Nothing.

Re: Ability to not save certain categories in history

Posted: October 20th, 2011, 6:27 am
by shypike
What is relatively easy to implement is a (ini-file-only) option to suppress traceability
at the category level. So, something like this:

Code: Select all

[categories]
[[xxx]]
history=0
priority = -100
pp = ""
etc.

Re: Ability to not save certain categories in history

Posted: October 21st, 2011, 1:14 pm
by keithm
shypike wrote:What is relatively easy to implement is a (ini-file-only) option to suppress traceability
at the category level. So, something like this:

Code: Select all

[categories]
[[xxx]]
history=0
priority = -100
pp = ""
etc.
That would be awesome if possible :)

Re: Ability to not save certain categories in history

Posted: October 21st, 2011, 1:44 pm
by shypike
Not sure yet.
What should happen when a job fails?
Without a history entry there's no retry option either.

Re: Ability to not save certain categories in history

Posted: September 23rd, 2012, 6:38 pm
by baz
Not sure about everyone else here.... but I would only be using this feature for categories that I really don't care a whole lot about if they complete or not. For XXX, I'm sure a lot of people just tag a bunch and most/all finish. If one doesn't, oh well. If someone were to make a change in the .ini to disable history for a category, they would then also be agreeing to manually manage (deleting from disk in OS) failed jobs from their Incomplete dir.

Re: Ability to not save certain categories in history

Posted: April 2nd, 2013, 6:21 pm
by AutomaticCoding
Was this ever implemented? I have a category that's only populated by RSS feeds, I really don't care if any of the files fail, I just want:-

If file downloads:-
1. Process it normally
2. Delete from history

If file fails:-
1. Process it normally
2. File failed for whatever reason
3. Delete all temporary data ("Currently downloading" files)
4. Delete all non-temporary data ("Downloaded files/unrared" files)
5. Delete from queue & database

The files are deleted relatively quickly anyway after they're downloaded automatically (Around 12 hours, automatically using the last modification/access time).

I'll poke around with the API a bit later, however, no point if it was already implemented.

Re: Ability to not save certain categories in history

Posted: April 3rd, 2013, 2:22 pm
by shypike
There already an Scheduler event for removing failed jobs: "Remove failed jobs".
Other than that, no effort has been spent on making "secret" downloads.
Don't you guys have separate accounts for your spouse and kids? :)

Re: Ability to not save certain categories in history

Posted: July 4th, 2022, 2:35 am
by bitbot
Here's a small Node script/container to tackle this job:

https://github.com/treyturner/sabnzbd-sanitizer