MinimServer Forum
Storing multiple values in the same tag - Printable Version

+- MinimServer Forum (https://forum.minimserver.com)
+-- Forum: MinimServer (/forumdisplay.php?fid=1)
+--- Forum: General (/forumdisplay.php?fid=2)
+--- Thread: Storing multiple values in the same tag (/showthread.php?tid=1780)



Storing multiple values in the same tag - Bunbury - 03-09-2014 23:29

Hi,

What is the syntax for storing multiple values in the same tag ?
For example if I have a concerto for Violin AND Piano, and I stor this information in the tag SolistInstrument, what should I store ? "Violin,Piano" or "Violin;Piano" or something else entirely ?

Maybe it depends on the controller ? Is this case, what about the main ones on ios and android ? How do I make this work ?

The behaviour I would like to see is that a song that has two values for a tag appears in both filters. The concerto would appear when I choose Violin but also when I choose Piano. And I don't want a third value being Violin and Piano.

Can you guys help ?

** EDIT

Let me rephrase the questions Smile
Apparently the correct way is to store twice the same tag in the file, with two different values.
MinimServer reads these and send an XML file to the controller who will display them.
There is an option to minim to choose how to send the XML file (I guess the correct setting depends on what controller you're using)
So my question becomes: how do I make sure the file is properly tagged for Minim ?
I'm using MP3TAG and the interface does not allow this. Some posts suggest using \\ in the field but then it won't be stored in the file as multiple entries...
Help Smile


RE: Storing multiple values in the same tag - Bunbury - 04-09-2014 10:35

up after edit


RE: Storing multiple values in the same tag - simoncn - 04-09-2014 10:41

(03-09-2014 23:29)Bunbury Wrote:  Hi,

What is the syntax for storing multiple values in the same tag ?
For example if I have a concerto for Violin AND Piano, and I stor this information in the tag SolistInstrument, what should I store ? "Violin,Piano" or "Violin;Piano" or something else entirely ?

Maybe it depends on the controller ? Is this case, what about the main ones on ios and android ? How do I make this work ?

The behaviour I would like to see is that a song that has two values for a tag appears in both filters. The concerto would appear when I choose Violin but also when I choose Piano. And I don't want a third value being Violin and Piano.

Can you guys help ?

The syntax for entering multiple values depends on the tagging program that you are using. In Mp3tag, the syntax is value1\\value2. Which tagging program are you using? Also, what types of files do you have (e.g., MP3, FLAC, ALAC, M4A/AAC)?

If the tag values are entered correctly, this should work with all control points.


RE: Storing multiple values in the same tag - Bunbury - 04-09-2014 10:53

Thanks for your answer.
Let me copy here the bit I added to my original post:

Let me rephrase the questions Smile
Apparently the correct way is to store twice the same tag in the file, with two different values.
MinimServer reads these and send an XML file to the controller who will display them.
There is an option to minim to choose how to send the XML file (I guess the correct setting depends on what controller you're using)
So my question becomes: how do I make sure the file is properly tagged for Minim ?
I'm using MP3TAG and the interface does not allow this. Some posts suggest using \\ in the field but then it won't be stored in the file as multiple entries...
Help Smile


So you confirmed the \\ used by mp3tag.
I guess this is how it is entered in the interface but it is correctly stored as multiple entries for the same tag in the file.
And then I guess MinimServer will read them properly.
-- Can you confirm that ?
Then it is up to the Control Point to display them correctly according to the XML sent by MinimServer.
I guess most control points work correctly with the default settings in MInimServer but if it does not work, there's still the option for MinimServer to send the data differently.
-- Can you confirm that ?

Thanks a lot


RE: Storing multiple values in the same tag - simoncn - 04-09-2014 11:13

(04-09-2014 10:53)Bunbury Wrote:  Thanks for your answer.
Let me copy here the bit I added to my original post:

It's best to send a new post if you are adding important new information. The forum doesn't send notifications when a post is edited, so it's easy for people to miss these edits.

Quote:So you confirmed the \\ used by mp3tag.
I guess this is how it is entered in the interface but it is correctly stored as multiple entries for the same tag in the file.
And then I guess MinimServer will read them properly.
-- Can you confirm that ?
Then it is up to the Control Point to display them correctly according to the XML sent by MinimServer.

Yes, that's correct.

Quote:I guess most control points work correctly with the default settings in MInimServer but if it does not work, there's still the option for MinimServer to send the data differently.
-- Can you confirm that ?

Thanks a lot

If it doesn't work, please post a description of the problem to the forum (with details of which control point you're using). There are a few MinimServer options that cause MinimServer to send data to the control point in a different format.


RE: Storing multiple values in the same tag - Bunbury - 04-09-2014 11:20

Thanks. I'll let you know.


RE: Storing multiple values in the same tag - Bunbury - 04-09-2014 18:21

With MediaConnect on iOS, mp3tag on MacOS (using \\ to separate values in the same tag), and Minim on Syno, it works perfectly.

Thanks