nzbname in postprocessing
Posted: April 9th, 2013, 10:14 am
Hi,
ive just wanted to ask if there is any way of getting the nzbname inside a postprocessing script.
when i add a new file to sab over the url api like this:
the postprocessing for this file would be called with the name of the downloaded nzb which is in this case: "game.of.thrones.s03e02.720p.hdtv.x264-immerse.nfo.nzb"
Seems like Sabnzbd doesn't take the nzbname value and download the nzb with that name, nor provides the nzbname in any other way...
thats sad, because i send the name of the nzb file back to my database, where i wrote down the nzbname from the addurl request (Game.of.Thrones.S03E02.720p.HDTV.x264-IMMERSE) cause im not able to get the correct nzb name from the provider.
if im processing this download now, i get an different nzb name from sab (game.of.thrones.s03e02.720p.hdtv.x264-immerse.nfo.nzb) and cant find that in my local database which causes me to redownload the same release over and over again...
is there any way that sab will save the nzb to the given nzbname or at least use nzbname as name of the nzb file in postprocessing?
ive just wanted to ask if there is any way of getting the nzbname inside a postprocessing script.
when i add a new file to sab over the url api like this:
Code: Select all
http://192.168.0.1:8080/api?nzbname=Game.of.Thrones.S03E02.720p.HDTV.x264-IMMERSE
&name=http%3A%2F%2Fblabla.bla%2Fblabla%2F87188375%2F1393341-FULL-a.b.teevee-Game.of.Thrones.S03E02.720p.HDTV.x264-IMMERSE-0145-game.of.thrones.s03e02.720p.hdtv.x264-immerse.nfo.nzb&cat=serien&priority=1&mode=addurl
Seems like Sabnzbd doesn't take the nzbname value and download the nzb with that name, nor provides the nzbname in any other way...
thats sad, because i send the name of the nzb file back to my database, where i wrote down the nzbname from the addurl request (Game.of.Thrones.S03E02.720p.HDTV.x264-IMMERSE) cause im not able to get the correct nzb name from the provider.
if im processing this download now, i get an different nzb name from sab (game.of.thrones.s03e02.720p.hdtv.x264-immerse.nfo.nzb) and cant find that in my local database which causes me to redownload the same release over and over again...
is there any way that sab will save the nzb to the given nzbname or at least use nzbname as name of the nzb file in postprocessing?