Renaming music files with filebot node

Support for Synology NAS, QNAP NAS and other Embedded Linux systems
Post Reply
quarttemps
Posts: 2
Joined: 15 Jan 2018, 13:51

Renaming music files with filebot node

Post by quarttemps »

Hi,

I would like to automatically rename the podcasts I download with Download Station with the filebot node.

I usually use mp3Tag, with the command line:

Code: Select all

$regexp(%_file_mod_date%,(..)/(..)/(....),$3$2$1) - %album%
The new name should be :

Code: Select all

{File modification date YYYYMMDD} - {album}
I cant't find how to call the "file modification date" variable with filebot.
Is there a way to this with Filebot ?

Thanks in advance,
QT
User avatar
rednoah
The Source
Posts: 22923
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Renaming music files with filebot node

Post by rednoah »

{dt} will give you the file creation date, so you can do something like this:

Code: Select all

{dt.format(/uuuu-MM-dd/)}
@see https://docs.oracle.com/javase/8/docs/a ... l#patterns

On Linux, there is no creation date, so the creation date defaults to the last modified date. On Windows and Mac however, creation date is different from last modified date.
:idea: Please read the FAQ and How to Request Help.
quarttemps
Posts: 2
Joined: 15 Jan 2018, 13:51

Re: Renaming music files with filebot node

Post by quarttemps »

Thank you !

Unfortunately, the process aborts. I need mediainfo, and I can't find it from the synocommunity on the package center of my 918+.
Post Reply