Page 1 of 1

Can't read out the Password from NZB Name, any help ?

Posted: May 19th, 2017, 10:44 am
by D3ltorohd
Hello Com,

i have or better sab has some problems with reading out passwords from the nzb filename. Here are some examples...

{{TV}}_Arrow S05E11 Zweite Chancen GERMAN DUBBED DL 720p WebHD x264-TVP_{{SG_qs5s45Qnov9kQf9bAX6u}}.nzb

Unpacking attempts with a password "TV}}_Arrow S05E11 Zweite Chancen GERMAN DUBBED DL 720p WebHD x264-TVP_{{SG_qs5s45Qnov9kQf9bAX6u"

{{TV}}_Arrow S05E12 Grenzgaenge GERMAN DUBBED DL 720p WebHD x264-TVP_{{SG_fQysSSI2gxI89m67aOb6}}.nzb
Unpacking attempts with a password "TV}}_Arrow S05E12 Grenzgaenge GERMAN DUBBED DL 720p WebHD x264-TVP_{{SG_fQysSSI2gxI89m67aOb6"

{{TV}}_The Blacklist S04E16 Dembe Zuma Nr 10 GERMAN DUBBED DL 720p WebHD x264-TVP_{{SG_hmVto19410M6t2Ti513M}}.nzb
Unpacking attempts with a password "TV}}_The Blacklist S04E16 Dembe Zuma Nr 10 GERMAN DUBBED DL 720p WebHD x264-TVP_{{SG_hmVto19410M6t2Ti513M"

So the reason he cant unpack it. So i have to do this manual.
To quest is there a setting for spezial extra regex and is there a way that i can add the password after dl in the webinterface and sab do the unpack and script work again ? Or must i manual go to the folder, open the rar file and extract it by myself ?

or example like at nzbget, there i can start the postprocess after an fail again from the webinterface ?

Is there a way that sab can handle this special passwords, i dont like manual interaction.

Greet's,
D3ltoro

Re: Can't read out the Password from NZB Name, any help ?

Posted: May 19th, 2017, 12:19 pm
by safihre
Why is that {{TV}} at the start?
SABnzbd will use anything between {{ and the last }} as password as you can see.
You can just click the big Retry button next to the job name and fill the correct password. Or is that not available?

Now there are 2 options to avoid this in the future:
1 manually: when the job is added and in the queue, you can click on the file-listing icon when you hover over the name (assuming you use the Glitter skin) and then on top there is the password to be set.
2 automatic: you can write a pre-queue script that removes {{TV}} from the jobname before it's added to the queue. Then SAB will correctly parse the password from the corrected title: https://sabnzbd.org/wiki/scripts/pre-queue-scripts

Re: Can't read out the Password from NZB Name, any help ?

Posted: May 19th, 2017, 2:13 pm
by D3ltorohd
safihre wrote:Why is that {{TV}} at the start?
SABnzbd will use anything between {{ and the last }} as password as you can see.
You can just click the big Retry button next to the job name and fill the correct password. Or is that not available?

Now there are 2 options to avoid this in the future:
1 manually: when the job is added and in the queue, you can click on the file-listing icon when you hover over the name (assuming you use the Glitter skin) and then on top there is the password to be set.
2 automatic: you can write a pre-queue script that removes {{TV}} from the jobname before it's added to the queue. Then SAB will correctly parse the password from the corrected title:
Hm i use the gold Skin and there i see no retry button.

The site where the nzb comes from, put the {{TV}} in front, so in the past, sab read this for categorie tv and add the scripts for tv cat.
How should it looks like ? But i can swear, it works in the past.

Manual is not that good idea, because all this works on a server and there I do not look so often on it.

When i remove the {{TV]] from how, sab knows that this is an tv show and put the job to the right categorie with the right pp scripts ?

EDIT: I have triet it manual. When i load the file from the site, sab scanned the folder where nzb's are, add it to job list and removed the {{TV}}

NZB Name :: {{TV}}_The Flash S03E09 Der Stein der Weisen GERMAN DUBBED DL 720p WebHD h264-euHD_{{SG_63d8IHvsNN0gqC9t690B}}
Job Name :: _The Flash S03E09 Der Stein der Weisen GERMAN DUBBED DL 720p WebHD h264-euHD_ / SG_63d8IHvsNN0gqC9t690B

Re: Can't read out the Password from NZB Name, any help ?

Posted: May 19th, 2017, 5:07 pm
by safihre
You are right actually.
The {{TV}} at the start is indeed a notation that we should support and that we broke in 2.0.0.
Will work on a fix.

Re: Can't read out the Password from NZB Name, any help ?

Posted: May 19th, 2017, 5:11 pm
by safihre
I spoke too soon.
When I test your NZB names, they are detected correctly. At least in Glitter I see that the job is put in the TV category and that the password is set to SG_fQysSSI2gxI89m67aOb6.
Maybe you can send me 1 NZB like this to [email protected]?

Re: Can't read out the Password from NZB Name, any help ?

Posted: May 20th, 2017, 5:52 am
by D3ltorohd
Yes, when you add manual the nzb file it works great, he put it to tv categorie and write the right pw in the pw place.
But when Sickrage send this nzb, how ever only from this site, sab dont remove the tv and cant add the right pw.

A litle bit off topic. In the Gold Plush Skin, is there a way, i can retry the job, and can manual add the pw, after dl is finish and the file is in history list ? This is only working on Glitter skin right now ? Put at Gold Plush i can see more infos...

Re: Can't read out the Password from NZB Name, any help ?

Posted: May 20th, 2017, 6:03 am
by safihre
In Glitter you can also see more info by going into Status and Interface settings and then Web Interface tab, there you can select extra queue/history columns.

Maybe you can email or PM me what kind of URL Sickrage sends?

Re: Can't read out the Password from NZB Name, any help ?

Posted: May 20th, 2017, 12:42 pm
by D3ltorohd
When i can find out i will send you the url...