Question about LMS, ShairTunes2, and the mDNS service

So, I’m sure (I hope!) there’s some people here running LMS (Lyrion Music Server, formerly Logitech Music Server) as a custom app via Docker. (On TrueNAS Scale ElectricEel-24.10.2)

The things is, if I want to use the ShairTunes2 plug-in in LMS (that makes a Squeezebox appear as an AirPlay device on the local network) I can only get it to work when I switch off TrueNAS’ mDNS service, via Network → Global Configuration. It is a minor inconvenience, now I don’t see my shares (accessing them form another machine) automatically, but of course I can reach them by (static) IP number. If someone can give me any pointers as to how to configure things in order to keep using TrueNAS mDNS service that would be much appreciated! The ShairTunes2 plug-in can be found here: https://github.com/philippe44/LMS-ShairTunes2W. If additional info is needed, let me know.

I think I solved it: I added -mdns as a command to the docker configuration. I hope it will help someone in the future.

I just had this issue with the new community version of this container, its odd as LMS was working last week perfectly fine, this week, -mdns errors and none of my airplay devices are showing up, I just disable mdns in the network settings and its all working again, I’m not sure how else to fix it or where to put the command in, but I will just roll with disabling mdns for now.