Skip to main content

Notice

Please note that most of the software linked on this forum is likely to be safe to use. If you are unsure, feel free to ask in the relevant topics, or send a private message to an administrator or moderator. To help curb the problems of false positives, or in the event that you do find actual malware, you can contribute through the article linked here.
Topic: Folder structure genre/album/file keeping album structure (Read 1812 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

Folder structure genre/album/file keeping album structure

I am not much of a coding genius so that is why I am asking this. I would like to Organize my music folder like this; Genre/Album/File. But I have quite a lot of albums with song of multiple sub-genres. Is there maybe a way I can take the most common genre of an album and use that as the genre for my folder structure?

 

Folder structure genre/album/file keeping album structure

Reply #2
you can get the first value of a multi-value tag like this.

Code: [Select]
$meta(genre,0)


1 would give the 2nd value and so on.

edit: you can read more about it here: http://wiki.hydrogenaudio.org/index.php?ti...a.28name.2Cn.29

I can see how it would help but it would still cause problems, for example; you have an album with four songs one song has as genre Trip-hop but the next is a Breakbeat song. The album would still be split.

Sorry for being such a pain in the ass. I could do it album per album but it would be much more fun if I could use a script.

Folder structure genre/album/file keeping album structure

Reply #3
ah well i can't help you there. all title formatting is evaluated on a per-track basis so i don't think you'll have much joy trying to achieve this with foobar. you can't analyse a group of tracks to get the most popular value and apply it to other tracks.

edit: i don't use genre myself but if i did, i think i would expect all tracks on the same album to belong to the same genre?? even compilations of different artists would be similar....ish. i guess i'm a bit old fashioned.

Folder structure genre/album/file keeping album structure

Reply #4
ah well i can't help you there. all title formatting is evaluated on a per-track basis so i don't think you'll have much joy trying to achieve this with foobar. you can't analyse a group of tracks to get the most popular value and apply it to other tracks.

edit: i don't use genre myself but if i did, i think i would expect all tracks on the same album to belong to the same genre?? even compilations of different artists would be similar....ish. i guess i'm a bit old fashioned.

Yeah I think it is quite a long shot trying to achieve it with foobar. Maybe I can achieve this with some kind of database which keeps track of all genres and its sub-genres. But I'll just stick to Album/File for now.