Kodi Community Forum

Full Version: Isolating individual items in ListItem tag?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Is there any way to pull a single item when ListItem pulls from a source that has multiple items?

For example, if a tag has multiple studios (or artists, tags, etc.) it appears like this in an NFO:
Code:
<studio>Lucasfilm</studio>
<studio>Walt Disney Studios Motion Pictures</studio>
And when implemented as ListItem.Studio, Kodi presents it as Lucasfilm / Walt Disney Studios Motion Pictures

I'd like to be able to pull individual items instead of a list string. Something like ListItem.Studio1 would present only Lucasfilm. Is this possible? Apologies if this has been covered somewhere. I've looked for a while and haven't found anything. This seems like it should be really simple but it's driving me crazy.
You can get the first studio with skin helper. You also get a [CR] separated list so each is on a new line rather than the forward slash separator. But there isn't a way to get individual ones past the first one.

https://github.com/marcelveldt/script.sk...ideo-items