refactoring spotify actions to sputils