Page 1 of 2

Getting .cbr.rar files instead of .cbr

Posted: October 4th, 2021, 8:59 pm
by AtariBaby
Latest stable version of Sab
Fully updated Windows 10 Pro
Mylar>>Nzbhydra>>dognzb>>eweka>>windows 10 pc

For about 2 weeks, my automated setup is supposed to download cbr files but has been downloading files as .cbr.rar from dognzb only. Other cbr files have come in fine from other indexers. The only recent event that may have introduced a change was the most recent update. Otherwise I don’t think anything has changed.

Mylar devs cannot reproduce. Not sure what the cause is. Any ideas? Want logs?Image

Re: Getting .cbr.rar files instead of .cbr

Posted: October 5th, 2021, 2:29 am
by sander
Technically a .cbr is a .rar file, so it is a kind-of correct behaviour of deobfuscation.

Having said that: I'll fix this in SABnzbd by making ".cbr" a known extension that needs no extension-fixing.

Re: Getting .cbr.rar files instead of .cbr

Posted: October 5th, 2021, 4:00 am
by sander
Solved: https://github.com/sabnzbd/sabnzbd/pull/1959

Will appear in SAB 3.4.2, ETA this week

Re: Getting .cbr.rar files instead of .cbr

Posted: October 5th, 2021, 9:52 am
by AtariBaby
Wow thank you!!! And yes I know that about cbr’s, but thank you because mylar and chunky comic reader don’t like .rar lol

Re: Getting .cbr.rar files instead of .cbr

Posted: October 5th, 2021, 9:59 am
by safihre
You can already download the patched version (if you have a Github account) here:
https://github.com/sabnzbd/sabnzbd/acti ... 1307392210

Re: Getting .cbr.rar files instead of .cbr

Posted: October 5th, 2021, 12:38 pm
by AtariBaby
Guys, may I make one more request, if you deem it worthy? I was telling the good news about the update on mylar’s github, and someone mentioned that the other, slightly older but still heavily used file format is .cbz. Is it difficult to add that also?

Re: Getting .cbr.rar files instead of .cbr

Posted: October 6th, 2021, 4:23 am
by safihre
It has been added :)

Re: Getting .cbr.rar files instead of .cbr

Posted: October 6th, 2021, 3:30 pm
by Richard99
r01 etc works now, but s01 02 etc t01 02 etc and so on still get .rar added.

Re: Getting .cbr.rar files instead of .cbr

Posted: October 6th, 2021, 5:27 pm
by AtariBaby
safihre wrote: October 6th, 2021, 4:23 am It has been added :)
My heroes! I’ll test it out I guess!

Re: Getting .cbr.rar files instead of .cbr

Posted: October 6th, 2021, 10:10 pm
by sander
Richard99 wrote: October 6th, 2021, 3:30 pm r01 etc works now, but s01 02 etc t01 02 etc and so on still get .rar added.
What is file extension "s01"? What kind of file is that?

Re: Getting .cbr.rar files instead of .cbr

Posted: October 7th, 2021, 7:09 am
by Richard99
sander wrote: October 6th, 2021, 10:10 pm
Richard99 wrote: October 6th, 2021, 3:30 pm r01 etc works now, but s01 02 etc t01 02 etc and so on still get .rar added.
What is file extension "s01"? What kind of file is that?
When a multipart .rar gets to .r99 it than goes to s00 01 02 etc then t00.

Re: Getting .cbr.rar files instead of .cbr

Posted: October 7th, 2021, 8:10 am
by sander
Richard99 wrote: October 7th, 2021, 7:09 am
sander wrote: October 6th, 2021, 10:10 pm
Richard99 wrote: October 6th, 2021, 3:30 pm r01 etc works now, but s01 02 etc t01 02 etc and so on still get .rar added.
What is file extension "s01"? What kind of file is that?
When a multipart .rar gets to .r99 it than goes to s00 01 02 etc then t00.
Ah, yes. I found this quote somewhere: "When you find a group of .rar files you are interested in, make sure that all the .r0* files exist before you start downloading them. You will need the .rar file and the .r00 through .rnn files to decompress the entire archive. If a RAR archive is split into more than 100 chunks, the file extension continues to .s00 through .s99 and then .t00 through .t99. "

So this is the old rar format, until rar 2.0? https://en.wikipedia.org/wiki/RAR_(file ... )#Versions


Anyway: I think SAB will recognize rNN, sNN and tNN as rar file now, wihtout adding .rar.

Re: Getting .cbr.rar files instead of .cbr

Posted: October 7th, 2021, 11:35 am
by AtariBaby
.cbr and .cbz Tested and working guys. Thanks!

Re: Getting .cbr.rar files instead of .cbr

Posted: January 15th, 2022, 9:59 pm
by AtariBaby
Hi guys

I hope it was appropriate to add to this thread. I have discovered that cumulatively, there is still a problem. About 1 in 10 cbr/cbz files is malformed or corrupted somehow. The file will be somewhat less than full size. As a result, in a comic reader, the comic will essentially break at some point when turning pages, and result in an error message.

While there are a few apps in the system that delivers comics to me, I was thinking Sabnzbd might be the most likely culprit, after a previous update essentially made a bug out of cbr’s and cbz’s, resulting in this post and your prompt fixes. Is there anything I can provide that would help troubleshoot? It’s hard to repeat the bug, because it happens infrequently.

Re: Getting .cbr.rar files instead of .cbr

Posted: January 16th, 2022, 12:56 am
by safihre
All this bug did was change the filename, not the contents. So that can't really be related..
Integrity of the downloaded files is not specific to the type of files.
To really Debug if it's a Sab problem, you'll need to enable Debug logging in the Status window and then after it happens again click Show Logging in the same window and share the logs of the specific download.