Extract numbers on music file

Support for Synology NAS, QNAP NAS and other Embedded Linux systems
Post Reply
RolandB
Posts: 2
Joined: 03 Dec 2018, 11:57

Extract numbers on music file

Post by RolandB »

Hi,
I am new with Filebot and have a question about how to extract numbers from a music file.
I like to change:

0001 - Band - Song.flac

into:

Band - Song.flac

Please, how can this been done?
Have a nice day and many thanks in advance!
User avatar
rednoah
The Source
Posts: 22923
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Extract numbers on music file

Post by rednoah »

Plain File Mode will work just fine for this particular use case:
viewtopic.php?f=3&t=2072

Just use a format such as this:

Code: Select all

{fn.after(/ - /)}
:idea: Please read the FAQ and How to Request Help.
RolandB
Posts: 2
Joined: 03 Dec 2018, 11:57

Re: Extract numbers on music file

Post by RolandB »

Super thnx for your fast answer. I checked the link but how do i do this in FilebotNode on synology NAS? Can you give me a sample?

Edit:
I had to put the code in Unsorted format instead of the music format.

In the new folder the music file is without the numbers but now is also the .flac gone in the filename so there is no file to open?
What do i wrong? When i manually put .flac after the file can reopen it. How to change this automatically?
User avatar
rednoah
The Source
Posts: 22923
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Extract numbers on music file

Post by rednoah »

1.
FileBot Node doesn't support that at all. You'd have to log in via SSH and use filebot on the command-line with the --db file and --format options.


2.
If you're using FileBot Node, then you're always using the amc script:
viewtopic.php?f=4&t=215

There might be tricks to make it work, such as using music mode / format or unsorted mode / format. If you're using the unsorted format, then you could add .{ext} to your format to preserve the extension. But if you use music mode that would be default anyway, and since it's flac files, they should be processed with music mode anyway (if enabled, there's a checkbox for that).

:idea: You can use the Dry Run button to test things without actually renaming anything.
:idea: Please read the FAQ and How to Request Help.
Post Reply