MinimServer Forum
Multiple aliases in indexTags - Printable Version

+- MinimServer Forum (https://forum.minimserver.com)
+-- Forum: MinimServer (/forumdisplay.php?fid=1)
+--- Forum: Music Tagging (/forumdisplay.php?fid=9)
+--- Thread: Multiple aliases in indexTags (/showthread.php?tid=5575)



Multiple aliases in indexTags - Gdg - 25-03-2020 10:53

Hello everybody, new user from Italy here.
I have a question I couldn't answer by myself, since I'm new to minimServer

I would like setting up multiple folders to list songs by all genre AND filtered by some specifical genre.
E.g.:
  • AllGenre
    • Ambient
    • Classical
    • Dance
    • Rock
  • RockGenre
    • Rock
  • DanceGenre
    • Dance
Doing like this works fine for one entry only:
* indexTags=...,Genre=Rock:RockGenre,...

But for two or more
* indexTags=...,Genre=Rock:RockGenre,Genre=Dance:DanceGenre,...
I got the error: "MinimServer: duplicate index tag name 'Genre'"

So, is there any way to do the above?

Thank you for your patience and help.


RE: Multiple aliases in indexTags - stefano_mbp - 25-03-2020 12:00

(25-03-2020 10:53)Gdg Wrote:  Hello everybody, new user from Italy here.
I have a question I couldn't answer by myself, since I'm new to minimServer

I would like setting up multiple folders to list songs by all genre AND filtered by some specifical genre.
E.g.:
  • AllGenre
    • Ambient
    • Classical
    • Dance
    • Rock
  • RockGenre
    • Rock
  • DanceGenre
    • Dance
Doing like this works fine for one entry only:
* indexTags=...,Genre=Rock:RockGenre,...

But for two or more
* indexTags=...,Genre=Rock:RockGenre,Genre=Dance:DanceGenre,...
I got the error: "MinimServer: duplicate index tag name 'Genre'"

So, is there any way to do the above?

Thank you for your patience and help.
Hello ... from Italy too ...

Search in the user guide for the use of tagupdate file ... it could solve your problem

You can find attached my tagupdate file as an example


RE: Multiple aliases in indexTags - simoncn - 25-03-2020 12:13

Welcome to the MinimServer forum!

You would need to create a separate tag for each genre that you want to index with this kind of shortcut. As stefano_mbp has said, you can do this with a tag update file (see this section). For example, your tag update file could contain the following:

@GENRE=Rock
+RockGenre=Rock
@GENRE=Dance
+DanceGenre=Dance

You would then need to change indexTags to:

Genre:AllGenre, RockGenre=Rock, DanceGenre=Dance


RE: Multiple aliases in indexTags - Gdg - 25-03-2020 12:13

All right, got it
Many thanks to both of you