Skip to content

Instantly share code, notes, and snippets.

@burntcookie90
burntcookie90 / export_google_music.js
Created June 27, 2017 14:14 — forked from jmiserez/export_google_music.js
(fixed/updated 2016-05-10) Export your Google Music Library and Playlists (Google Play Music All Access) (see http://webapps.stackexchange.com/questions/50311/print-playlist-from-google-play-music for more)
// Jeremie Miserez <jeremie@miserez.org>, 2016
//
// A little bit of Javascript to let you export your Google Music library, playlists, and album track lists :)
//
// I posted this as an answer here: http://webapps.stackexchange.com/questions/50311/print-playlist-from-google-play-music
//
// 1. Go to: https://play.google.com/music/listen#/all (or your playlist)
//
// 2. Open a developer console (F12 for Chrome). Paste
// code below into the console.
@burntcookie90
burntcookie90 / google_music.scpt
Last active January 4, 2016 07:19 — forked from mayoff/gist:1138816
Applescript to launch google music, or bring it to foreground if it exists
tell application "Google Chrome"
activate
set theUrl to "https://play.google.com/music"
if (count every window) = 0 then
make new window
end if
set found to false
set theTabIndex to -1