Action help

Hi there,

i put this in codec field to get the name MP3 but it dind work, help please:

$replace(%_codec%,'Windows Media Audio','WMA','Free Lossless Audio Codec','FLAC','MPEG 1 Layer III','MP3')

Cover art: how to get more sources?

I think it has to be the other way round:
$replace(%_codec%,'WMA','Windows Media Audio',...

i took this code here, i will look for the link, and try your way, thank you

it did not work also:

Something is wrong here

It was not quite clear where you wanted to have this.
Your original idea was OK, I think:
$replace(%_codec%,'Windows Media Audio','WMA','Free Lossless Audio Codec','FLAC','MPEG 1 Layer III','MP3')
You can only modify the display in the table but you cannot modify the data for the codec in the file.

The quotes should not be used.
Use this:
$replace(%_codec%,Free Lossless Audio Codec,FLAC,MPEG 1 Layer III,MP3,Windows Media Audio,WMA)

Did not work, for clearing, i want this folder to be:
The Housemartins - Raise The Flag (1997) [256 MP3]
and not
The Housemartins - Raise The Flag (1997) [256 MPEG 1 Layer III]

The Action:
%artist% - %Album% (%year%) '['%_bitrate% %_codec%']'

The value in the codec column:
i have tried this:
$replace(%_codec%,'Windows Media Audio','WMA','Free Lossless Audio Codec','FLAC','MPEG 1 Layer III','MP3')

$replace(%_codec%,Free Lossless Audio Codec,FLAC,MPEG 1 Layer III,MP3,Windows Media Audio,WMA)

the original post was here in the forums but i cannot find it.

Edit: found it: Codec
Edit2: it shows well in the column:

Change the Action to:
%artist% - %Album% (%year%) '['%_bitrate% $replace(%_codec%,Free Lossless Audio Codec,FLAC,MPEG 1 Layer III,MP3,Windows Media Audio,WMA)']'

This work thank you. :smiley: