Xion Audio Player

[already feature] Slightly change default track title format

Added features are moved here for archival purposes, usually marked with the build number they were added in.

Postby pickle » May 14th, 2008, 8:49 am

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.
User avatar
pickle
Xion Admirer
 
Posts: 180
Joined: September 9th, 2006, 3:56 pm

Postby Cliff Cawley » May 14th, 2008, 6:25 pm

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 :)
Cliff Cawley
Creator of Xion
r2 Studios
http://www.r2.com.au
http://xion.r2.com.au
User avatar
Cliff Cawley
Creator of Xion
 
Posts: 1955
Joined: September 3rd, 2006, 11:33 am
Location: Brisbane, Australia

Postby pickle » May 15th, 2008, 2:01 am

Boy, I'm 0/2 lately.

Thanks.
User avatar
pickle
Xion Admirer
 
Posts: 180
Joined: September 9th, 2006, 3:56 pm

Return to Feature Requests - Added

Who is online

Users browsing this forum: No registered users and 4 guests

cron