An Applescript which re-creates Spotify playlists within iTunes.
This script does NOT download or transfer songs, it creates playlists in iTunes with songs that are already in your library.
This was created for one very specific purpose, downloading songs from a third party such as Sidify, and automaticall re-creating your playlists within iTunes using that media.
Although it does not download the songs, it does provide a list of all songs that aren't in your iTunes Library, which can be pasted directly into Sidify Music Converter to download them so you can complete the playlist.
This process is now a bit different after a recent update. See below.
-
Mac OS (Tested on Sierra and High Sierra only)
-
iTunes installed ; not Apple Music
-
Spotify installed
-
On spotify, open the playlist you wish to copy.
-
Open the script, and click run.
iTunes will open, and the script will collect the titles of in your library. -
Enter the name of the playlist. Note that if it already exsists in itunes, it will be emptied.
-
Enter the number of songs in the spotify playlist. This is displayed in spotify.
The script will configure spotify (Mute, shuffle & repeat off), then it will wait for spotify to begin playing.
-
In spotify, double check that shuffle is off.
-
In spotify, play the first track in the playlist.
The script will cycle through every song in the playlist, and search for a song with a matching title in your iTunes library. If you have a matching song in iTunes, it will be added to the iTunes playlist.
-
Once complete, the script will provide a list of URI's to songs that were missing in your iTunes library. These can be pasted into sidify to grab songs that you're missing.
The Spotify API hard limits the script at 100 tracks, if the script operates too fast.
For this reason, the scripts adds a one second delay between skipping songs on playlists containing over 100 songs.
Untitled.2.mov
Untitled.2.mov
Sidify has been updated, and they've removed the ability to manually provide a list of URL's to download. Now, it will only download playlists which already exist in spotify.
Whilst an inconvinience, it doesn't render this programme useless.
A work around, for now, is to create a new playlist in spotify to act as a download list.
Copy the list of missing songs, and sanitize it by removing the commas.
It should just look like this :
spotify:track:6V9c2rDSlFKG1PFW56c7bA
spotify:track:2LwJLVCLJfgCsY7ViTAIcn
spotify:track:0DGzkmXGT5jrqSjaJ1EyL2
spotify:track:3PW8R9LHr6tvhdARHAqG9s
spotify:track:3AayefDdUFxivRs79bX7kV
spotify:track:5Rbj8akony3l0NNM5TjH1F
spotify:track:2eR2HzLN0Nww0ZfV5Ly1zv
spotify:track:0M0FvSNRZmDz0Z769rewlI
...
This can then be pasted into your download-playlist in spotify. Sidify can then download this playlist, and the media can be dragged directly into the incomplete playlist in iTunes.