Page 1 of 1

Get Back "old" $(NZBFILE) Function

PostPosted: Sun Jul 20, 2014 5:13 am
by lemmikom
Hi,

with the new 6.52 Release Newsbin changed the creating of the $(NZBFILE) Variable.

Version 6.51 and older:

NZB-Filename: one.two.three.four-five.{{Password}}.nzb
$(NZBFILE) = one.two.three.four-five.{{Password}}

Version 6.52:

NZB-Filename: one.two.three.four-five.{{Password}}.nzb
$(NZBFILE) = one.two.three

1st problem: The Filename of NZB File was truncated and lost the ".four-five" part.
2nd problem: The {{Password}} part was truncated too.

How can i get back the behaviour of 6.51?

Why i want get back to the old beaviour:

I used a self written tool to unpack all files from there download directory, the tool will recognize the password from the download path and handle this with unrar.exe.

The unrar library of newsbin has bugs that annoying me, i used it the first time with this new 6.52 release.

1. If there is a zero byte file in the archive it will not be unpacked
2. If the unpack path is really long and there are long directory structures in the rar file, some files are not unpacked to their originally position in the rar directory structure.
3. The timestamp (all 3 windows timestamps) are not the timestamps from within the rar file structure.

Thank you.

Regards
lemmi

Re: Get Back "old" $(NZBFILE) Function

PostPosted: Sun Jul 20, 2014 8:23 am
by Quade
You might just want to revert to a version that works the way you want.

I will look into it truncating the filename when you have multiple "." but, I'm probably not going to include the password in the path. Even if I do include the password, it'll be awhile for the next beta so, you might as well revert anyway.

Want to PM me an example of a set of rars with zero byte files in it? Don't post it here. I just need the subject and maybe the group.