Volume Message (4 Viewers)

opusnut

Portal Pro
February 22, 2006
109
0
Hi, i want to write a plugin that will catch the volume up,down and mute commands in MP so i can then fire off commands to my external gear. What messages in MP am i looking for?

thanx..
 

opusnut

Portal Pro
February 22, 2006
109
0
Volume GUI message

Can anyone tell me what the GUImessage for volume up,down and mute is??

thanx
 

samuel337

Portal Pro
August 25, 2004
772
0
Melbourne, Australia
I'd try listening in on actions, especially the ACTION_VOLUME_DOWN, ,ACTION_VOLUME_UP and ACTION_VOLUME_MUTE actions. To do this, add a handler to the OnActionHandler in MediaPortal.GUI.GUIGraphicsContext (I think that's the correct namespace - its in GraphicsContext.cs in Core\guilib).

Sam
 

Users who are viewing this thread

Similar threads

I don't think so, because MP has no way of knowing at which timestamp the external player stopped playback. Best way to achieve this would be to use an auto-resume feature in your external player itself. (MPC-HC can do that, I don't know about VLC)
I don't think so, because MP has no way of knowing at which timestamp the external player stopped playback. Best way to achieve...
Hello Folks, Is it possible to enable MP to resume in an External Player, where it left off ? I guess the question also is, can...
Replies
2
Views
2K
My setup that works.
My setup that works.
I don't now what to say, I don't know where to begin. Mediaportal user since 2004. Always a satisfied user, I must add. Lately...
Replies
18
Views
497
MP1 MP2 MP Shutting down DE
I got a similar error yesterday just when a watched episode ended... Didn't copy the logs unfortunately but now i'm in a weird situation. Trakt website shows that episode as watched, but in onlinevideos (where i watched that episode) it still is not flagged as watched. The watched.json doesn't contain that episode but i think it...
I got a similar error yesterday just when a watched episode ended... Didn't copy the logs unfortunately but now i'm in a weird...
I have an issue that started in 1.37 and so I updated to 1.38 and updated all my installed plugins but the issue has continued. My...
Replies
6
Views
820
I am following the official documentation for setting up the Kodi plugin in media portal. I have got no issues with media portal, nor media portal plugin on Kodi, but with the Kodi plugin that must be installed in the media portal, as it is not getting detected. I have made a copy of the dll file into the plugins folder as found in my...
I am following the official documentation for setting up the Kodi plugin in media portal. I have got no issues with media portal...
I am following the official documentation for setting up the Kodi plugin in media portal. I have got no issues with media portal...
Replies
0
Views
363
I see no reason in Windows XP or 7, in my experience, on ancient Atom, Windows 10 worked faster than XP or 7...
I see no reason in Windows XP or 7, in my experience, on ancient Atom, Windows 10 worked faster than XP or 7...
Hi all, I'm new to MediaPortal and looking forward to using it. Just one catch and I apologize if it sounds silly - I want to run...
Replies
3
Views
2K
Top Bottom