Hi,
I have a script that is controlling VLC via the unix sockets interface on a Mac.
It works ok in principle but I'm having big problems manipulating playlist information.
If I load a bunch of media into the playlist so that the GUI reports, say, 200 items...it's not always guaranteed that the remote interface agrees.
i.e if I were then to issue the command 'goto 190' via the socket interface, VLC may return 'Playlist has only 160 elements'.
i.e it generally *always* disagrees with the value given in the GUI, and the value my script itself holds internally (as it has a counter to know how many files it has added to the playlist at runtime).
Any ideas why this descrepency between the gui and the remote interface?
I've also noticed if I issue the 'playlist' command other the remote interface it doesn't *always* return the full playlist. Most of the times it only returns a partial list.
The two may be linked?
Any thoughts? I'm a bit stumped.
This is on a Mac, latest version and using 'nc -U' to interface to the socket file.
Help greatly appreciated.