Volume Message (1 Viewer)

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 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
1K
Ran into this problem following an otherwise sucessful upgrade from MP 1.34 x64 to MP 1.35 x64 the CEC Remote plugin which I use just to control volume and standby, will no longer put my devices (TV & AVR) to sleep when the HTPC is put in standby. Also when I wake up the HTPC MP closes or crashes (not sure which) as per the example in...
Ran into this problem following an otherwise sucessful upgrade from MP 1.34 x64 to MP 1.35 x64 the CEC Remote plugin which I use...
Ran into this problem following an otherwise sucessful upgrade from MP 1.34 x64 to MP 1.35 x64 the CEC Remote plugin which I use...
Replies
0
Views
1K
fixed the episode naming above ^. There was no error in the naming of the file itself. Every time I enter TV Series, it tries to re-scan the episodes. The series appears for just a few seconds and disappears again.
fixed the episode naming above ^. There was no error in the naming of the file itself. Every time I enter TV Series, it tries to...
I recorded all 6 episodes of "Walking With Dinosaurs (2025)" from PBS, edited the non essential stuff out and saved them as MKV. I...
Replies
1
Views
2K
MP1 MP2 Picture-in-picture DE
Can anyone tell me the step-by-step procedure for bringing up a second channel in pip mode? I can only do it sometimes, after many tries, and it’s not clear what I am doing that makes it work on those occasions when it does. Cannot find guidance on the site. Thanks, N. Again, if anyone knows how to do this, would be much...
Can anyone tell me the step-by-step procedure for bringing up a second channel in pip mode? I can only do it sometimes, after many...
Can anyone tell me the step-by-step procedure for bringing up a second channel in pip mode? I can only do it sometimes, after many...
Replies
0
Views
1K
Hello, Name need to be the same as computer name. Also, logs could be useful.
Hello, Name need to be the same as computer name. Also, logs could be useful.
It is a bit of a long story! I successfully installed MP2 on my old PC as client/server with client on my laptop to confirm my...
Replies
2
Views
907
Top Bottom