Parsing nzb

Get help with all aspects of SABnzbd
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
pop
Newbie
Newbie
Posts: 20
Joined: February 23rd, 2010, 5:43 pm

Parsing nzb

Post by pop »

A while ago i asked a similar question, perhaps things are possible now ,i'll ask anyhow:
i have a easynews nzb like "12345-251g" this is for "A writer - this book" Newsleecher makes a dir "A writer - this book" containing the mp3 files. So NL parses the files so it "knows "the proper names, is this possible in Sabnzbd?
I have tried several categorie/ sort ways , to no avail, at best i get a folder named "12345-251g" with the files in it.
thanks
User avatar
shypike
Administrator
Administrator
Posts: 19773
Joined: January 18th, 2008, 12:49 pm

Re: Parsing nzb

Post by shypike »

SABnzbd names folders after the NZBs.
Where do you expect it to get other names from?
pop
Newbie
Newbie
Posts: 20
Joined: February 23rd, 2010, 5:43 pm

Re: Parsing nzb

Post by pop »

shypike wrote:SABnzbd names folders after the NZBs.
Where do you expect it to get other names from?
Well, that is exactly what i want to know; where does Newsleecher get the info from?
i mean ,if NL obviously gets info from the nzb itself,i think the "subject"

part of nzb: ( source: Easynews generated nzb)

"<?xml version="1.0" encoding="utf-8" ?>
<!DOCTYPE nzb PUBLIC "-//newzBin//DTD NZB 0.9//EN" "http://www.newzbin.com/DTD/nzb/nzb-0.9.dtd">
<nzb xmlns="http://www.newzbin.com/DTD/2003/nzb">
<file poster="cronic@b&m.com (cronic)" date="1352931442" subject="NR Geoge Pelecanos - Hard Revolution .par2 (1/1)">
<groups>
<group>alt.binaries.mp3.audiobooks</group>
<group>alt.binaries.mp3.audiobooks.highspeed</group>
<group>alt.binaries.sounds.mp3.audiobooks</group>
<group>alt.binaries.sounds.mp3.books</group>
</groups>
<segments>

The bold part becomes the directory name "Geoge Pelecanos - Hard Revolution"
NL log:

13-1-2013 9:15:34 Downloaded Article "NR Geoge Pelecanos - Hard Revolution 4-02.mp3".
13-1-2013 9:15:34 * Extracting and saving attachment "Geoge Pelecanos - Hard Revolution 4-02.mp3". (J:\ssdnewsleecherdl\)

Notice "NR" has gone from the subject..............

Naturally you can say : go use NL , but i want to be able to make use of the abilities of Sab,like placing different content in separate maps.
What i want to know is : is it possible to get info from the nzb so i get the wanted action, having a properly named folder?
User avatar
shypike
Administrator
Administrator
Posts: 19773
Joined: January 18th, 2008, 12:49 pm

Re: Parsing nzb

Post by shypike »

The subject only describes filenames.
What NL does is guess from the main par2 file name what the folder name should be.
This can backfire nowadays, because those names inceasingly start to
get obfuscated as well.
In NL's case it works a little better because (I think) it auto-splits muliple rar/par sets.
SABnzbd doesn't do that yet.
BTW, most indexers deliver useful names for NZBs; where do you get yours from?
pop
Newbie
Newbie
Posts: 20
Joined: February 23rd, 2010, 5:43 pm

Re: Parsing nzb

Post by pop »

shypike wrote:
The subject only describes filenames.
Not always , the subject reflects the combo writer - book
for instance: subject: "George Pelecanos-Hell To Pay" but the filenames are: " GPHP1a_HellToPay.mp3".
What NL does is guess from the main par2 file name what the folder name should be.
This can backfire nowadays, because those names inceasingly start to
get obfuscated as well.
Yes this might become a nuisance.
In NL's case it works a little better because (I think) it auto-splits muliple rar/par sets.
SABnzbd doesn't do that yet.
BTW, most indexers deliver useful names for NZBs; where do you get yours from?
In the Easynews web interface i look at the index for a group ( in my case a number of groups "favourites") i select a Par file from the subject i want,
A "parpage"is opened, i select all files mp3's + pars, and tick "generate nzb".
web retention at EN is low so if i want to find an older file i go to an indexer.
Thank you for your help, but to conclude : nzb's from EN are not suited for Sab
User avatar
shypike
Administrator
Administrator
Posts: 19773
Joined: January 18th, 2008, 12:49 pm

Re: Parsing nzb

Post by shypike »

pop wrote:nzb's from EN are not suited for Sab
Unless you manually add the name when uploading to SABnzbd.
Once we have implemented "auto-split", it issue could be solved.
See roadmap: http://wiki.sabnzbd.org/roadmap
pop
Newbie
Newbie
Posts: 20
Joined: February 23rd, 2010, 5:43 pm

Re: Parsing nzb

Post by pop »

Unless you manually add the name when uploading to SABnzbd.
but EN appends something like "-c5a60"to the name, but i can remove this .
I guess i'll have the same problem with movies, i use spotnet , a nzb for a movie could be: "BSFT1811TCBL.part001.rar"
so i presume this couldn't be parsed?
Once we have implemented "auto-split", it issue could be solved.
I'll wait for it then..
User avatar
shypike
Administrator
Administrator
Posts: 19773
Joined: January 18th, 2008, 12:49 pm

Re: Parsing nzb

Post by shypike »

Movies with obfuscated FIlE names is something else altogether.
In this case (and especially with sportnet) the NZB names are OK and
you can use Generic Sort to name files after NZB names.
pop
Newbie
Newbie
Posts: 20
Joined: February 23rd, 2010, 5:43 pm

Re: Parsing nzb

Post by pop »

shypike wrote:Movies with obfuscated FIlE names is something else altogether.
In this case (and especially with sportnet) the NZB names are OK and
you can use Generic Sort to name files after NZB names.
But this is what i am saying, the nzb name is gibberish, like: "BSFT1811TCBL" , so how could Generic Sort use this?
Sorry ,i,m a bit dim.
User avatar
shypike
Administrator
Administrator
Posts: 19773
Joined: January 18th, 2008, 12:49 pm

Re: Parsing nzb

Post by shypike »

You're contradicting yourself now.
First you speak of an NZB with a gibberish name then of files that have gibberish names.
SABnzbd cannot fix "bad" NZB names, it can change gibberish FILE-names to proper names, using a proper NZB name as source.
That's when you use Sorting.
When both are gibberish, then there's no way fix things.
There's only one exception, sometimes the par2-repair run will restore proper file names.
(Because the poster renamed the files after creating the par2 files).
In such a case, you're still stuck with the bad NZB name.
pop
Newbie
Newbie
Posts: 20
Joined: February 23rd, 2010, 5:43 pm

Re: Parsing nzb

Post by pop »

shypike wrote:You're contradicting yourself now.
First you speak of an NZB with a gibberish name then of files that have gibberish names.
SABnzbd cannot fix "bad" NZB names, it can change gibberish FILE-names to proper names, using a proper NZB name as source.
That's when you use Sorting.
When both are gibberish, then there's no way fix things.
There's only one exception, sometimes the par2-repair run will restore proper file names.
(Because the poster renamed the files after creating the par2 files).
In such a case, you're still stuck with the bad NZB name.
Sorry if i confused things,indeed nzb title no good, then no luck!
Thanks for helping out,Cheers
Post Reply