IPB

Welcome Guest ( Log In | Register )

> foobar2000 General Forum Rules

This is NOT a tech support forum.
Tech support questions go to foobar2000 Tech Support forum instead.

See also: Hydrogenaudio Terms of Service.

 
Reply to this topicStart new topic
Album Sort Order Tagging and Implimenting with Flacs & foobar
bburl
post Jul 30 2009, 00:22
Post #1





Group: Members
Posts: 29
Joined: 10-May 07
Member No.: 43357



A couple of questions:

According to this site, Vorbis (which I believe is the scheme FLAC uses for tagging) has no standardized field name for how an artist's name should be sorted. That is, if an artist has his name entered as "First Last" in the artist field, there is no standard ancillary field that informs a program on how the name should be sorted. For example if someone wanted to have the name appear as "First Last", but actually be sorted as if it were "Last, First", there is no standard field name in the vorbis scheme for that. If that's true, any recommendations on what filed name I should use for an artist sort order type entry when I'm tagging?

Second, what code would I use to get foobar to sort artists differently than what is in the artist tag field? I'm currently using in my Album List Panel settings Views box:

CODE
$if($meta(album artist),Various Artists,$meta(artist))|%album%|[[%discnumber%.]%tracknumber%. ][%track artist% - ]%title%


Anyway to get some kind of 'artistsortorder' thing in there that will allow me to have the names appear "First Last" but be sorted "Last, First"?

Thanks

Ps sorry if this has been asked and answered before, I did a fair amount of searching before posting.
Go to the top of the page
+Quote Post
2E7AH
post Jul 30 2009, 01:17
Post #2





Group: Validating
Posts: 2424
Joined: 21-May 08
Member No.: 53675



If you mean i.e. "Johann Sebastian Bach" to be displayed as "Bach, Johann Sebastian" try this:

$right(%artist%, $sub($len(%artist%), $strrchr(%artist%, " ")))
,
$left(%artist%, $sub($strrchr(%artist%, " "),1))


or change %artist% to $meta(artist,0) or %album artist% or $meta(album artist,0) depending on your tagging preferences
Then of course it will be useless on band names so some control flow should be placed first

If you mean about prefixes "The" or "A", there is such function $swapprefix(%artist%)
Also for Album list panel it is possible to split multi value fields and swap prefixes in one step: $meta_branch_remap_swapprefix(artist)

As for the Album list panel, if you don't want sorting to be like Album list branching then: "preferences > media library > album list panel: advanced tab" and tick on "Apply core sort...". This way items sent by album list will be sorted by "preferences > general: sort incoming files by" pattern

[edit] grammar

This post has been edited by 2E7AH: Jul 30 2009, 01:25
Go to the top of the page
+Quote Post
drbeachboy
post Jul 30 2009, 01:25
Post #3





Group: Members
Posts: 499
Joined: 22-October 04
From: Southern NJ
Member No.: 17776



QUOTE
Anyway to get some kind of 'artistsortorder' thing in there that will allow me to have the names appear "First Last" but be sorted "Last, First"?
See above.

This post has been edited by drbeachboy: Jul 30 2009, 01:27


--------------------
Surf's Up!
"Columnated Ruins Domino"
Go to the top of the page
+Quote Post
bburl
post Jul 30 2009, 03:34
Post #4





Group: Members
Posts: 29
Joined: 10-May 07
Member No.: 43357



QUOTE (2E7AH @ Jul 29 2009, 18:17) *
If you mean i.e. "Johann Sebastian Bach" to be displayed as "Bach, Johann Sebastian" try this:


What I'm hoping for is to have it displayed as Johann Sebastian Bach and have the 'artist' tag written as Johann Sebastian Bach, but have him appear with the 'B' artists when I'm looking at my library.

This post has been edited by bburl: Jul 30 2009, 03:40
Go to the top of the page
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 16th April 2014 - 20:10