![]() |
|
indextag with multiple values - Printable Version +- MinimServer Forum (https://forum.minimserver.com) +-- Forum: MinimServer (/forumdisplay.php?fid=1) +--- Forum: Support (/forumdisplay.php?fid=4) +--- Thread: indextag with multiple values (/showthread.php?tid=7434) |
indextag with multiple values - pask - 13-01-2025 16:16 Dear all, i have different albums tag values to rate albums, but they are not consistent. they can be 4,5 or 100, both ALBUMRATING or RATING tag i want to have them all display on my indexTags as one single section= Albums ☆☆☆☆☆ i made a tagUpdate.txt to get a small character in front of every favorite albums with the following : @ALBUMRATING=5 +ALBUMSTAR=˚ @ALBUMRATING=4 +ALBUMSTAR=˚ @RATING=100 +ALBUMSTAR=˚ under indexTags, I have ALBUMRATING=5:Albums ☆☆☆☆☆ how do I get to have both ALBUMRATING and RATING tag with the value 4,5,100 ? thanks Minimserver :-) RE: indextag with multiple values - simoncn - 13-01-2025 16:49 You can repeat the @ line to match multiple tag values, like this: @ALBUMRATING=5 @RATING=5 +ALBUMSTAR=˚ @ALBUMRATING=4 @RATING=4 +ALBUMSTAR=˚ @ALBUMRATING=100 @RATING=100 +ALBUMSTAR=˚ Edit: The above doesn't work. See post #6 for a corrected version. RE: indextag with multiple values - pask - 13-01-2025 17:14 Thanks, when I'm adding it the server crash (red icon) here is what I have - TAGUPDATE.TXT @ALBUMRATING=5 +ALBUMSTAR=˚ @ALBUMRATING=4 +ALBUMSTAR=˚ @RATING=100 +ALBUMSTAR=˚ @GENRE=Classique -GENRE=Classique +CLASSICALGENRE=Classique @GENRE=Contemporain -GENRE=Contemporain +CLASSICALGENRE=Classique @GENRE=Jazz -GENRE=Jazz +JAZZGENRE=Jazz @STYLE=ECM -STYLE=ECM +ECMSTYLE=ECM @GENRE=Chansons Francaises -GENRE=Chansons Francaises +FRANCAISGENRE=Chansons Francaises - SERVER PROPERTIES indexTags : Artist, All Artists, Composer:Compositeur, Conductor:Chef d'Orchestre, CLASSICALGENRE=Classique:Classique, JAZZGENRE=Jazz:Jazz, ECMSTYLE=ECM:ECM, FRANCAISGENRE=Chansons Francaises:Français, Orchestra:Orchestre, Genre, Style, ALBUMRATING=5:Albums ☆☆☆☆☆,*RecentAdded, *RecentPlayed, #AudioData, #AudioFormat itemtags : DISCNUMBER, Date, #AudioFormat,#AudioData, #AUDIOQUALITY,#AudioDuration, ALBUMSTAR, AlbumSort i want all album with both tag ALBUMRATING & RATING with value 4,5,100 to be displayed with "˚" in front of their album's name, and have them all in a section on my library index under Albums ☆☆☆☆☆ it's just too complicated for me
RE: indextag with multiple values - simoncn - 13-01-2025 18:05 What error message was shown with the red icon? RE: indextag with multiple values - pask - 13-01-2025 18:19 MinimServer: non-matching '@' instruction in line 2 of /volume1/Music/library/tagUpdate.txt RE: indextag with multiple values - simoncn - 13-01-2025 18:58 My apologies. You can repeat @ tags but only for different values of the same tag name, like this: @ALBUMRATING=5 @ALBUMRATING=4 @ALBUMRATING=100 +ALBUMSTAR=˚ @RATING=5 @RATING=4 @RATING=100 +ALBUMSTAR=˚ RE: indextag with multiple values - pask - 13-01-2025 19:17 Thanks Simon please, how do I get to have all of these albums all showing under a special indexTags, Albums ☆☆☆☆☆ I'm currently using this index tags: ALBUMRATING=5:Albums ☆☆☆☆☆ I have no idea how to add the RATING tag and the differents values all together RE: indextag with multiple values - simoncn - 13-01-2025 21:12 To have all these albums show under the Albums ☆☆☆☆☆ index, change this: ALBUMRATING=5:Albums ☆☆☆☆☆ to this: ALBUMSTAR=☆:Albums ☆☆☆☆☆ To have these albums displayed with ☆ in front of their album name, set the tagFormat property to this: Album.displayFormat={$albumstar^^ ^$album} RE: indextag with multiple values - pask - 14-01-2025 00:08 amazing Simon, ALBUMSTAR=˚:Albums ☆☆☆☆☆ was the one ![]() i guess there is a cleaner solution to sort all albums with rating >4 instead of naming all different numbers (created by different tag editors) in the TAGUPDATES.txt file This has solved my problem, I'm enjoying Minimserver so much cheers |