Last active
December 10, 2015 23:59
-
-
Save Hexxeh/4513528 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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