I’m running Plex Server on TrueNAS and I really appreciate it.
The only point is, although it is useful and possible to share or not some Music libraries for some users, I noticed last time that when browsing though DNLA using a Windows client for instance, all my libraries are visible and accessible!
Is the a way to prevent some libraries from being exposed through DNLA? This is just a non sens if you can filter from libs when using a client, but not if browsing over DNLA…
No, you cannot do that.
The DLNA server will use your admin user, so it sees everything. This is why the DLNA server is disabled by default if you create a Plex Home.
There’s a feature suggestion to allow controlling which libraries to be included over DLNA – IIRC there’s also been one to bind DLNA to a different account and only show what that account can see.