Skip to content

Instantly share code, notes, and snippets.

@Hexxeh
Last active December 10, 2015 23:59
Show Gist options
  • Save Hexxeh/4513528 to your computer and use it in GitHub Desktop.
Save Hexxeh/4513528 to your computer and use it in GitHub Desktop.
#!/usr/bin/env python
from spotify_web.friendly import Spotify
import sys
Spotify.AUTOREPLACE_TRACKS = False
spotify = Spotify(sys.argv[1], sys.argv[2])
for playlist in spotify.getPlaylists():
for track in playlist:
if not track.isAvailable(sys.argv[3]):
print track.getName()
spotify.logout()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment