I have a music collection consisting of several film soundtracks in Apple Lossless and I'd like to convert it to 48kbps OGG Vorbis in a completely different folder structure with file names in the following format:
/music folder/{album artist}/{album name}/{track number} {track title} - {track artist}.ogg
I would also like to extract the album covers in a separate file called 'AlbumArt.jpg' in the same folder.
The problem is I want to do this on my headless Ubuntu server - so terminal only.
Is there any way to do this without some extensive script-writing?
{track artist}
will be ridiculously because the artist is declared in the folder, at the begin. Also, all the songs are in the same format?/soundtracks/
, each soundtrack in it's own sub-folder(s). The source files are not named in one specific manner (except for the.m4a
part) so the only way to get things like{track number}
is from the tags. The files I want to convert are all in the same format, but of course it would be nice if the script could convert from other formats as well.