E5B0 GitHub - gilgonore/MediaBMS: Use the BMS Crew Entertainment System with YouTube Music, Apple Music, Spotify, etc. · GitHub
[go: up one dir, main page]

Skip to content

gilgonore/MediaBMS

Repository files navigation

MediaBMS

Control your music from the cockpit. MediaBMS bridges Falcon BMS's Crew Entertainment System with any modern media player.

Works with YouTube Music, Apple Music, Spotify, and any app that integrates with Windows media controls.

How it works

MediaBMS emulates Winamp by creating a hidden window with the Winamp v1.x class that BMS looks for. When BMS sends playback commands through the ICP/DED, MediaBMS translates them into Windows Media Session API calls, controlling whatever media player you have running.

Falcon BMS  --->  MediaBMS (Winamp emulation)  --->  Your media player
  ICP/DED          WM_USER / WM_COMMAND               Windows Media API

Features

  • Play / Pause / Stop (stop pauses without losing your queue)
  • Next / Previous track
  • Per-app volume control (only changes your music player volume, not the game)
  • Track title and artist displayed in the DED
  • Runs silently in the system tray

Download

Grab BMSBridge.exe from Releases -- no Python or dependencies needed.

Usage

  1. Open your music player and start playing something
  2. Run BMSBridge.exe (a blue icon appears in the system tray)
  3. Start Falcon BMS
  4. In the cockpit: LIST > M-SEL 0 > M-SEL 0 to open the Entertainment page

DED Controls

Control Action
DCS UP Next track
DCS DOWN Previous track
DCS SEQ Toggle pause
INC / DEC Volume up / down
DCS RTN Exit entertainment page

Keyboard / HOTAS Callbacks

These callbacks can be mapped in your BMS key file (section 6.07 WINAMP):

  • WinAmpNextTrack / WinAmpPreviousTrack
  • WinAmpTogglePlayback / WinAmpTogglePause
  • WinAmpStartPlayback / WinAmpStopPlayback
  • WinAmpVolumeUp / WinAmpVolumeDown

Requirements

  • Windows 10 or 11
  • Falcon BMS 4.37+
  • Any media player (YouTube Music, Apple Music, Spotify, etc.)

Setup

Make sure g_bPilotEntertainment is set to 1 in your BMS config file. See the BMS Technical Manual for details.

Building from source

py -m venv venv
venv\Scripts\pip install -r requirements.txt
venv\Scripts\pip install pycaw winrt-runtime winrt-Windows.Media.Control winrt-Windows.Foundation pyinstaller
venv\Scripts\pyinstaller bms_bridge.spec --clean

The executable will be in dist/BMSBridge.exe.

Troubleshooting

BMS doesn't detect MediaBMS:

  • Make sure MediaBMS is running BEFORE you start BMS
  • Check that Winamp is not running (BMS can only talk to one Winamp window)

Music doesn't respond to commands:

  • Make sure your media player is open and has played at least one song
  • The player can be minimized but must be running

Volume doesn't change:

  • MediaBMS controls per-app volume. Check your system volume mixer to confirm

No track info in DED:

  • Track info updates every 2 seconds
  • Some players may take a moment to report metadata

Tested with

  • YouTube Music (Chrome)
  • Apple Music (Windows app)

References

About

Use the BMS Crew Entertainment System with YouTube Music, Apple Music, Spotify, etc.

Topics

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors

0