Add multiple tracks at once using API

Read 3450 times

I'm trying to use the API to add tracks to a playlist.

The documentation says: "Specifies a keyword matching the filesystem path of the track(s) which should be added or removed. Note that these tracks must already exist in the media library."

Do I interprete this incorrectly when I think that adding multiple tracks at once should be possible ? I have added the request I use to try this, but only the first track is added to the playlist, so I was wondering if anybody else did manage to do this ?

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
  <request method="playlist" class="server">
Only one keyword is supported per API call.  That keyword may match one or more track(s), all of which will be added.