Both Discogs and Spotify offer a Web API for Third Party Applications like this one. After logging in with your Spotify account, you will be asked to provide a Discogs username. Using the Web APIs, we will query the public collection of the given user and try our best to match each release from the collection to an album on Spotify. The result will be stored for you inside a newly created playlist in your Spotify account.
Written in Python, Mopidy plays music from a local disk, Spotify, SoundCloud, Google Play Music, and more. You edit the playlist from any phone, tablet, or computer using a range of MPD and web clients.