How can I get events when the media is played or paused?
Posted: 03 Apr 2013 19:12
I'd like a like to write a simple VLC extension that sends the filename to my website when a video/song is played in VLC. It's very similar to a scrobbling plugin.
It's very simple extension but I'd like to get events in my Lua script when the current media is "played", when it is "paused", when it is "stopped" or when it is "skipped". Can i hook my Lua script into these events? I've never written an extension for VLC before and I've never worked with Lua but I have a fair bit of programming experience and with the write nudge, I think I'll manage this quite well but I'm very, very lost right now. Any help? Thanks everyone.
It's very simple extension but I'd like to get events in my Lua script when the current media is "played", when it is "paused", when it is "stopped" or when it is "skipped". Can i hook my Lua script into these events? I've never written an extension for VLC before and I've never worked with Lua but I have a fair bit of programming experience and with the write nudge, I think I'll manage this quite well but I'm very, very lost right now. Any help? Thanks everyone.