Downloaded data

Support for the Debian/Ubuntu package, created by JCFP.
Forum rules
Help us help you:
  • Are you using the latest stable version of SABnzbd? Downloads page.
  • Tell us what system you run SABnzbd on.
  • Adhere to the forum rules.
  • Do you experience problems during downloading?
    Check your connection in Status and Interface settings window.
    Use Test Server in Config > Servers.
    We will probably ask you to do a test using only basic settings.
  • Do you experience problems during repair or unpacking?
    Enable +Debug logging in the Status and Interface settings window and share the relevant parts of the log here using [ code ] sections.
Post Reply
fred44nl
Newbie
Newbie
Posts: 27
Joined: October 28th, 2016, 7:51 am

Downloaded data

Post 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
User avatar
sander
Release Testers
Release Testers
Posts: 9061
Joined: January 22nd, 2008, 2:22 pm

Re: Downloaded data

Post by sander »

Check out

Code: Select all

~/.sabnzbd/admin
My guess: totals10.sab ... which is probably a python pickled file.
User avatar
sander
Release Testers
Release Testers
Posts: 9061
Joined: January 22nd, 2008, 2:22 pm

Re: Downloaded data

Post 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
Post Reply