Page 1 of 1
api: json/xml Output for History data
Posted: May 5th, 2008, 2:42 pm
by pieteckhart
Hi!
after reading the automation-support page i was wondering if there is a way to get json/xml with history data?
if not i would gladly see it in the newer versions
Thanks!
Re: api: json/xml Output for History data
Posted: May 5th, 2008, 5:21 pm
by switch
You can retrieve an xml of the history but it is only in the format of an RSS feed.
Further plain xml and json outputs are scheduled for 0.5 (xml output is already complete).
Re: api: json/xml Output for History data
Posted: May 6th, 2008, 2:08 am
by pieteckhart
ok i see, i think ill wait for the json in 0.5.
but ill look into the rss allso, maybe parsing rss in javascript isn't that hard.
what is the url of the rss?
Thanks!
EDIT: got it:
http://localhost:8080/sabnzbd/rss?mode=history
Re: api: json/xml Output for History data
Posted: May 6th, 2008, 12:45 pm
by evidenceunseen
Could the post processing script logs perhaps be put in a subfolder, for instance logs/Post Processing Logs/
the /logs directory can fill up pretty fast if you have a lot of downloads using post processing.
Re: api: json/xml Output for History data
Posted: May 6th, 2008, 4:02 pm
by evidenceunseen
Becuase the logs folder can get cluttered with per file post processing logs. I don't know, it's abviously not a big deal.
Re: api: json/xml Output for History data
Posted: May 7th, 2008, 3:53 am
by shypike
A script log is deleted when its history entry is deleted.
Re: api: json/xml Output for History data
Posted: May 7th, 2008, 7:54 am
by evidenceunseen
Oh ok, nice to know thanks.