I am using the Spotify application on my Macbook Pro. The app is always open while I am doing other things and when I want to play my music sometimes there is no sound playing (only on Spotify, sound from Youtube or anything else works fine) but the time bar at the bottom is still moving. Also sometimes when this happens a blue banner appears at the top saying "unable to play current song" or something similar to that but this does not appear every time.
To fix this I have to restart the Spotify application (exiting the app and opening it up again). When I do this the music works again but still, sometimes I will get this problem again and it is very annoying having to restart my Spotify every time.
It is not my earphones, my volume is not on mute and I have tried reinstalling Spotify but I still have this problem.
I am using version MacOS Catalina 10.15.1 and Spotify version 22.214.171.1240.g7d17e3ce