Page 1 of 1

[already feature] Slightly change default track title format

PostPosted: May 14th, 2008, 8:49 am
by pickle
I think it'd be a good idea to slightly change the default track title format so that the dash between the artist & title only appear if both the artist and title ID3 fields are populated.

I tried my hand at it & came up with this:

%IFV2(%ITRM(%ARTI),%ITRM(%ARTI)%IFV1(%ITRM(%TITLE), - ),)%IFV2(%ITRM(%TITL),%ITRM(%TITL),)

However, the ' - ' still shows up if there is an artist, but no title. I'm not sure why. If this isn't something Cliff thinks he wants to put in, that's fine - but could I then get some help doing it for myself?

Thanks.

Re: Slightly change default track title format

PostPosted: May 14th, 2008, 6:25 pm
by Cliff Cawley
pickle Wrote:I think it'd be a good idea to slightly change the default track title format so that the dash between the artist & title only appear if both the artist and title ID3 fields are populated.

I tried my hand at it & came up with this:

%IFV2(%ITRM(%ARTI),%ITRM(%ARTI)%IFV1(%ITRM(%TITLE), - ),)%IFV2(%ITRM(%TITL),%ITRM(%TITL),)

However, the ' - ' still shows up if there is an artist, but no title. I'm not sure why. If this isn't something Cliff thinks he wants to put in, that's fine - but could I then get some help doing it for myself?

Thanks.


I've actually already done what you describe by default. Its possible you still have an old format string.

In order to reset to the default, clear the entire string and Xion will replace it with the default.

The default which automatically removes the - when there is no artist or no title is the following:

Code: Select All Code
%IFV1(%ITRM(%ARTI),%ITRM(%ARTI))%IFV1(%ITRM(%TITL),%IFV1(%ITRM(%ARTI), - ))%IFV1(%ITRM(%TITL),%ITRM(%TITL))


Hope that helps

Cliff :)

PostPosted: May 15th, 2008, 2:01 am
by pickle
Boy, I'm 0/2 lately.

Thanks.