Page 1 of 1
[solved] Password file
Posted: December 15th, 2021, 8:27 am
by Ruben2
Hello there,
I have 31 passwords in my password file and I always get the messsage that I should reduce it to a maximum of 30 because of the number of passwords. How do I switch this one message (if possible) off?
Thanks
I use Linux Mint Cinnamon and always have the latest version

Re: Password file "Your password file contains more than 30 passwords,
Posted: December 15th, 2021, 8:33 am
by sander
As you're running from source, change the value "30" in
https://github.com/sabnzbd/sabnzbd/blob ... sc.py#L786 to something you like
But ... you know why the warning is there, right?
Re: Password file
Posted: December 15th, 2021, 9:42 am
by Ruben2
Actually I am a nitwit concerning GitHub etc., is there a simpler way?
Re: Password file
Posted: December 15th, 2021, 10:01 am
by sander
No need for github.
On your disk, find the file misc.py in sub directory sabnzbd.
In that file, in the line "if len(pws) > 30:", change the value 30 to something you think is better.
Re: Password file
Posted: December 15th, 2021, 10:39 am
by Ruben2
Thank you very much, that did the trick. And yes, I know why there's a maximum but come on, 31?

)
Re: Password file
Posted: December 15th, 2021, 10:47 am
by sander
Ruben2 wrote: ↑December 15th, 2021, 10:39 am
Thank you very much, that did the trick.
Cool. May the source be with you!
Ruben2 wrote: ↑December 15th, 2021, 10:39 am
And yes, I know why there's a maximum but come on, 31?

)
31 is better? Or 32? Or .. 50, or 100? In the past we've seen users with 100's of passwords in the password file ... complaining about slow speed ...
Good that it works for you.
Re: [solved] Password file
Posted: December 16th, 2021, 9:20 am
by safihre
There is a simpelere way:
In Config > Specials > disable "helpfull_warnings"
Re: [solved] Password file
Posted: December 16th, 2021, 10:20 am
by sander
safihre wrote: ↑December 16th, 2021, 9:20 am
There is a simpelere way:
In Config > Specials > disable "helpfull_warnings"
Ah, that's helpful / helpfull.
I had searched for "max" and/or "password" in sabnzbd.ini ... which I did not find.
Re: [solved] Password file
Posted: December 16th, 2021, 2:32 pm
by Ruben2
Thank you.