owntone / owntone-server

Linux/FreeBSD DAAP (iTunes) and MPD media server with support for AirPlay 1 and 2 speakers (multiroom), Apple Remote (and compatibles), Chromecast, Spotify and internet radio.
https://owntone.github.io/owntone-server
GNU General Public License v2.0
1.99k stars 227 forks source link

Excluding AirPlay devices that contain a single quote in the name #1710

Closed jeakob closed 4 months ago

jeakob commented 4 months ago

Is it possible to exclude AirPlay devices that contain an apostrophe? For example Tom's HomePod

ejurgensen commented 4 months ago

Yes, like this:

airplay "Tom's HomePod" {
        exclude = true
}
jeakob commented 4 months ago

This doesn't appear to work in my config:

airplay "Tom's ATV" {
        exclude = true
}

image

The device name in OwnTone is uppercase, which doesn't match the actual name in the home app.

ejurgensen commented 4 months ago

If you go to http://[owntones ip]:3689/api/outputs you can see the exact name and copy/paste it

hacketiwack commented 4 months ago

@jeakob, another way to know the real name from the web interface by selecting the name of your device and inspect the HTML element. It will show you the real device name. Technically, the capitalisation is done by a style on the web interface.