owntone / owntone-server

Linux/FreeBSD DAAP (iTunes) and MPD audio 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
2.03k stars 234 forks source link

How to turn off library advertisement? #1781

Closed gearhead closed 4 weeks ago

gearhead commented 1 month ago

I am sharing my library via samba and would like to turn off the library advertisement via avahi on 3689.

I tried commenting out the full Library {} section of the config and the owntone service would not start.

Could this be added as a setting in the config? If it has to be a patch to the source, could I ask for help developing that patch?

Gearhead

ejurgensen commented 1 month ago

With 'man owntone' you can see some options to disable advertisements

gearhead commented 1 month ago

@ejurgensen I was able to find the flags in 'man owntone' and get this silenced, thanks. I was not able to find them anywhere else in the docs, though. Not in the wiki on github, nor with 'owntone -h'.

ejurgensen commented 1 month ago

Yes they seem to be missing from 'owntone -h', I will get that fixed