{"action":"created","issue":{"url":"https://api.github.com/repos/bencevans/node-sonos/issues/65","labels_url":"https://api.github.com/repos/bencevans/node-sonos/issues/65/labels{/name}","comments_url":"https://api.github.com/repos/bencevans/node-sonos/issues/65/comments","events_url":"https://api.github.com/repos/bencevans/node-sonos/issues/65/events","html_url":"https://github.com/bencevans/node-sonos/issues/65","id":58315182,"number":65,"title":"Decouple listener from server","user":{"login":"monsur","id":81861,"avatar_url":"https://avatars.githubusercontent.com/u/81861?v=3","gravatar_id":"","url":"https://api.github.com/users/monsur","html_url":"https://github.com/monsur","followers_url":"https://api.github.com/users/monsur/followers","following_url":"https://api.github.com/users/monsur/following{/other_user}","gists_url":"https://api.github.com/users/monsur/gists{/gist_id}","starred_url":"https://api.github.com/users/monsur/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/monsur/subscriptions","organizations_url":"https://api.github.com/users/monsur/orgs","repos_url":"https://api.github.com/users/monsur/repos","events_url":"https://api.github.com/users/monsur/events{/privacy}","received_events_url":"https://api.github.com/users/monsur/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-02-20T06:28:36Z","updated_at":"2015-04-20T14:33:47Z","closed_at":null,"body":"Right now, listener.js creates a new server to listen for Sonos notifications. But there may be cases where a developer has an existing server where they'd like to receive notifications. For these cases, it might be nice to return a Connect middleware handler function which they can then plug into their own server.\r\n\r\n<bountysource-plugin>\r\n---\r\nWant to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/8734580-decouple-listener-from-server?utm_campaign=plugin&utm_content=tracker%2F276575&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F276575&utm_medium=issues&utm_source=github).\r\n</bountysource-plugin>"},"comment":{"url":"https://api.github.com/repos/bencevans/node-sonos/issues/comments/94468682","html_url":"https://github.com/bencevans/node-sonos/issues/65#issuecomment-94468682","issue_url":"https://api.github.com/repos/bencevans/node-sonos/issues/65","id":94468682,"user":{"login":"bencevans","id":638535,"avatar_url":"https://avatars.githubusercontent.com/u/638535?v=3","gravatar_id":"","url":"https://api.github.com/users/bencevans","html_url":"https://github.com/bencevans","followers_url":"https://api.github.com/users/bencevans/followers","following_url":"https://api.github.com/users/bencevans/following{/other_user}","gists_url":"https://api.github.com/users/bencevans/gists{/gist_id}","starred_url":"https://api.github.com/users/bencevans/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bencevans/subscriptions","organizations_url":"https://api.github.com/users/bencevans/orgs","repos_url":"https://api.github.com/users/bencevans/repos","events_url":"https://api.github.com/users/bencevans/events{/privacy}","received_events_url":"https://api.github.com/users/bencevans/received_events","type":"User","site_admin":false},"created_at":"2015-04-20T14:33:47Z","updated_at":"2015-04-20T14:33:47Z","body":"+1"}}