I have some doubts about how to have multiple tags. I want to set a character name, where there are several names:
For example Scott Summers, also known as Cyclops.
I have this SetProperty:
Code:
listitem.setProperty('charactername', issue['m_character'])
This Property is read from an .nfo file between the <character> </character> tags, being:
Code:
<name>Scott Summers</name>
This value (as well as others) is stored in a .json file as "m_character": "Scott Sumers", and this generates a database where when searching for Scott Summers, it will show all items related to this character (Just like what happens in the music section, where we have the artists).
and setting a
Code:
<label>$INFO[ListItem.Property(name), Character Name: </label>
on the skin, I get the string "Character Name: Scott Summers".
That is, I have ONE tag in the nfo for the character.
But just like in the music section, I would like to have multiple names on this Property. Where in .nfo would it be:
Code:
<name>Scott Summers; Cyclops</name> (separated by semicolons)
That way I would have TWO names for the same character.
As it stands, create only ONE ENTRY in the database: "Scott Summers; Cyclops" and I want two different entries to be created, one for each name (as well as in the music section where we have several artists for the same song)
Is it possible to achieve this result?
Sorry for the long text, but I tried to make it as clear as possible.