You can listen to Spotify from the command line with this well-made CLI tool https://www.omgubuntu.co.uk/2020/02/spotify-cli-client-ncspot
@omgubuntu just installed ncspot, it's brilliant. Uses way less cpu and memory. It responds to my multimedia keys too (using playerctl).
For people who care about, support, or build Free, Libre, and Open Source Software (FLOSS).