Page 1 of 1

Format with {original} not working

Posted: 17 Dec 2019, 01:21
by user1349813
I have the following format:

E:/Movies/{ny}/{original}

The folder is created corretly but the filename ends up being just ".mkv" - how do I use the orinal file name?

FileBot 4.8.5

Re: Format with {original} not working

Posted: 17 Dec 2019, 01:35
by kim

Code: Select all

{fn}
;)

Re: Format with {original} not working

Posted: 17 Dec 2019, 01:37
by user1349813
Thank you.

Why does https://www.filebot.net/naming.html suggest that {original} is a valid token?

Re: Format with {original} not working

Posted: 17 Dec 2019, 01:41
by kim
fn = current filename
original = the "fn" if renamed AND has this data in xattr aka metadata
viewtopic.php?t=324

Re: Format with {original} not working

Posted: 17 Dec 2019, 08:42
by rednoah
user1349813 wrote: 17 Dec 2019, 01:37 Why does https://www.filebot.net/naming.html suggest that {original} is a valid token?
{original} refers to the original filename before any renaming with FileBot, as stored in the net.filebot.filename xattr field when the file was renamed with FileBot for the first time:
viewtopic.php?t=324

:arrow: Hence, on first rename, {original} is always undefined.