I'm currently reading the /requests/playlist.xml file from another program, as suggested in another topic.
I'd like to be able to programmatically modify the playlist as well -- in particular, removing items (either by index or by id) and inserting items at a specific position (not just at the end), again either by index or by "id to insert before".
The readme shows a command to remove items but implies it's not actually working. I can't find anything for inserting items.
I'd prefer if there were some way to do it just using the scripts provided with VLC, but I'm ok with adding a custom script in if that's the only way to do it. But I'm not sure what it would need to call.