Add multiple tracks at once using API

Read 8674 times
Hi,

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"?>
<centovacast>
  <request method="playlist" class="server">
    <password>pw</password>
    <username>uname</username>
    <action>add</action>
    <playlist>33331</playlist>
    <trackpath>186100.mp3</trackpath>
    <trackpath>212000.mp3</trackpath>
  </request>
</centovacast>
Only one keyword is supported per API call.  That keyword may match one or more track(s), all of which will be added.