Page 1 of 1

Really simple problem?

Posted: 09 Nov 2006 21:55
by king_dan
Hey guys,

Have surched about a bit but just cant figure this one out!!

I need to insert an item in a playlist, but at a specific point, ie inbetween two other playlist items. This needs to be done from a web script, so via rc, http or command line.

Thanks folks :)

Dan

Posted: 10 Nov 2006 14:42
by Yapadavaro
Hi,

try to have an image of your playlist with an array in javascript.

Then, when you have a new MRL to add, clear your playlist, and reinsert your entries (in the array) till the wish insert entry, add your new, and continue by inserting next entries (the end of the array).

Hope this help.
I don't have the code, you have to write it.

Yap.