I have tried this, but the problem is that you make Spotify into a background only app, meaning that you don't have access to the menus, so you lose quite a lot. Come on Spotify, really? We are PAYING for this app, why do we need to be nagged by this crappy notifications.
Notifications should only be used for things of import and changes to a random playlist do not qualify as such. Spotify is essentially spamming all of it's users with no apparent way to 1) reset the count number (opening the app doesn't do it) and 2) disable the badge 'notifications' for those of us that are OCD enough to launch programs just to remove badges. This is annoying enough to me that I am debating uninstalling the app.
Please follow guide design principles by addressing the issues in some way.
I just canceled my Spotify account and signed up for Apple Music.
Good bye, Spotify. You could have listened to the 12 pages of complaints about this issue but you chose to ignore your paying users. But now there's an alternative for people with Macs so I don't have to deal with your stupid giant red glaring notifications interrupting my work anymore.