Rockbox Technical Forums

Support and General Use => Audio Playback, Database and Playlists => Topic started by: alfred on November 15, 2006, 04:53:30 AM

Title: workarounds for 'album artist' & 'disc number'
Post by: alfred on November 15, 2006, 04:53:30 AM
i'd like to share my workaround for the missing album artist and discnumber support with you. all you need is a rockbox player and foobar2000. i have my files tagged with album artist either when there are various artists on one disc or when the artist features other artists on some tracks (this information is stored in my (track) artist fields). the result ist that rockbox has an all too full artist list. i use the composer field for my workaround to get a list that consists only of album artists and 'various artists'

- when your player is connected, add the music directory to a new fb2k playlist. DO NOT RUN THE SCRIPTS ON YOUR LOCAL FILES, ONLY ON YOUR PLAYERS HD!
- select all tracks
- context menu -> tagging -> manage scripts
- select 'format value from other fields'
- destination: composer, string: $if(%album artist%,%album artist%,%artist%) --> if album artist exists, write album artist to composer, else write artist

if you have discnumbers, add the following to the script:
- format value from other fields
- destination: album, string: %album%[ - cd %disc%] --> if disc number exists, add " - cd 1/2/3" to album title

save this script as e.g. "rockbox tagging" and run it.

in rockbox, re-initialize tag cache and reboot.

voila:

the composer menu (which you can rename to album artist now) contains a list of the album artists including 'various artists'. the discs of multidisc albums are seperated into different folders which can now be added to playlists in the correct order instead of having 1,1,1,2,2,2,3,3,3...

if you add new albums, simply run the saved script which can be found in the context menu now. ONLY do so AFTER you have copied them to your player! better create a new playlist and add the directories from the player to be sure.

i've also some scripts for file copying to my player installed, which makes fb2k the only prog i need for music file management.

if you have got other solutions or suggestions for improvement, please post!

cu,
alfred
Title: Re: workarounds for 'album artist' & 'disc number'
Post by: Rincewind on November 15, 2006, 07:11:45 AM
That's a nice workaround. I might be tempted to use TagCache again with this.
Title: Re: workarounds for 'album artist' & 'disc number'
Post by: alfred on December 21, 2006, 06:00:48 AM
it's become easier to use this workaround since cwbowron has released a new version of his sendtodevice-component for foobar which can apply any context menu entries on files after copying (you can set up a path definition using TAGZ). so the tag cache trick can now be applied automatically. this is very comfortable especially if the files have been copied to various directories.

http://wiki.bowron.us/index.php/Foobar2000:SendToDevice
(the easiest way to transfer your music to any dap anyway, imho)

cu,
alfred
Title: Re: workarounds for 'album artist' & 'disc number'
Post by: danhibiki on December 25, 2006, 03:39:35 PM
You can use (test) this patch for disc number support in TagCache:
http://www.rockbox.org/tracker/task/4961

;)

But you'll need to continue using your album artist hack, so it may not be so useful :(

I don't have many "various artists" albums, so I never felt this need, but I may take a look into it and maybe create a patch to it...
Title: Re: workarounds for 'album artist' & 'disc number'
Post by: Rincewind on December 31, 2006, 11:16:02 AM
I only have about 10-15 albums with Various Artists, but they are enough to let me stay with folder view (the workaround doesn't work for me now because I'm using linux and no foobar2000 anymore  :-[).
50 artists in the tag database view that only have one or two tracks are really annoying for me, because I usually listen to whole albums. So I would really like to have album artist support in Rockbox!
Title: Re: workarounds for 'album artist' & 'disc number'
Post by: NicolasP on December 31, 2006, 11:21:21 AM
the workaround doesn't work for me now because I'm using linux and no foobar2000 anymore  :-[
You can use foobar2000 under linux with wine. It works quite well (even plays music :)). I wouldn't recommend using it over a native audio player, but it will do all the file management tasks perfectly.
Title: Re: workarounds for 'album artist' & 'disc number'
Post by: bascule on December 31, 2006, 12:23:07 PM
I use a filename-based workaround for compilation artists:

All my compilation album tracks are tagged with the track artist, as I prefer that to 'Various', but the filenames have '_cmpl' at the end like '05-Your Body_cmpl.ogg' or '10-Phat Beach (I'll Be Ready) [Uniting Nations Remix]_cmpl.ogg'. They were batch-renamed using MP3Tag, so it took very little effort.

Using the database custom navigation file ability to filter on 'filename contains.../does not contain...', I can then differentiate between compilation and non-compilation album tracks without having to bastardise existing tags as below:

Code: [Select]
"All single-artist albums" -> album ? filename !~ "_cmpl" -> title = "f_browse"
"All compilation albums" -> album ? filename ~ "_cmpl" -> title = "f_browse"
Title: Re: workarounds for 'album artist' & 'disc number'
Post by: Rincewind on January 01, 2007, 09:30:04 PM
the workaround doesn't work for me now because I'm using linux and no foobar2000 anymore  :-[
You can use foobar2000 under linux with wine. It works quite well (even plays music :)). I wouldn't recommend using it over a native audio player, but it will do all the file management tasks perfectly.

I tried foobar2000 with wine but it didn't work very well in the short time I played with it. Right now I'm too lazy to organize my music differently (again), so I just leave it as it is.
Bascule, your workaround is quite nice, too. I didn't know that this is possible with the tagnavi config. Shouldn't take long and our tagnavi syntax is turing complete ;)