AIMP Forum

AIMP for Windows => Вопросы / Questions => Topic started by: Trueshape on May 13, 2021, 11:55:07

Title: A question about formatting
Post by: Trueshape on May 13, 2021, 11:55:07
Hi y'all!

I'm trying to edit the formatting into one of my liking, but I can't figure out something.

What I want is the following

Album - Artist - Title

But not every song have the Album metadata, then in that case I would like to get rid of the Space Dash Space before the Artist resulting in
Artist - Title

Same goes for Artist. Not every song have the artist value filled, so I would like to get rid of the Space Dash Space after it

Basically some song should be
Album - Artist - Title
but if there is no Album
Artist - Title
and if there is no Artist
Album - Title

Not sure If I've been clear ^^"

edit:
maybe i figured out by myself

%IF( %album,%album %artist,%artist) - %Title
Title: Re: A question about formatting
Post by: JD on May 13, 2021, 12:15:51
Code: [Select]
%IF(%Album,%Album - ,)%IF(%Artist,%Artist - ,)%Title
Title: Re: A question about formatting
Post by: Trueshape on May 13, 2021, 12:17:29
Thank you very much!!