Strange renaming issue?

Report & discuss bugs found in 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
User avatar
Christolito
Newbie
Newbie
Posts: 34
Joined: January 4th, 2010, 3:51 pm
Location: Gothenburg, Sweden

Strange renaming issue?

Post by Christolito »

Have an issues with naming after downloading via sabnzbd (and from sick beard) where the files is not being renamed to its original filenames after unpack. Instead it looks something like this; 24df3aa9a3a92t491eadb905edb2aa9a260c819a.mkv

Looking through the log I found this on the file that didn't ge renamed;

2014-03-16 22:06:31,728::DEBUG::[tvsort:445] Current path already exists, skipping rename

Any ideas? Why can't it rename the file correctly? It just skips and keeps the unpack, temp filename. The unpack folder is in the same folder as the final destination (Season 5/_UNPACK episode/asdflkjasdflkjasdf.mkv)

Edit: this is my rename-pattern; %sn/Season %s/%fn
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: Strange renaming issue?

Post by shypike »

Please email an example NZB to [email protected]
and include the URL of this message.
User avatar
Christolito
Newbie
Newbie
Posts: 34
Joined: January 4th, 2010, 3:51 pm
Location: Gothenburg, Sweden

Re: Strange renaming issue?

Post by Christolito »

Any clues on what might be going wrong here?
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: Strange renaming issue?

Post by shypike »

I've received your email.
I need time to process it, the todo list is so long.
User avatar
Christolito
Newbie
Newbie
Posts: 34
Joined: January 4th, 2010, 3:51 pm
Location: Gothenburg, Sweden

Re: Strange renaming issue?

Post by Christolito »

No worries. :) Having some progress with the latest beta. Will try some more nzbs
User avatar
Christolito
Newbie
Newbie
Posts: 34
Joined: January 4th, 2010, 3:51 pm
Location: Gothenburg, Sweden

Re: Strange renaming issue?

Post by Christolito »

Nope. Now I'm getting the same issue again :(
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: Strange renaming issue?

Post by shypike »

There is something odd going on when %fn is used, I will look into that.
What %fn exactly means was never clear in the first place.
(The original author of that part left the project).

Given the odd names, a safer choice for Sort would be:
%sn/Season %s/%dn.%ext
Then at least your files are named like the folder.
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: Strange renaming issue?

Post by shypike »

%fn means the name of the actual media file (the MKV).
%fn is used to rename other accompanying files to the same name.
bla.mkv + subs.srt ==> bla.mkv + bla.srt

For badly named files, %fn isn't the right solution.
User avatar
Christolito
Newbie
Newbie
Posts: 34
Joined: January 4th, 2010, 3:51 pm
Location: Gothenburg, Sweden

Re: Strange renaming issue?

Post by Christolito »

Ok, thanks! You've been very helpful! I really appreciate the effort you put in to this! :) I've tried it and it seems to work better now. Will try some more nzb's. Cheers!
Post Reply