You are looking for an Action, not an event. In your plug-in override the OnAction method and listen for the Action.ActionType.ACTION_MUSIC_PLAY action. Don't be misled by the name, it is called ACTION_PLAY_MUSIC but it is triggered for any sort of playback. Maybe a relic from the old days? I dunno.
You can see the implementation in Moving Pictures here. Your's will probably need to be a little different because I assume you're doing a process plug-in rather than a window plug-in. Never messed with the process stuff so maybe some method names are a little different, but generally that is what you want to do.
Hello,
I would like to use a media server to display various learning categories. I prefer not to use software like Kodi, as it requires extensive metadata scraping that I don't need.
Is it possible to instantly access the video categories when landing on the page? I would like to display a single media page with the following...
Hello,
I would like to use a media server to display various learning categories. I prefer not to use software like Kodi, as it...
Hello,
I would like to use a media server to display various learning categories. I prefer not to use software like Kodi, as it...
Hi there,
since I changed TV and HTPC's CPU, I'm wondering if this guide:
Guide
could be considered still good today, since it's been almost 13 years since then and it's still referring to a resolution of 1080p?
I say this because I have a new Panasonic 4K HDR TV, and with that settings, even if I have an old Gygabyte GPU (bought...
Hi there,
since I changed TV and HTPC's CPU, I'm wondering if this guide:
Guide
could be considered still good today, since it's...
Hi there,
since I changed TV and HTPC's CPU, I'm wondering if this guide:
Guide
could be considered still good today, since it's...
Hi mate,
As usual, you are always first up with an offer of assistance, and I really appreciate it. So sorry I haven't replied. I'll send you a PM now.
Cheers,
Steve.
Hi mate,
As usual, you are always first up with an offer of assistance, and I really appreciate it. So sorry I haven't replied...
It appears that MP somehow caches previously used subtitle files for subsequent use next time the same video is played. My problem...