Setting up Sonos with Media Stored on HA using Samba

Home Assistant General

You need the Samba Add On installed and configured
The Sonos requires older SMB protocols so go into Supervisor and set
compatibility_mode: true
in the configuration for Samba and make a note of the user name and password. If you do not set this error 900 will occur when you try to connect.

On Sonos App go to Settings > Media Library and add the Home Assistant folder share, which is normally
//homeassistant/media/music
with the user and password from Samba.

This will then catalogue the music and make it available via