thrash.dev

docs / providers / chromecast

Providers · chapters · 15 of 25

← Yafmp manual

  1. Local Files
  2. Plex
  3. Navidrome
  4. Jellyfin
  5. Bandcamp
  6. Lidarr
  7. Apple Music
  8. Spotify
  9. SoundCloud
  10. YouTube Music
  11. SiriusXM
  12. Radio
  13. Podcasts
  14. AirPlay
  15. Chromecast
  16. MusicBrainz
  17. Discogs
  18. Labels
  19. Releases
  20. Last.fm
  21. ListenBrainz
  22. Connect
  23. Home Assistant
  24. MCP server
  25. DJ

Chromecast

Play to a Chromecast or Google speaker on your network. Plex, Navidrome and radio go to the speaker untouched.

facts

status
beta
kind
output
on by default
yes
needs
Chromecast or Google Cast speaker on the same network
platforms
iPhone, iPad, Mac, Vision Pro, Android, Android TV, Linux, FreeBSD, Windows

Description

Chromecast sends playback to a Chromecast or a Google Cast speaker. Yafmp gives the device the address of the track and the device fetches it itself. Nothing is re-encoded, so a FLAC from Plex or Navidrome stays lossless.

Whatever is playing moves to the device at the same spot, and comes back to your device the same way when you stop casting.

Chromecast is not on Apple TV.

Requirements

  • A Chromecast or Google Cast speaker on the same network as the device.
  • Android: Google Play services. Without them there is no Cast button.
  • Linux and FreeBSD: avahi-daemon running and the avahi-browse tool installed.
  • Windows: Apple’s Bonjour installed. Yafmp finds devices with its dns-sd tool.

Setup

There is nothing to sign in to.

  1. Choose the Chromecast button in the toolbar (Apple) or the top bar (Android and desktop). On Android and desktop you can also press Ctrl+Shift+C.
    • Apple: the button appears once a device has been found on the network.
    • Android: the button is Google’s Cast button and opens Google’s device list.
  2. Choose a device. Yafmp says Casting to and the device’s name, and the playing track moves there.
  3. To stop, choose Stop Casting (Apple), This device (desktop) or stop casting in Google’s dialog (Android).

Settings

Chromecast has no settings pane. Its controls are in the menu behind the Chromecast button.

SettingDefaultWhat it does
Device list—One row per device found. Choose one to cast to it; choose it again to stop.
Stop Casting—Apple: back to this device. On desktop the row is called This device.
Volume slider—Desktop: the device’s volume, shown in the menu while casting.

Limits

  • Sources with their own player never cast. Apple Music, YouTube Music and Spotify keep playing on the device.
  • Local files: on Apple and on desktop they keep playing on the device, because the Chromecast has no address to fetch them from. On Android they cast, through a small file server inside the app.
  • SiriusXM on Android and desktop does not cast. Its stream is served from inside the app, where the Chromecast can’t reach it.
  • The equalizer and compressor do not change what the Chromecast plays, because the device fetches the file itself.
  • Apple: there is a short gap between tracks while casting.

Troubleshooting

ProblemWhyWhat to do
No Chromecast button (Apple)No device has been found on the network yetCheck that the device is on and on the same network.
No Cast button (Android)The device has no Google Play servicesNone. Casting on Android needs Google Play services.
The menu stays on “Looking for devices…” on Linux or FreeBSDavahi-daemon is not running, or avahi-browse is missingStart avahi-daemon and install the avahi tools.
No devices on WindowsApple’s Bonjour is not installedInstall Bonjour, then open the menu again.
“… didn’t answer” (Apple)The device did not start its player within 15 secondsCheck the device is awake and reachable, then choose it again.
“… is playing something else now” (Apple)Another app took over the deviceChoose the device again to take it back.
“… plays on this device, not on …” (Android and desktop)The track’s source has its own player and can’t be castExpected. See Limits.
A local file plays on the device instead of the ChromecastLocal files don’t cast on Apple or desktopPlay it from a server such as Plex or Navidrome, or cast from Android.