Centova Technologies Forum

Centova Cast v2 => Technical discussion => Topic started by: tot2ivn on August 31, 2009, 06:05:14 pm

Title: Add tracks to playlists via API
Post 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
Title:
Post by: Bill Herring on May 28, 2010, 11:50:01 am
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 :((
Title:
Post by: PsYhO on August 14, 2010, 03:18:36 am
send me that code please to penzijoner@gmail.com
thanks!
Title: me too
Post by: WRG on September 25, 2010, 11:47:50 am
Could share this code with me? This code of add song in the playlist via API? I am very grateful!

zerutreck@gmail.com
Title: Re: Add tracks to playlists via API
Post by: seidonakanishi on September 11, 2011, 01:49:20 am
Hello Bill, would you send me the code ? seidonakanishi@gmail.com
Title: Re: Add tracks to playlists via API
Post by: Steve C on September 11, 2011, 06:20:17 am
Guys -- I would STRONGLY recommend against posting emails in a public forum.
Title: Re: Add tracks to playlists via API
Post by: sjdj on December 26, 2011, 05:16:11 pm
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"?>
<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>