{"action":"created","issue":{"url":"https://api.github.com/repos/hnarayanan/shpotify/issues/8","labels_url":"https://api.github.com/repos/hnarayanan/shpotify/issues/8/labels{/name}","comments_url":"https://api.github.com/repos/hnarayanan/shpotify/issues/8/comments","events_url":"https://api.github.com/repos/hnarayanan/shpotify/issues/8/events","html_url":"https://github.com/hnarayanan/shpotify/issues/8","id":55959566,"number":8,"title":"Random search seems to do the wrong thing?","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":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":12,"created_at":"2015-01-29T21:29:29Z","updated_at":"2015-01-29T22:28:43Z","closed_at":null,"body":"@thepuzzlemaster: I am not sure that randomly picking one of the returning search results is the best behaviour since the returning results are already sorted in some way (perhaps popularity?) the first result seemed to work for me.\r\n\r\ne.g. \r\n````\r\nsearch query          what i expect                       searchtrack behaviour               current behaviour\r\namazing               amazing by kanye west               amazing by kanye west               all you need is a spark by danny saucedo\r\nblood on the leaves   blood on the leaves by kanye west   blood on the leaves by kanye west   only one by kanye west\r\n````\r\n\r\nPicked one multi-word and one single word song name as an example.\r\n\r\nIf you agree that this behaviour should be changed, do you want me to do it or should I?"},"comment":{"url":"https://api.github.com/repos/hnarayanan/shpotify/issues/comments/72117433","html_url":"https://github.com/hnarayanan/shpotify/issues/8#issuecomment-72117433","issue_url":"https://api.github.com/repos/hnarayanan/shpotify/issues/8","id":72117433,"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},"created_at":"2015-01-29T22:28:43Z","updated_at":"2015-01-29T22:28:43Z","body":"Before you commit any fixes, be sure to pull the repository. I've been mucking around with it a lot in the last half an hour."}}