Page 1 of 1

Downloaded data

Posted: November 14th, 2023, 8:46 am
by fred44nl
where does Sabnzbd store the information about how much has been downloaded
To-day, This week, This month and Total ??
the OS is Debian 10.
it is not in .sabnzbd.ini

Re: Downloaded data

Posted: November 14th, 2023, 10:01 am
by sander
Check out

Code: Select all

~/.sabnzbd/admin
My guess: totals10.sab ... which is probably a python pickled file.

Re: Downloaded data

Posted: November 14th, 2023, 10:12 am
by sander
and with the code below you pretty print the pickle file totals10.sab

Code: Select all

import pickle
import pprint
import sys
input_pickle_file = sys.argv[1]

obj = pickle.load(open(input_pickle_file, "rb"))
pprint.pprint(obj)
And see https://github.com/sabnzbd/sabnzbd/blob ... #L209-L224 for format of the pickle