GOPMA - The Google Play Music Assistant
For aggregating group playlists. Built on the unofficial Google Music API.
- Install Google Music API with
pip install gmusicapi
- Generate an application specific password for your Google account here.
- Create a
config.ini
file in the same directory asgopma.py
. It should include:
[login]
[email protected]
password=application_password_here
At this point you should be good to go!
I haven't actually tested this from scratch yet. What SHOULD happen is the following:
- Run GOPMA with the
--create
argument. This should create a whole heap of playlists (genres, the daily playlists, and the giant aggregate) - Get your friends to make playlists named "[GOPMA] Shared Playlist" (this is configurable in the global settings).
- Get them to make those playlists public, have them share the link with you, and then you subscribe to them.
- Run GOPMA with the
--update
argument. - If everything looks like it's working, set it up as a cronjob on your server.
usage: gopma.py [-h] [-d | -w | -c | -u | -r | -g | -l]
optional arguments:
-h, --help show this help message and exit
-d, --delete Delete all empty playlists.
-w, --wipe Wipe all GOPMA playlists.
-c, --create Create all necessary playlists.
-u, --update Update group playlists.
-r, --reset Reset the daily playlists.
-g, --genre_update Reset the genre files.
-l, --list Return a list of all the GOPMA share urls.