{"action":"created","issue":{"url":"https://api.github.com/repos/kbhomes/radiant-player-mac/issues/252","labels_url":"https://api.github.com/repos/kbhomes/radiant-player-mac/issues/252/labels{/name}","comments_url":"https://api.github.com/repos/kbhomes/radiant-player-mac/issues/252/comments","events_url":"https://api.github.com/repos/kbhomes/radiant-player-mac/issues/252/events","html_url":"https://github.com/kbhomes/radiant-player-mac/issues/252","id":46469629,"number":252,"title":"Break out JS integration into separate library","user":{"login":"twolfson","id":902488,"avatar_url":"https://avatars.githubusercontent.com/u/902488?v=3","gravatar_id":"","url":"https://api.github.com/users/twolfson","html_url":"https://github.com/twolfson","followers_url":"https://api.github.com/users/twolfson/followers","following_url":"https://api.github.com/users/twolfson/following{/other_user}","gists_url":"https://api.github.com/users/twolfson/gists{/gist_id}","starred_url":"https://api.github.com/users/twolfson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/twolfson/subscriptions","organizations_url":"https://api.github.com/users/twolfson/orgs","repos_url":"https://api.github.com/users/twolfson/repos","events_url":"https://api.github.com/users/twolfson/events{/privacy}","received_events_url":"https://api.github.com/users/twolfson/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2014-10-22T03:35:15Z","updated_at":"2015-01-18T08:57:40Z","closed_at":null,"body":"A while ago, I saw this and started writing my own `node-webkit` wrapper to support all platforms. I used parts of the JS files to get something quick and dirty working.\r\n\r\nhttps://github.com/twolfson/google-music-webkit/blob/1.0.0/lib/google-music.js\r\n\r\nIn the long term, we should have a common repository that we pull from. Ideally, it would support all modern browsers and be an interface that attaches to the Google Music website:\r\n\r\n```js\r\nvar googleMusic = new GoogleMusic(window);\r\n```\r\n\r\nLet me know if you are interested, otherwise I might fork this repo and strip it down to the JS lib with less singleton assumptions."},"comment":{"url":"https://api.github.com/repos/kbhomes/radiant-player-mac/issues/comments/70400986","html_url":"https://github.com/kbhomes/radiant-player-mac/issues/252#issuecomment-70400986","issue_url":"https://api.github.com/repos/kbhomes/radiant-player-mac/issues/252","id":70400986,"user":{"login":"twolfson","id":902488,"avatar_url":"https://avatars.githubusercontent.com/u/902488?v=3","gravatar_id":"","url":"https://api.github.com/users/twolfson","html_url":"https://github.com/twolfson","followers_url":"https://api.github.com/users/twolfson/followers","following_url":"https://api.github.com/users/twolfson/following{/other_user}","gists_url":"https://api.github.com/users/twolfson/gists{/gist_id}","starred_url":"https://api.github.com/users/twolfson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/twolfson/subscriptions","organizations_url":"https://api.github.com/users/twolfson/orgs","repos_url":"https://api.github.com/users/twolfson/repos","events_url":"https://api.github.com/users/twolfson/events{/privacy}","received_events_url":"https://api.github.com/users/twolfson/received_events","type":"User","site_admin":false},"created_at":"2015-01-18T08:57:39Z","updated_at":"2015-01-18T08:57:39Z","body":"As promised, I have began my fork. I finished writing tests for every method (except for experimental features like star ratings). It should be mention that I caught an issue in `Rating.getRating()` which was returning `0` for all thumb ratings.\r\n\r\nhttps://github.com/twolfson/google-music.js"}}