Page 1 of 1

Strange renaming issue?

Posted: March 16th, 2014, 4:28 pm
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

Re: Strange renaming issue?

Posted: March 17th, 2014, 2:28 am
by shypike
Please email an example NZB to [email protected]
and include the URL of this message.

Re: Strange renaming issue?

Posted: March 18th, 2014, 7:23 am
by Christolito
Any clues on what might be going wrong here?

Re: Strange renaming issue?

Posted: March 18th, 2014, 6:02 pm
by shypike
I've received your email.
I need time to process it, the todo list is so long.

Re: Strange renaming issue?

Posted: March 18th, 2014, 6:16 pm
by Christolito
No worries. :) Having some progress with the latest beta. Will try some more nzbs

Re: Strange renaming issue?

Posted: March 21st, 2014, 3:44 pm
by Christolito
Nope. Now I'm getting the same issue again :(

Re: Strange renaming issue?

Posted: March 22nd, 2014, 10:18 am
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.

Re: Strange renaming issue?

Posted: March 22nd, 2014, 11:14 am
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.

Re: Strange renaming issue?

Posted: March 22nd, 2014, 12:51 pm
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!