This is a modified version of Simon Weber's playlist importer for Google Play Music (which can be found here: https://github.com/simon-weber/Google-Music-Playlist-Importer).
- I needed a different regex pattern as my music library is set up differently.
- I wanted to simplify the script so it had less manual intervention
- Python >= 2.7
- My forked version of
gmusicapi
which fixes a couple of bugs intools.py
. It's currently pointing to apatch-2
branch. Once my open PR to the main repository gets approved/merged, this will no longer be necessary. Don't know why TravisCI is crying about it.
I have only tested the script with M3U and M3U8 playlist formats.
python import.py my-playlist.m3u
- Goes through your playlist file and attempts to match each song with one in your Google Music library
- Creates a playlist automatically with the filename of the playlist (minus the file extension)
- The power of the
gmusicapi
asks you to choose a result if there's a "tie-break" (more than one match found) - Adds all matched results to your new playlist
- Check if the playlist exists. This means if you run the same import twice, it will create a duplicate. Google isn't that fussy about unique names for playlists.
- What It Won't Do!