Using VLC 2.01 on a Windows 10 machine with VB .NET 2017. Programmatically controlling VLC to display network video streams. Have this working.
Each time it changes the stream, have to use a "plalist.add(xxxxxxxxx)" and "playlist.next()" and finally "playlist.play()". This does work... but...
I know I'm really creating an every-growing playlist. Don't want that. Just want to send an address, have VLC play it, and then send a new address and another play command when appropriate, with no ever-growing list.
Now, I can use the "playlist.items.clear()" to clear the list, and that does clear the list. However, whatever stream was playing at the moment the list is cleared is the stream we're stuck with. If we try another "add" and "next" and "play" with a different stream, it doesn't matter. The stream doesn't change. We're stuck until we restart the app.
Have done a lot of tests to try to find info that I haven't been able to find by searching the web for several days, so I'm now asking...