Steve Baumgarten Wrote: 
> I'm still poking around looking for an automated way to generate them 
> based on the values of the ARTIST, ALBUM and YEAR tags so I can have 
> something like "ARIST|YEAR|ALBUM" and have albums sort by artist, and 
> then within artist chronologically by year, and then by album name. 
> Haven't been able to put anything together yet, though.
Have a look at Mp3tag (ignore the name - it works on most audio file
formats):

http://www.mp3tag.de/en/

You can set up "actions" in Mp3tag that will build tags from other
tags, or from parts of the file name.  And vice versa, you can rename
files based on tag information or from parts of the file name.

I use two actions for this - one for individuals ("Miles Davis") and
one for groups ("The Rolling Stones").  The difference being that the
former swaps first/last name, while the latter just removes leading
articles.  Because of the difference, it would be nearly impossible to
automate a script to run through your entire library and create the
ALBUMSORT tag.

Here's what the 'individuals' Mp3tag action does for flac files:

1. Create tag ARTISTSORT and set it equal to ARTIST.
2. Using a regular expression, swap first and last name in ARTISTORT.
3. Set a temporary tag (Mp3tag has no variables to use in a multi-step
action, but you can create tags and later discard them) of
TMP_ALBUMSORT=ALBUM.
4. Using a regular expression, remove leading articles (the, los, les,
etc.) from TMP_ALBUMSORT.
5. Set ALBUMSORT=ARTISTSORT|YEAR|ALBUM.
6. Discard TMP_ALBUMSORT by setting it = "".

Technically, it's not necessary to remove leading articles from either
the album or artist name, since SlimServer can do this.  I just choose
to do it explicitly in the ARTISTORT and ALBUMSORT tags.  The actual
actions are just a little more complex than this, because I have it
work on either FLAC or MP3 files, setting the appropriate tag according
to the file's extension.

If you like, drop me an email and I could send you a zip file with my
customized actions - they're each stored within a text file, so they
could easily be installed on your system.


-- 
JJZolx

Jim
------------------------------------------------------------------------
JJZolx's Profile: http://forums.slimdevices.com/member.php?userid=10
View this thread: http://forums.slimdevices.com/showthread.php?t=18141

_______________________________________________
Discuss mailing list
[email protected]
http://lists.slimdevices.com/lists/listinfo/discuss

Reply via email to