# \[WS\] iTunes source script with multiple search criteria

**URL:** https://community.mp3tag.de/t/ws-itunes-source-script-with-multiple-search-criteria/47197
**Category:** Web Sources Scripts
**Created:** [November 30, 2019, 8:38pm UTC](https://community.mp3tag.de/t/ws-itunes-source-script-with-multiple-search-criteria/47197 "2019-11-30T20:38:05Z")
**Posts on this page:** 1
**Showing post:** 50

<div class="post-metadata">

### Author: ![Florian](https://community.mp3tag.de/user_avatar/community.mp3tag.de/florian/32/5759_2.png) [@Florian](https://community.mp3tag.de/u/Florian)
#### Post date: [March 16, 2025, 6:46am UTC](https://community.mp3tag.de/t/ws-itunes-source-script-with-multiple-search-criteria/47197/50 "2025-03-16T06:46:45Z")

</div>

> [@Mp3tag version 3.23 - json\_select\_many function (continued)](https://community.mp3tag.de/t/mp3tag-version-3-23-json-select-many-function-continued/62735/2):
>
> Mp3tag's internal tokenizer which splits a string using `|` as delimiters into its separate parts. It always expects a trailing delimiter character and if not present, adds it by itself.

This was related to the Windows version and applies to the Mac version as well — except that the latter doesn't add it by itself. So it's a requirement also for multi-value fields that don't miss the last entry and I'll try to document it on a more prominent place.

> [@rboss](#):
>
> to restore iTunes API functionality is to add the aforementioned command where necessary. Which should be done in this beta:

Thanks, this fixes the issue!

Please remove the calls to `Debug` and `DebugWriteInput` (the latter is not implemented on macOS, and those shouldn't be enabled on published scripts).

---

_[View the full topic](https://community.mp3tag.de/t/ws-itunes-source-script-with-multiple-search-criteria/47197)._
