Page 1 of 1
Music Sorting Help
Posted: 16 Jan 2015, 21:48
by Odysseus37
I was wondering if there was anyway I could keep albums together. When I match I match an album, let's use Arcade Fire's Funeral for example, Neighborhood #1 and Neighborhood #3 each where released as singles before the album came out, so when I match them, they're matched to their singles, not the album. I'm guessing there's no real way to fix this, but I figure it wouldn't hurt to ask.
This is the filepath, btw:
Code: Select all
{if (n == 'null') {Artist} else {n}}/{[y]}{album}/{pi}. {t} - {artist} ({audio.bitrateString})
Re: Music Sorting Help
Posted: 17 Jan 2015, 14:51
by rednoah
That's currently not possible. Music files are processed file-by-file and currently one file cannot affect how another is processed, or how they're processed as a group.
If the files are already ID3 tagged you could take album info from the ID3 tags via MediaInfo bindings though.

Re: Music Sorting Help
Posted: 17 Jan 2015, 18:57
by Odysseus37
Thanks, that does seem to work for sorting it into just a single album. Now I'm running into a different problem. When using that method, it seems to skip over the Artist sort and just sort it by album. So instead of my music being sorted by G;/Media/Music/Artist/[Year] Album/Track - Artist, it's being sorted by G:/Media/Music/[Year] Album/Track - Artist
It's weird because when I use the AucoustID, it sorts by Artist first, and the Artist name IS popping up after the trackname if I use the ID3 tags.
Re: Music Sorting Help
Posted: 17 Jan 2015, 19:12
by Odysseus37
Hmmmm....it seems to work if if just take off the if-then and just set it to Artist. Doesn't work if I just set it to n or AlbumArtist, though.
Re: Music Sorting Help
Posted: 17 Jan 2015, 19:17
by Odysseus37
Okay, I think I know what's going on. If there's no AlbumArtist on the ID3, then it just skips it over. Is there anyway I can rephrase my if-then so it doesn't do that?
Re: Music Sorting Help
Posted: 17 Jan 2015, 19:21
by rednoah
"ID3 Tags" and "AcoustID" is two completely different ways of getting the data, so the data may be completely different.
By "skipping" you mean: My {expression} fails, evaluates to nothing, leading to paths like /music//album/etc, so you will simply have to fix your format accordingly. Just double-click the entry and you will be able to quickly prototype your code (the if condition is wrong btw) in the Format Editor on the real data. You'll also see what data is actually available.
n is mapped to AlbumArtist preferably but will default to Artist if the former isn't defined.
EDIT:
Read this =>
viewtopic.php?f=5&t=1895
Re: Music Sorting Help
Posted: 17 Jan 2015, 19:48
by Odysseus37
Ooooh, so n is already an if-else for AlbumArtist/Artist? That's great. Thanks!