When Google Play Music launched a few years ago, I ditched iTunes and began using the service as my one and only source for listening to my personal music library. While All Access is great, I still prefer the radio feature on Spotify, so I still use that to discover new music.
In an effort to get all of my music in one place, I had to download and import all of my "liked" Spotify tracks into Google Music, but now with Pyportify from developer Joshua Braegger, the process is completely automated.
Pyportify is a ported version of developer Sebastian Mauer's tool Portify that can run on any machine with Python, allowing you to link Spotify Premium to Google Play Music All Access in order to migrate your playlists over.
Legal Issues
This will violate both Google's and Spotify's terms of service, so there is a chance of negative consequences coming your way if you decide to use this service.
Step 1: Install Homebrew
To get started, you'll need to install Homebrew, a command-line package installer for Mac OS X. There is no installer or DMG file to download for Homebrew; all you have to do is open Terminal and enter the following command (while the spacing looks a bit awkward below, you can simply copy and paste the command into Terminal).
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
After you get the "success" message, you can close Terminal.
Step 2: Install Python
Next up we will have to install Python so our Mac can run Pyportify. Once the installer has downloaded, open it and go through the normal set up prompts, then restart your Mac.
Step 3: Install Pyportify
Now that your Mac has everything it needs to run Pyportify, it's time to install it, which is handled in Terminal and is completed with three commands.
Before moving from one to the next, wait for the entire command to finish running, and if you receive an error, stop and make sure you have completed the above steps correctly. To make things easier on you, just copy and paste these over rather than manually inputting them.
Command 1:
brew install homebrew/binary/libspotify
Command 2 (this command enters as two separate lines):
sudo ln -s /usr/local/opt/libspotify/lib/libspotify.12.1.51.dylib \
/usr/local/opt/libspotify/lib/libspotify
Command 3:
pip install pyportify
If the last command gives you an error, change it to sudo pip install pyportify instead.
Step 4: Use Pyportify to Copy Playlists
There are two ways to use Pyportify. You can either select playlists you want to transfer over through a web client, or you can simply copy all of your playlists from Spotify to Google through a Terminal command.
Method #1: Use the Web Client to Pick & Choose Playlists
To start the web client, open up Terminal and enter the "pyportify" command. This will generate an easy-to-use transfer wizard at localhost:3132, which can be accessed by any web browser, but do not close Terminal until you are completely finished.
From the web client, you will need to enter your Spotify and Google credentials, then you can begin selecting which playlists you want to migrate over. You can make sure everything is going okay by watching the Terminal window. Once the transfer is finished, you can close both Terminal and the wizard.
Method #2: Copy All Playlists Using a Terminal Command
If you want to copy all of your playlists over, you can use the "pyportify-copyall" command in Terminal. You will still need to enter your credentials, but after that, all of your playlists will be transferred over automatically.
While the legality of this app is a bit iffy, it definitely saved me from hours of downloading and uploading music to Google Play Music. Let me know if it worked for you in the comments below, and check us out over on Facebook, Google+, and Twitter.
Just updated your iPhone to iOS 18? You'll find a ton of hot new features for some of your most-used Apple apps. Dive in and see for yourself:
11 Comments
When I tried to install Pyportify, I made it through commands 1 and 2 just fine. However, entering "pip install pyportify" returns "-bash: pip: command not found". Entering "sudo pip install pyportify" returns "sudo: pip: command not found". Please help! This would help make my move to Play Music much easier!
I actually got this working on my other Mac. I realize now that I forgot to restart the initial Mac after installing Python, however, so I'm thinking that was the problem.
This may apply to you.
https://pypi.python.org/pypi/pyportify
and
https://github.com/rckclmbr/pyportify
Now, I have another question. How do I get the Spotify playlists displayed via pyportify to update? I made changes to some of my Spotify playlists and created a couple of new ones right before running pyportify, but the process only shows playlists in their states before these changes were made and none of the new playlists I created.
Even after the restart the playlists aren't updated?
Correct. Any ideas?
Thats strange. It is supposed to update the list every time you sign in to the web client. Let me see if I can find a solution for you.
I don't know what did it, but it's working now. I had planned to do a clean install of Yosemite on my Mac, so I did and it's working!
Thanks for the effort, though!
There are many tools available in the internet. I got one which actually helped me to import my music files.
MusConv.com
Try using the musconv tool, it helps your transfer your music from one music library to another - bangelica
I think musconv tool is one of the best solution about this matters. Just try it. Thanks
Share Your Thoughts