Post Reply 
indextag with multiple values
13-01-2025, 16:16
Post: #1
indextag with multiple values
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 :-)
Find all posts by this user
Quote this message in a reply
13-01-2025, 16:49 (This post was last modified: 13-01-2025 19:01 by simoncn.)
Post: #2
RE: indextag with multiple values
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.
Find all posts by this user
Quote this message in a reply
13-01-2025, 17:14
Post: #3
RE: indextag with multiple values
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 Angel
Find all posts by this user
Quote this message in a reply
13-01-2025, 18:05
Post: #4
RE: indextag with multiple values
What error message was shown with the red icon?
Find all posts by this user
Quote this message in a reply
13-01-2025, 18:19
Post: #5
RE: indextag with multiple values
MinimServer: non-matching '@' instruction in line 2 of /volume1/Music/library/tagUpdate.txt
Find all posts by this user
Quote this message in a reply
13-01-2025, 18:58
Post: #6
RE: indextag with multiple values
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=˚
Find all posts by this user
Quote this message in a reply
13-01-2025, 19:17
Post: #7
RE: indextag with multiple values
Thanks Simon Smile

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
Find all posts by this user
Quote this message in a reply
13-01-2025, 21:12
Post: #8
RE: indextag with multiple values
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}
Find all posts by this user
Quote this message in a reply
14-01-2025, 00:08
Post: #9
RE: indextag with multiple values
amazing Simon,

ALBUMSTAR=˚:Albums ☆☆☆☆☆ was the one Wink
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
Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)