Skip to content
master
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README.md


//////
//////////
/////////////
/////////////////
/////////////////////    ,,,,,,,
///////////////////..,,,,,,,,,,,,,,,,,
///////////////.,,,,,,,,,,,,,,,,,,,,,,,,,
////////////,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,.
///////////,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,.
/////////,,,,,,,,,,,,,,**********,,,,,,,,,,,,,,.
///////,,,,,,,,,,,,******************,,,,,,,,,,,,
///////,,,,,,,,,,**********************,,,,,,,,,,,
//////,,,,,,,,,,*************************,,,,,,,,,,
/////,,,,,,,,,,*************.    .********,,,,,,,,,,
/////,,,,,,,,,**************.    .*********,,,,,,,,,///
////,,,,,,,,,***************. *..**********,,,,,,,,,*////
////,,,,,,,,,***************. *************,,,,,,,,,*//////
////,,,,,,,,,***********.     *************,,,,,,,,,*//////
////,,,,,,,,,,*********       .************,,,,,,,,,/////
/////,,,,,,,,,*********       .***********,,,,,,,,,,/
/////,,,,,,,,,,**********.  ..**********,,,,,,,,,,
//////,,,,,,,,,,,*********************,,,,,,,,,
///////,,,,,,,,,,,,*****************,,,,,,,
////////,,,,,,,,,,,,,,***********,,,,,,
//////////,,,,,,,,,,,,,,,,,,,,,,,,,,
////////////,,,,,,,,,,,,,,,,,,,,,
//////////////,,,,,,,,,,,,,,,
/////////////////,,,,,,,,           ______ ___    ______ __  __ ______
/////////////////////              / ____//   |  / ____// / / // ____/
//////////////////                / /    / /| | / /    / /_/ // __/
//////////////                   / /___ / ___ |/ /___ / __  // /___
///////////                      \____//_/  |_|\____//_/ /_//_____/
////////

gpm-cache

Build Status Maintainability Test Coverage

An innocuous little script that caches information about a GPM playlist using gmusicapi

Please use this script responsibly. Do not use this script to violate the terms of your Google Play account, you might get in to trouble and that would be bad! :O

Installation

Install from GitHub

pip install -r requirements.txt --user
python setup.py develop --user

Testing

Test in your environment

python setup.py test

Use tox to run tests on multiple python versions

tox

Usage

python -m gpm_cache.core \
  --email={your google email} \
  --device-id 'XXXXXXXXXXXXXXXX' \
  --cache-location '~/Music/gpm-download/' \
  --playlist={your GPM playlist} \
  --playlist-cached={playlist to move successfully cached items}
  --rate-limit={rate limit (requests per sec)}

Or, to save yourself typing these arguments multiple times, you can write a config file e.g. gpm_args.txt like this:

--email
your@email.com
--playlist
Your Playlist Name
--playlist-cached
Your Cached Playlist Name
--cache-location
~/your-cache-location/
--debug-level
info
--device-id
ABC123

and then you only have to type

python -m gpm_cache.core @gpm_args.txt

Cached Playlist

If the --playlist-cached argument is provided, then all songs which were succesfully cached will be saved to this playlist, and removed from the original playlist specified with --playlist

Roadmap

About

A little script to locally cache files from a playlist in Google Play Music for you to enjoy later

Topics

Resources

Releases

No releases published

Packages

No packages published

Languages

You can’t perform that action at this time.