{"action":"created","issue":{"url":"https://api.github.com/repos/thisissoon/FM-API/issues/12","labels_url":"https://api.github.com/repos/thisissoon/FM-API/issues/12/labels{/name}","comments_url":"https://api.github.com/repos/thisissoon/FM-API/issues/12/comments","events_url":"https://api.github.com/repos/thisissoon/FM-API/issues/12/events","html_url":"https://github.com/thisissoon/FM-API/issues/12","id":64258533,"number":12,"title":"Feature: Names to the Tracks","user":{"login":"krak3n","id":112322,"avatar_url":"https://avatars.githubusercontent.com/u/112322?v=3","gravatar_id":"","url":"https://api.github.com/users/krak3n","html_url":"https://github.com/krak3n","followers_url":"https://api.github.com/users/krak3n/followers","following_url":"https://api.github.com/users/krak3n/following{/other_user}","gists_url":"https://api.github.com/users/krak3n/gists{/gist_id}","starred_url":"https://api.github.com/users/krak3n/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/krak3n/subscriptions","organizations_url":"https://api.github.com/users/krak3n/orgs","repos_url":"https://api.github.com/users/krak3n/repos","events_url":"https://api.github.com/users/krak3n/events{/privacy}","received_events_url":"https://api.github.com/users/krak3n/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-03-25T12:36:45Z","updated_at":"2015-04-07T14:24:59Z","closed_at":"2015-04-07T14:24:19Z","body":"Now we have authentication and we can track users we should put faces to the tracks added to the playlist.\r\n\r\nThis means the redis queue needs to store user IDs and will result in a change in what gets stored in the queue. Currently the Redis just stores a list of Spotify URIs. I suggest changing this to be a json object:\r\n\r\n``` \r\n[\r\n  '{\"uri\": \"spotify:track:12345\", \"user\": \"abcsefg\"}',\r\n  '{\"uri\": \"spotify:track:78910\", \"user\": \"hijklmn\"}'\r\n]\r\n```\r\n\r\nThis would allow the `/player/queue` to return the user along with the track object:\r\n\r\n```\r\ntrack: { ... },\r\nuser: {\r\n  name: 'User Name'\r\n}\r\n```\r\n\r\nThis would also need to apply to the `fm:player:current` redis key and thus allow the `/player/current` resource to render user data also.\r\n\r\nThis shouldn't effect most events such as `play`, `end`, `top` etc as we still only care about the track uri."},"comment":{"url":"https://api.github.com/repos/thisissoon/FM-API/issues/comments/90584349","html_url":"https://github.com/thisissoon/FM-API/issues/12#issuecomment-90584349","issue_url":"https://api.github.com/repos/thisissoon/FM-API/issues/12","id":90584349,"user":{"login":"radeklos","id":7483354,"avatar_url":"https://avatars.githubusercontent.com/u/7483354?v=3","gravatar_id":"","url":"https://api.github.com/users/radeklos","html_url":"https://github.com/radeklos","followers_url":"https://api.github.com/users/radeklos/followers","following_url":"https://api.github.com/users/radeklos/following{/other_user}","gists_url":"https://api.github.com/users/radeklos/gists{/gist_id}","starred_url":"https://api.github.com/users/radeklos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/radeklos/subscriptions","organizations_url":"https://api.github.com/users/radeklos/orgs","repos_url":"https://api.github.com/users/radeklos/repos","events_url":"https://api.github.com/users/radeklos/events{/privacy}","received_events_url":"https://api.github.com/users/radeklos/received_events","type":"User","site_admin":false},"created_at":"2015-04-07T14:24:59Z","updated_at":"2015-04-07T14:24:59Z","body":"I've closed this issue because PR has been already merge in 2 weeks ago."}}