{"action":"opened","issue":{"url":"https://api.github.com/repos/hnarayanan/shpotify/issues/12","labels_url":"https://api.github.com/repos/hnarayanan/shpotify/issues/12/labels{/name}","comments_url":"https://api.github.com/repos/hnarayanan/shpotify/issues/12/comments","events_url":"https://api.github.com/repos/hnarayanan/shpotify/issues/12/events","html_url":"https://github.com/hnarayanan/shpotify/issues/12","id":56005965,"number":12,"title":"Fix play command when Spotify is not previously running","user":{"login":"hnarayanan","id":661446,"avatar_url":"https://avatars.githubusercontent.com/u/661446?v=3","gravatar_id":"","url":"https://api.github.com/users/hnarayanan","html_url":"https://github.com/hnarayanan","followers_url":"https://api.github.com/users/hnarayanan/followers","following_url":"https://api.github.com/users/hnarayanan/following{/other_user}","gists_url":"https://api.github.com/users/hnarayanan/gists{/gist_id}","starred_url":"https://api.github.com/users/hnarayanan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hnarayanan/subscriptions","organizations_url":"https://api.github.com/users/hnarayanan/orgs","repos_url":"https://api.github.com/users/hnarayanan/repos","events_url":"https://api.github.com/users/hnarayanan/events{/privacy}","received_events_url":"https://api.github.com/users/hnarayanan/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/hnarayanan/shpotify/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-01-30T08:15:10Z","updated_at":"2015-01-30T08:15:10Z","closed_at":null,"body":"Currently, none of the `./spotify play` commands do the right thing if they were invoked before actually starting the Spotify application. Upon play, this behaviour should be changed to:\r\n\r\n- check if Spotify.app is running\r\n- if so, behave as it does now\r\n- if not, start Spotify.app and then behave as it does now"}}