Complicated issue. Chris is spot on. Even if you have the license your not allowed to use Spotify (or any other music streaming service) in a non-personal non-residential environment due to their agreements with rights holders.
We typically recommend https://www.soundtrackyourbrand.com which is owned by spotify, but is a different service which carries with it everything you need to legally use it in organizational settings. It also includes native multi-zone support (pay per zone), and scheduling.
The catch is that by default you only select moods, not individual songs. Part of how the licensing works.
You can however import a spotify playlist, and it will include all songs that it can get the rights for, plus additional songs which fit your mood - up to 300 tracks. The only way to avoid it auto-adding songs that aren’t in your playlist is to ensure your spotify playlist is at least 300 songs long itself. https://help.soundtrackyourbrand.com/hc/en-us/articles/360017775051-Create-a-soundtrack
I know this all seems a little silly, but it’s because there are strong legalities around this. Enforceable legalities.
Even if you do not use this service for your listed usage, you should absolutely be using it for your cafes, bookstores, or campus background music.
The only way I am aware of to do background music legally, and have complete control over your playlists in real time, is to buy your music in DRM Free format (CD’s ripped, or iTunes Store AAC files), loading those into a scheduled playout solution with reporting, and then carrying your own licensing and manual usage reporting on top of all that.
… Most of the time we just use SoundTrack
Hope this helps you.