Hi!
I'm rewriting the rc console interface to implement special functionality for my Internet-TV channel.
Now I need one function, that is not straightforward. I need a special command (I call it "sweep") to delete all playlist contents except the currently playing file. There are two hurdles - to determine the file being played (I suppose I'll be able to find sometning like this in http interface) and to delete the all other playlist items (I don't know yet how to do this).
Could anyone give me a hint or code snippet?
TIA