MinimServer Forum
indexTags usage (equal / not equal) - Printable Version

+- MinimServer Forum (https://forum.minimserver.com)
+-- Forum: MinimServer (/forumdisplay.php?fid=1)
+--- Forum: General (/forumdisplay.php?fid=2)
+--- Thread: indexTags usage (equal / not equal) (/showthread.php?tid=7477)



indexTags usage (equal / not equal) - sephiburp - 17-02-2025 15:22

Hello there,

I'm new with MinimServer, I use it since a few days and I love it already Wink

I have a custom tag in some of my music files, like 'CUSTOM=dad'.
With minimServer I would like to have two lists :
- dadList : containing only the music with 'CUSTOM=dad'.
- otherList : containing only the music without 'CUSTOM=dad'.

For the first list, I can do it by adding this into indexTags : CUSTOM=dad:dadList
For the second list, I just have no idea how to do it... I tried some stuff like 'CUSTOM!=dad:otherList', 'CUSTOM<>dad:dadList', but no luck.

Well actually I understood that I can add just 'CUSTOM' into indexTags, then I have an automatic indexing based on this tag and I get two lists : 'dad' and '[unknown]'.
But I don't like the name '[unknown]', I'd rather prefer a real name of my own.

Any help is welcome!


RE: indexTags usage (equal / not equal) - Andy5219 - 17-02-2025 15:59

Hi - as CUSTOM "without" is most probably empty you could use "Other" instead --- then you are on the "positive side" again ...


RE: indexTags usage (equal / not equal) - sephiburp - 17-02-2025 16:27

No luck, I see only now that we cannot have two indexes with the same tag name Sad
I tried this :

indexTags : Artist, Date, Genre, All Artists, Composer, *RecentAdded, *RecentPlayed, #AudioData, #AudioFormat, CUSTOM=dad:dadList, CUSTOM=other:otherList

And I get the error : Duplicate index tag name 'CUSTOM'.


RE: indexTags usage (equal / not equal) - simbun - 17-02-2025 17:13

Assigning a tag default should work:

Code:
tagValue: Custom.default={'sephiburp'}



RE: indexTags usage (equal / not equal) - sephiburp - 19-02-2025 11:11

(17-02-2025 17:13)simbun Wrote:  Assigning a tag default should work:

Code:
tagValue: Custom.default={'sephiburp'}


Yes ! This is it, thank you !