Extract text from title or filename

I have ripped several CDs with incorrectly formatted freedb entries. The artists' names and track titles are combined in the Title tag, usually separated by a dash or a solidus (/), and the Title tags just say 'Various Artists'.
Is there a way to extract the component text automatically?
(Apologies if this has been covered before.)

Not quite clear what can be found in the title field as you mention it twice.

I assume you have a TITLE field like Deep Purple / Smoke on the Water

Create an action of the type "Guess value" for %title%
Guessing pattern: %artist% / %title%

Please note that the separator has to be entered exactly as it is in the field. It is a difference whether you find
%artist% / %title%
or
%artist%/%title%

This is very common in freedb with samplers because no albumartist is used. As you don't tell us what's in the filename I cannot tell you how to resolve the problem with the filename.
Have a look at the FAQ
/t/8016/1

Without using the filename you can use two actions or combine them as an action group:
First you have to get the files with the same separator in a row. Then mark all of them.

  1. Save the calue of the artist-tag to the albumartist-tag
    Action Type: Format Values
    Field: ALBUMARTIST
    Format String: %artist%

  2. Get artist and title from the title-tag
    Action Type: Gues Values
    Source Format: %title%
    Guessing pattern: %artist%/%title%
    or %artist% / %title% or %artist% - %title%

The guessing pattern of the second action depends of the kind of separator in the tags and if there is a white space or not. The separator is always the complete string of characters between artist and title.

Test this with a copy of your files. It does not work properly if the chosen separator character is present in the artist-name too.

Sorry, I mistyped. I meant that the Artist tags all say 'Various Artists'.

I'll try out your suggestions.

Brilliant. It worked a treat. Thank you.

Not for me it didn't as i don't have a clue

Heres where i tried and failed

Can someone do an idiots guide



Is this a completely different problem? The action for case conversion has nothing to do with import das from a text file?
If this is a different problem, could you open a new thread?

No exactly the same problem as Bill TKD

A left the picture so you could see i was trying to work it out for myself, but failing badly

For me it is absolutely not clear what you want to do: you use an action of the type "Case conversion" that either applies a capital letter to the first word, every word or all in capitals.
What does that have to do with the extraction of text from title or filename?

Or could this be the case: "case" and "Guess" sound so similar and you do not use the English version?!
The "Guess value" action could be named something like "import data from tag-field" - see if you find an action that looks like it can get data from a tag-field and then see if that works better.

This is exactly what i am trying to correct


Get the artist correct

And then rename the filename from the tags ARTIST and TITLE

Thanks


In your case, I think, the separator in %title% is the " - ".
Action of the type "Guess value" for
Source: %title%
Guessing Pattern: %artist% - %title%

Yes that's it, i just don't know how to implement it :frowning: :frowning: :frowning:

There are some threads about actions in the FAqs: /t/967/1

Perhaps that helps.

Thanks for trying but that didn't help :angry:

But i did finally work out how :smiley: :smiley:

As the link lead to a fairly comprehensive part of the FAQs, it would be nice to hear why those passages did not help. Only with feedback it is possible to improve them.