2006-10-19, 06:04 AM
I am working on updating my Firefly Remote GB-PVR profile to make it address all buttons potentially usable with GBPVR. I could not get Mute to work. I did some searches on the GB-PVR Forum and found a number of disconnected Forum threads with the same issue (I guess people still don't use Search). It appears GB-PVR has no native Mute function or shortcut since it hands off Sound handling to the configured audio application(s) (as re-iterated numerous times in the threads by Sub). There are also no Mute keyboard Shortcuts in XP for the Windows Master Volume Control, and no native Windows or DOS commands that I could find.
A Google search for a Windows mute command lead to a some bloated and overkill packages (most of them needed to be memory resident to work). The only simple solution I found was the following link to a small Command Line Tool (about 15K and easy to call from a Remote profile):
http://www.cs.cmu.edu/~maverick/old_public_html/programs.html
This is a cached personal page with the authors brief description and a download for a zip containing a command line mute tool (cmdmute.exe), and a folder with the C++ source code.
This may be a usefull command if it proves safe. It is an executable file. You should understand that you download and use it at your own risk. I took the following steps myself to be reasonably safe, but make no guarantees.
Step 1: Download and Initial Setup
NOTE: Extreme Cauton should always be used when downloading and opening an executable file from an unknown source.
Something to do tomorrow or the next day.
I will Post the new FireFly Profile when it is done and tested, and update the Firefly entry in the Wiki Hardware Section (yes there is one, entered in March 2006, so apparently I also don't always search thoroughly either)
Regards
Garth
A Google search for a Windows mute command lead to a some bloated and overkill packages (most of them needed to be memory resident to work). The only simple solution I found was the following link to a small Command Line Tool (about 15K and easy to call from a Remote profile):
http://www.cs.cmu.edu/~maverick/old_public_html/programs.html
This is a cached personal page with the authors brief description and a download for a zip containing a command line mute tool (cmdmute.exe), and a folder with the C++ source code.
This may be a usefull command if it proves safe. It is an executable file. You should understand that you download and use it at your own risk. I took the following steps myself to be reasonably safe, but make no guarantees.
Step 1: Download and Initial Setup
NOTE: Extreme Cauton should always be used when downloading and opening an executable file from an unknown source.
- Since this is an executable file I created a restore point on the download computer (I have 3 computers and used my secondary XP system).
- I downloaded the archive and scanned it with AVG anti virus. No virus was found.
- I then unzipped the archive to a separate folder in "My Documents".
- I then tested cmdmute.exe on an active audio file (I happened to have music playing from Pandora.com) at the time).
- I double clicked the "cmdmute icon" that had been unzipped several times. It does indeed toggle mute volume on and off (using the Windows Master Volume control).
- I copied the cmd.exe file to c:/Windows/System32 to make it easily available to all applications.
- It could have been left in the original location and accessed through the full Windows path.
- I tested it with GB-PVR by opening Live TV and then bringing up a Command Prompt window.
- I then entered cmdmute.exe several times in the Command Prompt
- The results: The sound toggled on and off with no other effects (it was quick and effected only the sound with no video artifacts .
- NOTE: I have a Logitech Wireless Keyboard with a Mute button. It works with GB-PVR, but causes momentary screen artifacts in GB-PVR with each activation.
Something to do tomorrow or the next day.
I will Post the new FireFly Profile when it is done and tested, and update the Firefly entry in the Wiki Hardware Section (yes there is one, entered in March 2006, so apparently I also don't always search thoroughly either)
Regards
Garth