Right-click the Spotify in your Dock. Select Options -> Show in Finder
Find Spotify in the Finder window, right-click, hit "Show Package Contents".
Navigate to the Contents/Resources/applescript folder, right-click Spotify.sdef, select 'Copy "Spotify.sdef"
Right-click the parent "Resources" Folder, click "Paste Item"
Restart your Mac and HyperDock and Spotify should play nicely again.