.Net - How to get command acknowledgements or updates?

All you've ever wanted to know about the ActiveX, Mozilla plugins, the web interface and various PHP extensions
anolae
New Cone
New Cone
Posts: 2
Joined: 07 Feb 2008 19:01

.Net - How to get command acknowledgements or updates?

Postby anolae » 07 Feb 2008 20:08

Hello,

I am building a .Net application that aims to be a video player and library, with playback functionnalities based on VLC. I decided to use the .Net interface provided by Tappen (many thanks to him for it) as I read that it has more functionnalities than the ActiveX control.

Yet, I am running into some issues. I would like to synchronise my GUI with VLC status (playlist content, playback progress, volume...), but I am not sure how to do that. I understood that there can be no direct acknowledgement to command as VLC is asynchronous; as far as I can see, there is no event raised. One way would be to query the status every second for instance but it does not seem to me as a light and nice way to work.

Am I missing something? Can someone help me?

Thanks in advance !

badubo
Blank Cone
Blank Cone
Posts: 17
Joined: 18 Jan 2006 23:06

Re: .Net - How to get command acknowledgements or updates?

Postby badubo » 14 Feb 2008 16:48

For this purpose, I tested to add the rc interface when initializing the library (with extrainf and rchost parameters).
With this, you can open a socket and get informations about status and use it as a c# event.
It works.... except that the application crashes each time it reach the end of the second movie send (never find why...).


Return to “Web and scripting”

Who is online

Users browsing this forum: Google [Bot] and 5 guests