1

I have a lot of live mp3 files which are untagged. I can put them in Foobar2000 for automatic track numbers which isn't the issue. This is my Windows Explorer view:

enter image description here

I'm wondering if there is a way with Foobar2000 to change track names.
For example from 20050405_U2_LA1_04 Vertigo to Vertigo.

1 Answer 1

0

Taken from an older answer

  1. Right click your files you want to rename and select Properties in the context menu
  2. Go to Tools » Automatically fill values...
  3. Select Other... as Source and enter $trim($substr(%filename%,$strchr(%filename%, ),999))
  4. Set Pattern to %Title% and click OK

    enter image description here


How the formula works

  1. %filename% returns the filename. 20050405_U2_LA1_04 Vertigo in our example
  2. $strchr(%filename%, ) finds first occurrence of a character in a string. In our example it searches for the first space and returns 20 as its position
  3. $substr(%filename%, 20, 999) returns a substring of a string, starting at position 20 (taken from example) and ending at 999 (should be long enough to cover all cases). Our example would return Vertigo with a leading space
  4. $trim( Vertigo) removes the leading space

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .