Add tracks to playlists via API

Read 8651 times
Hi guys,

I'm currently trying to add tracks to playlists via API calls.. however, the Documentation is so limited, and I couldn't find the example online.

Anyone could provide me with a simple clear example of a call ?
I think It's something like:

playlist.add?playlist=1&trackpath=/2.mp3 ...Anyone can correct me ?

I really appreciate your help !!

Thanks a lot in advance

give me an email add, and I will send you the code. This useless forum wont let me post the code. It takes all the tags out :((
send me that code please to
Could share this code with me? This code of add song in the playlist via API? I am very grateful!
Hello Bill, would you send me the code ?
Guys -- I would STRONGLY recommend against posting emails in a public forum.
The following worked for me.  yourdir/yourfilename.mp3 is relative to the "media" directory (at least, it is on my provider). 

Code: [Select]
<?xml version="1.0" encoding="UTF-8"?>
<request class="server" method="playlist">