I’ve been experimenting with HA and my squeezebox server. Initially when I configured it the server had authentication turned on and I entered the username and password in my configuration. This resulted in media player cards being created for my players but with no information, all it said was “Unknown”. After talking with a guy on Reddit, I tried turning authentication off on the server and removing the username and password configuration and everything works great.
Is there any known way to get this to work with authentication turned on? I access my squeezebox server from outside and can’t leave it open. Since it finds my players and is even able to turn them on and off, it seems that the authentication is working somewhat.
I looked at the code and the problem was easy to see. It seems that it uses authentication when doing a query but not when it checks player status. The following is a diff that fixes this. Unfortunately it still does not show cover art. This is because it looks like there is a method to get the URL for the art but i’m guessing the code that uses the URL does not try to do any authentication.