2

In my C# application i need to trigger some events when a VLC player (preferably) starts playback (a play button is pressed in VLC for example).Tried Windows Media Player classic with Microsoft Spy++ and observed messages that are sent when playback starts\repeats but i don't know how i could "catch" those messages in my C# code.So my question: is there any way to hook up to event in VLC (or WMP) and get notified about playback status (play, stop, start of repeat).

My goal is to create a C# function that waits for start of playback event in player and then triggers some actions in my application (this should also happen when playback ends and starts repeating). What approach should i take here?

Just to clearify: I don't want to embedded a new instance of VLC in my app, but instead control/read the "real" full version of VLC, started seperatly by the user

4

2 回答 2

1

下面链接的文章看起来很旧,但如果不直接使用该组件,也许您可​​以从中收集一些有用的信息。

.NET 到 VLC 的接口

于 2010-05-26T08:36:55.647 回答
0

如果您想控制完整的,您可能必须使用 telnet 界面或 Web 界面

于 2010-09-02T20:44:32.850 回答