Centova Technologies Forum
Centova Cast v2 => Technical discussion => Topic started by: tot2ivn on August 31, 2009, 06:05:14 pm
-
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
Totti
-
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 penzijoner@gmail.com
thanks!
-
Could share this code with me? This code of add song in the playlist via API? I am very grateful!
zerutreck@gmail.com
-
Hello Bill, would you send me the code ? seidonakanishi@gmail.com
-
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).
<?xml version="1.0" encoding="UTF-8"?>
<centovacast>
<request class="server" method="playlist">
<action>add</action>
<playlistname>yourplaylistname</playlistname>
<trackpath>yourdir/yourfilename.mp3</trackpath>
<username>yourusername</username>
<password>yourpassword</password>
</request>
</centovacast>