Control media programs on a PC using the buttons on your AV receiver's remote control.
If you have an AV or audio receiver or amplifier, you probably have a remote control with a bunch of transport buttons like ⏯, ⏮, ⏭, and ⏹. Unless you have a CD or DVD player from the same manufacturer, those transport buttons won't do anything. With this program and a USB infrared receiver, you can make those buttons control media playback in several programs. This is useful if you use a computer to stream video or as an audio source for a hi-fi stereo with passive speakers, or if you just want to control your computer with a remote.
- Infrared remote control
- Tested with the RC052SR from a Marantz Stereo 70s
- You can use any IR remote, because you train the IR receiver on the unique IR pulse patterns of your individual remote
- Flirc USB infrared receiver (Amazon)
- Flirc GUI program for training
- Required during setup only, and can be uninstalled after IR training is complete
- Download from the botton of the product page
- .NET 8 Desktop Runtime and ASP.NET Core Runtime or later
- One or more programs to control
- Download RemoteControl.zip from the latest release.
- Extract the ZIP file to a directory like
C:\Program Files\RemoteControl\
.- When upgrading an existing installation, don't overwrite
appsettings.json
.
- When upgrading an existing installation, don't overwrite
- Install the browser extension.
- Go to
chrome://extensions
. - Enable Developer Mode.
- Drag and drop
RemoteControl.crx
into the Extensions page.
- Go to
- Plug the Flirc USB IR receiver into a computer
- It doesn't have to be trained on the same computer that it will later run on, because the training data is stored in the receiver hardware and not the software, which isn't even used after training.
- Start the Flirc GUI.
- If prompted to install a firmware update, choose yes.
- Select Controllers › Full Keyboard.
- Train all remote control buttons.
- Use the on-screen keyboard to click each of following keyboard shortcuts.
- After clicking each shortcut, like Ctrl+Alt+Shift+F5, aim the remote control at the Flirc, and press the corresponding button, like Channel Up.
- Train each button twice, because IR remotes send different pulse codes every other time to distinguish between double presses and interrupted beams (occlusion).
- Test the remote control buttons by pressing them and watching the on-screen keyboard light up green.
Keyboard shortcut | Remote control button |
---|---|
Ctrl+Alt+Shift+F5 | 🔼 Channel Up |
Ctrl+Alt+Shift+F6 | 🔽 Channel Down |
Ctrl+Alt+Shift+F7 | ⏮ Previous Track |
Ctrl+Alt+Shift+F8 | ⏯ Play/Pause |
Ctrl+Alt+Shift+F9 | ⏭ Next Track |
Ctrl+Alt+Shift+F10 | 📻 Band |
Ctrl+Alt+Shift+F11 | ⏹ Stop |
Ctrl+Alt+Shift+F12 | 🧠 Memory |
- Start VLC.
- Go to Tools › Preferences.
- Change Show settings from Simple to All.
- Go to Interface › Main interfaces.
- Enable Web.
- Go to Interface › Main interfaces › Lua.
- Create a password and type it into Lua HTTP › Password.
- Restart VLC twice, allowing the Windows Defender Firewall prompt each time.
- Edit
appsettings.json
in the RemoteControl installation directory. - Set the password you just created in the
vlc.password
field. - Save
appsettings.json
.
To make this program start automatically when you log into Windows, add a registry value by running the following command in Command Prompt.
reg add HKCU\Software\Microsoft\Windows\CurrentVersion\Run /v RemoteControl /d """C:\Program Files\RemoteControl\RemoteControl.exe"""
- Run
RemoteControl.exe
. - Either restart the browser or reenable the browser extension, because Chromium will suspend the extension if
RemoteControl.exe
wasn't running for more than 30 seconds.
This is what the remote control buttons do, depending on which program is active, based on which one is playing, focused, or just running.
Remote control button | Winamp | VLC | Twitch | YouTube |
---|---|---|---|---|
🔼 Channel Up | unused | Previous tab | ||
🔽 Channel Down | unused | Next tab | ||
⏯ Play/Pause | Play/pause | |||
⏮ Previous Track | Previous track | Seek backwards | ||
⏭ Next Track | Next track | Seek forwards | ||
📻 Band | unused | Show time | unused | |
⏹ Stop | Stop | Pause | ||
🧠 Memory | unused | Toggle fullscreen |
- The IR USB receiver can be repositioned using a USB extension cable if your computer's USB ports don't have line of sight to where you'll be firing the remote from, for example, if the computer sits behind or underneath a desk or inside a TV console table.