The web-music and PC-audio sources (YouTube Music, Player + This Device, and Companion web sources) work by running a hidden web browser and capturing its audio, then streaming that audio to your device over your network. By default this happens on the same PC that runs Audio Hero. The Audio Hero Companion lets you move all of that onto another always-on PC instead, so your main PC stays light and the music can keep playing even after you close Audio Hero. It can also run your scheduled automations and let you manage them directly from its browser settings page.
Using Audio Hero for Android? The Companion works with it too; see the Android Companion guide for the phone side of the setup.
Click any section heading below to expand it.
What the Companion is, and why use one
The Companion is the same lightweight native C streaming engine that ships inside Audio Hero, packaged to run on its own on a second PC (about a 3 MB download and under 1 MB of idle memory). With a Companion, that other PC runs the browser and audio capture and serves the stream to your device, while Audio Hero on your main PC just controls it. Reasons to use one:
- Your main PC stays light, with no hidden browser or audio capture running on it.
- Music keeps playing even when your main PC sleeps or you close Audio Hero, because the Companion is a standing server.
- Scheduled automations keep running, and can be managed in the Companion's settings page, even while Audio Hero and your main PC are off. With Pro, your PCs and phones share one automation list through the Companion.
- A low-power mini PC or home server can become your dedicated music streamer.
The link between your PC and the Companion is encrypted (TLS) and protected by a 4-digit PIN. The Companion makes up a PIN the first time it runs (or you can set your own 4-digit PIN on its settings page); enter the same PIN in Audio Hero to connect. Nothing leaves your local network. While a source plays through a Companion, the Now Playing header shows · via Companion on <name>.
Install the standalone Companion
For a PC that should stream music but not run the full Audio Hero app (a home server, a headless mini PC), install the small standalone Audio Hero Companion. It is a free, open-source download with its own repository: Audio Hero Companion on GitHub.
Requirements
- Windows 10 or 11, 64-bit.
- Microsoft Edge WebView2 Runtime, already present on most Windows 11 PCs. The installer tells you if it is missing and where to get it.
- On the same local network as your main PC.
Install it
- On the companion PC, download the latest installer from the Audio Hero Companion releases page (the file name includes the version, for example
AudioHeroCompanionSetup-3.1.0.exe). Upgrading from Companion 2.x installs in place and keeps your pairings, settings, automations, and music service sign-ins. - Run the installer. It asks whether the companion should start with Windows and whether it should keep itself up to date automatically; both are recommended and on by default. It installs per-user (no admin rights needed for the app itself). During this first install, Windows shows one admin approval prompt: that is Setup adding the Windows Firewall rule. Updates never show it again.
- The companion starts and sits in the system tray (grey when idle, green while playing). On its first run it makes up a 4-digit PIN and opens its settings page in your web browser so you can see it, along with the address to enter in Audio Hero. Note the PIN; you need it to connect.
- Optional: double-click the tray icon, or right-click and choose Settings, to open the Companion's browser settings page (default port 47709). From there you can rename the Companion, set your own 4-digit PIN, toggle run-at-startup, allow opening the settings page from other PCs on your network (over HTTPS with your PIN), configure the local music cache folder and size limit, manage automations and Home Assistant publishing, or link multiple Companions on your network.
Keeping the companion up to date
The companion keeps itself current: it checks the releases page every 6 hours by default and, when a new version is out, downloads it and installs it silently the next time nothing is playing through it. No prompts appear and nobody needs to be at the PC; the companion restarts itself on the new version. These behaviours are on by default and can be changed in the Companion's browser settings page: Automatically check for updates (every 5 minutes up to once a day at a set time), Install updates automatically when the companion is idle, and Count Audio Hero connected but not playing as idle (turn this off to also wait until Audio Hero disconnects). With automatic installs off, the tray icon shows a notification instead and the settings page links to the download.
Running on a dedicated PC nobody logs in to
The companion runs inside a signed-in Windows session (it starts at logon, not at boot). For a home server or headless mini PC, turn on automatic sign-in so the companion comes up by itself after every reboot:
- On the companion PC, press Win+R, run
netplwiz, select the account, and untick Users must enter a user name and password to use this computer. If that checkbox is hidden on Windows 11, use Microsoft's Sysinternals Autologon tool instead. - Reboot to confirm Windows signs in and the companion appears in the tray on its own.
- You can leave the PC at the lock screen (Win+L); the companion keeps streaming and keeps updating itself while locked.
Connecting your main PC to the Companion
Once a Companion is running, point Audio Hero at it:
- On your main PC, open Audio Hero, then the Settings tab, then Audio Hero Companion.
- Turn on Run the Companion on another PC.
- Click Find Companion running on this network, then click yours under Companions found on your network. If it is not listed (some mesh Wi-Fi and VLAN setups block the discovery beacon), type its address by hand into Companion address as
companion-ip:47708. - Enter the 4-digit PIN shown on the Companion's settings page.
- Click Test connection. You want to see Connected to the Companion.
- Optionally turn on If Companion is unreachable, run directly in the Audio Hero app instead so web music still works when the Companion is off.
- Optionally choose which sources use the Companion; the rest keep running on your main PC.
Now play YouTube Music, Player + This Device, or any (Companion) web source as usual. The browser and audio work happen on the Companion, and the Now Playing header shows · via Companion on <name>.
What can run through a Companion
The Companion handles the sources Audio Hero streams from your PC rather than the ones the device plays for itself:
- YouTube Music and (Companion) web music sources (including Apple Music, Spotify, Amazon Music, Pandora, Tidal, Qobuz, Deezer, SiriusXM, iHeartRadio, and TuneIn).
- Player + This Device (the shared PC-and-device web-music source).
- Local Music files and folders Pro.
- Internet radio and any other stream Audio Hero serves.
Native device sources (a device's own Spotify, Tidal, Pandora, favorites, and physical inputs) are played by the device itself and do not go through the Companion.
A Companion can also take over two background jobs from Audio Hero, so they keep working while Audio Hero is closed: skipping songs you gave a thumbs-down on HEOS devices (when Always skip thumbs-down items is on; Settings → Audio Hero Companion shows who is handling it), and restarting Pandora on HEOS and Sonos devices when its own option is ticked.
"(Companion)" sources: play a web service to the device only New
While a Companion on another PC is connected, its web music services also appear as their own top-level entries in the Music Sources list, named "<service> (Companion)" - for example Pandora (Companion) or Tidal (Companion). These play the service straight to the selected device, with the Companion PC itself kept silent.
- They differ from Player + This Device, which deliberately plays on your PC and the device together. A "(Companion)" source is for when you only want the device to play.
- There is no Audio Sync delay slider, because nothing plays locally that would need lining up.
- The entries appear only while a Companion on another PC is actually connected, and disappear when it goes away.
- Available services: Apple Music, Amazon Music, Pandora, Tidal, Qobuz, Deezer, SiriusXM, Spotify, iHeartRadio, and TuneIn. YouTube Music is not duplicated here because it already has its own top-level source that works the same way, and five additional web services (SoundCloud, Bandcamp, Mixcloud, Radio Paradise, and Audiomack) are available under Player + This Device.
Different music on different devices, and multiple people at once
One Companion can serve several streams at the same time. From one Audio Hero you can play a different source to each device: pick a device and start YouTube Music, then pick another device and start Internet Radio or Spotify; each keeps playing independently. YouTube Music can even run more than once, so two devices can play two different YouTube Music songs from the same PC: select the second device and start YouTube Music again, and a second player window opens for it. Selecting a device in the sidebar shows and controls the music playing on that device. The exceptions are copy-protected services such as Apple Music and Spotify, and Player + This Device, which record the Companion PC's sound output; a PC has only one sound output, so only one of those can run per Companion at a time.
Several household members can use the same Windows Companion with the same PIN. Music-service accounts are shared through the Companion's browser profile: signing in once makes that account available to the other connected controllers. Signing out or switching accounts affects everyone using that profile. Controllers with older private profiles may need to sign in once to the shared profile. Connected controllers can discover and control active web-music streams and cached local queues, so coordinate before changing another person's playback. A stream someone else starts appears in your Audio Hero on its own, with the current song, and Audio Hero picks running Companion streams back up after it restarts.
Network Companions: running more than one Companion New
If you run more than one Companion on your local network (for example, one per room or desk), the Network Companions section on the Companion's settings page lets you designate one Primary Companion and link the others to it. The Primary Companion owns scheduled automations, smart plug rules, shared household settings, and Home Assistant (MQTT) publishing, so nothing runs twice or conflicts while each Companion still handles its own streams.
Local files that keep playing after Audio Hero closes New
When you play local files or a folder Pro to a HEOS device through a Companion, the Companion copies each file it needs and streams from its own copy. Because the Companion is a standing server, that queue keeps playing, and keeps advancing to the next track, even after you close Audio Hero on your main PC. When you reopen Audio Hero it re-adopts the running queue and shows it again.
- Copied music is kept in a shared cache on the Companion (default
MediaCachefolder, with a 250 MB size limit you can change or set to unlimited on the settings page), deduplicated so the same file is only ever copied once, no matter how many people or PCs queue it. When the cache fills, the oldest unplayed copies are removed first. - The Companion setting Keep copied local music on this Companion (on by default) controls whether those copies are kept for next time or deleted as soon as they are no longer playing.
- Only the PC running Audio Hero can hand files to the Companion, and each copy is verified before it plays.
- When the Companion runs on the same PC as Audio Hero, Audio Hero plays the files itself, so pause, play and skips respond right away and the device gets the original file. The Companion still lists the queue, so Audio Hero for Android can see it, search its tracks, and control it. When you close Audio Hero while it is playing, the Companion takes the queue over so the music carries on, and Audio Hero takes it back when you open it again. Expect a short gap in the music at each change.
Smart devices on a Companion New
A Companion does more than stream music. Once one is connected, it takes over your smart plugs completely and becomes the only thing that switches them. The point is simple: the Companion is a PC that is meant to be on anyway, so your plug rules keep working when your own PC is asleep, shut down, or simply not running Audio Hero.
Nothing to set up. Audio Hero sends the Companion your plug rules automatically as soon as it connects, and re-sends them whenever you change one. If you have no Companion, or an older one, everything keeps working from Audio Hero exactly as it did before.
What the Companion takes over
- Follow playback and follow power for a linked plug.
- Scheduled plug automations (Power on / Power off at a set time). These previously only fired because Windows woke your PC and launched Audio Hero, so a PC that was off missed them entirely.
- The on / off button in Audio Hero, which now asks the Companion to switch the plug. This keeps a single source of truth: a plug you switch on by hand can no longer be switched off moments later by an idle-off countdown that was already running.
Which devices a Companion can follow
The Companion has to be able to see what a device is doing before a plug can follow it. Between them, these cover the great majority of setups:
- HEOS - watched live. HEOS pushes playback changes as they happen, so the plug reacts immediately, including for the device's own sources such as Amazon Music, Pandora and favorites.
- Sonos, WiiM, Bluesound, Yamaha MusicCast, Samsung WAM, Roku and DLNA renderers - checked regularly by the Companion. A plug follows within a few seconds of playback starting or stopping.
- Onkyo and Integra receivers - supported, using the handover described below.
- AirPlay, Sendspin, and anything the Companion is streaming itself - no checking needed at all, because the Companion is the one sending the audio and already knows.
Not covered: Google Cast, Snapcast, Squeezelite and piCorePlayer, moOde, Volumio, Verox, the kiosk tablets, and legacy Denon / Marantz devices. Plugs linked to these still follow playback normally while Audio Hero is open on your PC; they simply do not carry on once you close it.
Onkyo and Integra receivers
These receivers only accept one control connection at a time, which is why they used to be left out. They are now handled by passing that single connection back and forth: while Audio Hero is running it holds the connection as before and tells the Companion what the receiver is doing. When you close Audio Hero, the Companion picks the connection up a few seconds later and watches the receiver itself. Open Audio Hero again and it takes the connection back. Nothing to configure, and the two never fight over it.
If the Companion PC sleeps
A scheduled action can only fire if the PC is awake at the time. Three settings decide what happens, and all three can be changed from either the Companion's browser settings page or from Audio Hero on any PC, under Settings → Audio Hero Companion → Companion PC power. Change one in either place and it updates in the other straight away.
- Wake the Companion PC for scheduled actions (on by default) - the recommended option. The Companion books a wake-up shortly before each scheduled action, so the PC sleeps normally the rest of the time and still runs your schedule on time. This needs Allow wake timers to be enabled in that PC's Windows power plan; it usually is on desktops, and is often turned off for laptops running on battery.
- Run missed actions when the Companion PC wakes (on by default) - if the PC was asleep when a scheduled action was due, the action runs as soon as it wakes, within the late window configured on the Companion's settings page (up to 24 hours, default 24 hours). Missed automations run in the order they were due so each device ends up in the right final state. Adding a new rule never retroactively fires it for earlier the same day.
- Never let the Companion PC sleep (off by default) - the blunt option, for hardware where wake timers do not behave. It only prevents the PC from sleeping on idle: choosing Sleep from the Start menu or closing a laptop lid still puts it to sleep. It also means the PC draws full power around the clock, so try wake timers first.
Neither wake timers nor keep-awake can help a Companion PC that is fully powered off rather than asleep. Nothing can wake it, so scheduled actions wait until you next switch it on, and then run if the missed-actions setting is on and they are within the configured window.
Checking what the Companion holds
On the Companion PC, open its settings page from the tray icon and view the Automations and Smart devices sections. Plug rules are shown read-only there (change them in Audio Hero's smart plug settings), while scheduled automations can be managed directly on the page. See Manage automations from the Companion.
Manage automations from the Companion New
A Companion can run scheduled automations for HEOS, Sonos, Onkyo / Integra, DLNA, Yamaha MusicCast, WiiM, Bluesound, and smart plugs. They run on the Companion PC at the scheduled time, even when Audio Hero is closed and your main PC is off. Handing automations to a Companion is a Pro feature.
One shared list. New With an up-to-date Companion (2.14.0 or later, including Companion 3.x), every Audio Hero connected to it shares a single automation list. The first time a PC connects, it uploads its own automations, and from then on an automation you add, change, or delete on one PC or phone shows up on the others. The Companion runs every automation it can. The rest (for example ones that target Google Cast, AirPlay, Snapcast, Squeezelite, or a PC-only source) still run from a Windows scheduled task on the PC that set them up, and the other PCs show them as running on that PC. Failure alerts are shared too, so dismissing one dismisses it everywhere.
After an automation starts music, the Companion checks the device about 15 seconds later and presses Play once more if it is silent. Automations run by the Companion also support starting at a random spot in the track for seekable sources.
To manage these automations from the Companion's settings page:
- Double-click the Companion tray icon, or right-click it and choose Settings (or open the Companion's settings page from another PC on your network if you enabled remote access).
- Scroll to the Automations section.
- Use the controls beside a scheduled automation: Run now, the enable / disable switch, Edit, and Delete, or drag the handle to change the order.
- Run now runs the automation immediately, even if its schedule is disabled.
- Enable / disable pauses or resumes its schedule without deleting it.
- Edit changes the name, time and days, the optional time of year it runs, the volume, and shuffle / repeat for a playlist. Times use the Companion PC's local time.
- Delete removes it from the Companion immediately, and from Audio Hero too.
Changes made here take effect on the Companion immediately and reach Audio Hero on your other PCs, straight away with a shared list or the next time that PC connects otherwise. To change an automation's target device, action, or source, edit it in Audio Hero.
Companion source badges New
Once a Companion is set up, every source that is configured to run through it shows a small badge next to its name in the Music Sources list. Hover the badge to confirm: This source is configured to play through the Audio Hero Companion on another PC. It is a quick way to see, at a glance, which sources will use the Companion and which play on the device directly. Choose which sources use the Companion in Settings → Audio Hero Companion.
Signing in to music services on the Companion
Because the web player runs on the Companion PC, sign-ins need to happen there. Audio Hero makes this seamless with a sign-in mirror: when a service needs you to log in, the Companion streams its sign-in page to your main PC, you sign in with your own mouse and keyboard, and the login is saved on the Companion. You never have to sit at the Companion PC.
- Click Sign in for the service, or start a service that needs it. A window opens on your main PC mirroring the Companion's sign-in page.
- Sign in normally. On success the player briefly reloads so it reflects your account, then playback resumes.
- Your session stays on the Companion, so you do not have to sign in again next time.
Keeping the Companion running, and troubleshooting
- Leave it running. The Companion is a standing server, so closing Audio Hero on your main PC does not stop the music.
- Remote Desktop. Windows takes the sound away from a PC when a Remote Desktop connection to it is closed, so music streaming through the Companion would go silent, and copy-protected services such as Apple Music, Amazon Music, Tidal, and Pandora could not start. The Companion setting Keep playing when Remote Desktop disconnects (on by default) handles this for you: closing Remote Desktop puts the session back on the PC's own screen, so the music keeps playing and the desktop stays signed in there. It asks once for administrator permission, the first time you connect with Remote Desktop. If it is off, or you declined that prompt, run
tscon %sessionname% /dest:consolefrom an administrator Command Prompt on the Companion instead of just closing Remote Desktop. Do not log off the user, which ends the session and stops the Companion. - "No audio output." If the Companion PC has no working sound output (for example a closed Remote Desktop session), Audio Hero says so straight away and names Remote Desktop when that is the cause, rather than waiting for music that never comes.
- Ports. The Companion listens on TCP 47708 (control and audio), announces itself on UDP 47707 (discovery), and serves its browser settings page on TCP 47709 (local only by default unless you enable access from other PCs on your network). The installer adds a firewall rule for discovery and control; see Windows firewall.
- Not discovered? Multicast discovery is blocked on some mesh Wi-Fi, separate access points, and VLANs. Type the Companion's address by hand as
companion-ip:47708. - Change the name or PIN. Open the Companion's tray icon, then Settings to open the browser settings page, adjust the name or set your own 4-digit PIN, and save. Changing the PIN disconnects every connected Audio Hero until you enter the new PIN there.
- Uninstall the Companion from Windows Settings → Apps ("Audio Hero Companion").
Audio Hero Companion