Some quick scripts for editing Google Music playlists.
Uses the unofficial Google Music Api by simon weber.
Install Unofficial Google Music Api
- Pip installation:
sudo pip install --upgrade gmusicapi
- Both scripts use OAuth to login with gmusicapi. Simply run either script once to generate the credentials.
- The credentials will be saved to
~/.local/share/gmusicapi.cred
- This script deletes the duplicate songs from within each individual playlist. The tracks must be identical (ie. the same track id and song file) to be deleted.
- This script provides a way to move the last N songs of a playlist to be the first N songs. Run it without arguments to see the usage.
- Neither script prompts you before making changes to your playlists.