par2 file name issues

This is the place to help test and discuss Version 6 Beta releases.

par2 file name issues

Postby vspazv » Fri Nov 20, 2015 10:57 pm

I'm starting to see some posts where the par2 files are each named differently resulting in newsbin not seeing them when trying to fix the files. If I rename the recovery par2 files to match the main par2 file then QuickPar works fine.


Using 6.62 RC2
vspazv
Occasional Contributor
Occasional Contributor
 
Posts: 31
Joined: Thu May 23, 2002 12:45 am

Registered Newsbin User since: 04/03/03

Re: par2 file name issues

Postby Quade » Sat Nov 21, 2015 3:35 am

PM me an example. Newsbin shouldn't care what the PAR filenames are for repair but maybe the repair library does.

Don't post you example here.
User avatar
Quade
Eternal n00b
Eternal n00b
 
Posts: 44981
Joined: Sat May 19, 2001 12:41 am
Location: Virginia, US

Registered Newsbin User since: 10/24/97

Re: par2 file name issues

Postby bobsmo » Sun Nov 22, 2015 7:56 am

fyi, nothing really new, have seen it the past 6 months or so now.....
bobsmo
Active Participant
Active Participant
 
Posts: 71
Joined: Sat Jan 24, 2004 10:58 am

Registered Newsbin User since: 01/24/04

Re: par2 file name issues

Postby Quade » Sun Nov 22, 2015 10:07 am

fyi, nothing really new, have seen it the past 6 months or so now.....


vspazv has given me an NZB to test. I don't download these oddballs. Newsbin recognizes all the files. I'm guessing the actual repair library can't find the PARS.
User avatar
Quade
Eternal n00b
Eternal n00b
 
Posts: 44981
Joined: Sat May 19, 2001 12:41 am
Location: Virginia, US

Registered Newsbin User since: 10/24/97

Re: par2 file name issues

Postby bobsmo » Sun Nov 22, 2015 7:01 pm

Oddballs? Not sure what he sent, will send one when I encounter again. But pls remember I d/l and do everything manually.

Not a big deal for me as 99% are usually complete and only a manual rename is needed for the rest.
bobsmo
Active Participant
Active Participant
 
Posts: 71
Joined: Sat Jan 24, 2004 10:58 am

Registered Newsbin User since: 01/24/04

Re: par2 file name issues

Postby Quade » Sun Nov 22, 2015 8:00 pm

Yeah, oddballs, The filenames are all random. They don't even have extensions. I doubt you're downloading what he's downloading because it's probably not possible without the actual NZB files. If your filenames aren't random it's probably not the same issue.
User avatar
Quade
Eternal n00b
Eternal n00b
 
Posts: 44981
Joined: Sat May 19, 2001 12:41 am
Location: Virginia, US

Registered Newsbin User since: 10/24/97

Re: par2 file name issues

Postby Quade » Wed Nov 25, 2015 8:44 pm

Ok, I have a fix for this and a fix for a problem when the PAR files are corrupt.

It'll be a new beta in a day or 2.
User avatar
Quade
Eternal n00b
Eternal n00b
 
Posts: 44981
Joined: Sat May 19, 2001 12:41 am
Location: Virginia, US

Registered Newsbin User since: 10/24/97

Re: par2 file name issues

Postby bobsmo » Thu Nov 26, 2015 6:55 pm

Thanks.
bobsmo
Active Participant
Active Participant
 
Posts: 71
Joined: Sat Jan 24, 2004 10:58 am

Registered Newsbin User since: 01/24/04

Re: par2 file name issues

Postby Quade » Thu Nov 26, 2015 7:43 pm

I sent it to Dex to package up but you know, turkeys are probably getting in the way.
User avatar
Quade
Eternal n00b
Eternal n00b
 
Posts: 44981
Joined: Sat May 19, 2001 12:41 am
Location: Virginia, US

Registered Newsbin User since: 10/24/97

Re: par2 file name issues

Postby Quade » Thu Nov 26, 2015 11:35 pm

http://www.newsbin.com/downloads/nb663B1.exe

Here's a test version for the par fix and maybe for the lost packet fix some people experience.


- AutoPAR: Fix for sets with random PAR filenames.

- AutoPAR: Fix for cases where a corrupt PAR didn't have a PARid.
Would cause the download to leave the download list

- AutoPAR: When an unrar fails, all files are added to the bad list to
cause the Repair DLL to force a rescan of all the files. Catch rare cases
where the data changed between writing and repair.

This one might download a bit slower than the release version. I have some test code in there trying to see if it leaks packets.
User avatar
Quade
Eternal n00b
Eternal n00b
 
Posts: 44981
Joined: Sat May 19, 2001 12:41 am
Location: Virginia, US

Registered Newsbin User since: 10/24/97

Re: par2 file name issues

Postby bobsmo » Fri Nov 27, 2015 2:21 pm

email sent
bobsmo
Active Participant
Active Participant
 
Posts: 71
Joined: Sat Jan 24, 2004 10:58 am

Registered Newsbin User since: 01/24/04

Re: par2 file name issues

Postby Quade » Fri Nov 27, 2015 3:38 pm

Using your NZB, I purposely damaged one of the files during download. It downloaded the PARS and did a repair. I ended up with an MKV file with an obscure name.

Maybe I'm not understanding what you're reporting. Looks to me like it's downloading PAR files. The one thing I do notice that needs fixing is that the obscured files aren't being deleted from the files list even though they're deleted from disk.

What do the PAR counts show in the status column? I notice you have a bunch of files still in "Downloading" State and not assembled. Suggests to me the real problem is that the files are badly damaged and not assembling automatically. How many retries do you have set? What happens if you right click the main item and hit "assemble incompletes"?
User avatar
Quade
Eternal n00b
Eternal n00b
 
Posts: 44981
Joined: Sat May 19, 2001 12:41 am
Location: Virginia, US

Registered Newsbin User since: 10/24/97

Re: par2 file name issues

Postby bobsmo » Sat Nov 28, 2015 5:09 pm

Look, as I said, it's not a big deal to me.

In the last example I sent, all the main files were d/léd OK, with no need to repair.

Just the par2 files, also downloaded OK, just with different filenames. So if a repair WAS necessary , which again it was not, one must manually rename a par2 file.

That's it.
bobsmo
Active Participant
Active Participant
 
Posts: 71
Joined: Sat Jan 24, 2004 10:58 am

Registered Newsbin User since: 01/24/04

Re: par2 file name issues

Postby Quade » Sat Nov 28, 2015 5:33 pm

Just the par2 files, also downloaded OK, just with different filenames. So if a repair WAS necessary , which again it was not, one must manually rename a par2 file.


You don't need to rename the par files now. I confirmed that by purposely forcing a repair and the repair working with no intervention.

What I gather is that you're saying it's still broken because the PAR filenames aren't renamed. That's not how I fixed it though. I feed the random named PAR files directly into the repair engine and it pulls the records it needs out of them so, the PAR filename doesn't matter anymore as long as the PARS are grouped with the RARS (and maybe not even then). The only time it might not work is if the first chunk of the PAR is missing.

They way I forced a repair was to allow about 1/2 to download, hit the pause button, then right click an individual partial file and "Assemble Incomplete". Which gets you a damaged file.
User avatar
Quade
Eternal n00b
Eternal n00b
 
Posts: 44981
Joined: Sat May 19, 2001 12:41 am
Location: Virginia, US

Registered Newsbin User since: 10/24/97

Re: par2 file name issues

Postby bobsmo » Sat Nov 28, 2015 10:47 pm

bobsmo wrote:But pls remember I d/l and do everything manually.

bobsmo
Active Participant
Active Participant
 
Posts: 71
Joined: Sat Jan 24, 2004 10:58 am

Registered Newsbin User since: 01/24/04

Re: par2 file name issues

Postby Quade » Sat Nov 28, 2015 11:34 pm

Haha, oh well...

It's fixed for vspazv than/
User avatar
Quade
Eternal n00b
Eternal n00b
 
Posts: 44981
Joined: Sat May 19, 2001 12:41 am
Location: Virginia, US

Registered Newsbin User since: 10/24/97


Return to Newsbin Version 6 Beta Support

Who is online

Users browsing this forum: Bing [Bot], Google [Bot] and 2 guests