Of potential interest, listenbrainz supports uploading your Spotify backup raw, and will keep it all in a easily parseseable, query-able backup. Combine that with a good scrobbler, and you never need to be at Spotify's whims again