[Logo] Jaikoz and SongKong Forums
  [Search] Search   [Recent Topics] Recent Topics   [Members]  Member Listing   [Groups] Back to home page 
[Register] Register / 
[Login] Login 
Syntax for multivalue 'Artists' field?  XML
Forum Index -> Jaikoz Questions
Author Message
arby

Pro

Joined: 16/02/2013 12:03:13
Messages: 27
Offline

I want to enter multiple values into the 'Artists' field.

E.g.
Code:
     John Doe; Jane Deer
 

But if I use that ^sytax, what shows in the 'Artist' column of the ColumnBrowser is a single, consolidated entry:
Code:
     John Doe; Jane Deer
 

What syntax do I need to use in the 'Artists' field,
Code:
     John Doe (some delimiter?) Jane Deer
 

so that I get *TWO*, separate entries in the 'Artist' browser column,
Code:
     John Doe
     Jane Deer
 

?
paultaylor

Pro
[Avatar]

Joined: 21/08/2006 09:21:27
Messages: 7461
Offline

Hi, you need to use \u0000

Code:
 i.e John Doe\u0000Jane Deer
 


After you have entered this you'll just see

Code:
 John DoeJane Deer
 


But if you reload the files you'll then see

Code:
 John Doe
 


but the value count will now say 2 instead of 1 indicating you have multiple values for this field, you can see all values by clicking on the number, you can also add or edit multiple values by clicking on the number.

We use \u0000 since this is the unicode character for the null character, which is also what is used in the ID3 format to store multiple values. But we use if for all formats in the UI, I would like to change this so more intuitive, the trouble is that just about any other character (such as ;) could be part of the actual data rather than a delimiter. Certainly ';' is commonly used to display multiple people in a single field.




thanks Paul (Administrator)
 
Forum Index -> Jaikoz Questions
Go to:   
Powered by JForum 2.1.6 © JForum Team