{"action":"created","issue":{"url":"https://api.github.com/repos/oeuillot/upnpserver/issues/37","labels_url":"https://api.github.com/repos/oeuillot/upnpserver/issues/37/labels{/name}","comments_url":"https://api.github.com/repos/oeuillot/upnpserver/issues/37/comments","events_url":"https://api.github.com/repos/oeuillot/upnpserver/issues/37/events","html_url":"https://github.com/oeuillot/upnpserver/issues/37","id":104335177,"number":37,"title":"Support for multiple devices per server","user":{"login":"dearchap","id":3200486,"avatar_url":"https://avatars.githubusercontent.com/u/3200486?v=3","gravatar_id":"","url":"https://api.github.com/users/dearchap","html_url":"https://github.com/dearchap","followers_url":"https://api.github.com/users/dearchap/followers","following_url":"https://api.github.com/users/dearchap/following{/other_user}","gists_url":"https://api.github.com/users/dearchap/gists{/gist_id}","starred_url":"https://api.github.com/users/dearchap/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dearchap/subscriptions","organizations_url":"https://api.github.com/users/dearchap/orgs","repos_url":"https://api.github.com/users/dearchap/repos","events_url":"https://api.github.com/users/dearchap/events{/privacy}","received_events_url":"https://api.github.com/users/dearchap/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":12,"created_at":"2015-09-01T19:16:39Z","updated_at":"2015-09-02T16:38:13Z","closed_at":null,"body":"Right now we can add multiple services to root device. However some emulated devices actually consist of services as well as multiple sub-devices(each with its own services). Can the upnpserver code be moved into a device class in device.js ? That way upnpserver can be given just the root device node and internally it can create services and sub-devices etc. "},"comment":{"url":"https://api.github.com/repos/oeuillot/upnpserver/issues/comments/137162879","html_url":"https://github.com/oeuillot/upnpserver/issues/37#issuecomment-137162879","issue_url":"https://api.github.com/repos/oeuillot/upnpserver/issues/37","id":137162879,"user":{"login":"s-leger","id":7442572,"avatar_url":"https://avatars.githubusercontent.com/u/7442572?v=3","gravatar_id":"","url":"https://api.github.com/users/s-leger","html_url":"https://github.com/s-leger","followers_url":"https://api.github.com/users/s-leger/followers","following_url":"https://api.github.com/users/s-leger/following{/other_user}","gists_url":"https://api.github.com/users/s-leger/gists{/gist_id}","starred_url":"https://api.github.com/users/s-leger/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/s-leger/subscriptions","organizations_url":"https://api.github.com/users/s-leger/orgs","repos_url":"https://api.github.com/users/s-leger/repos","events_url":"https://api.github.com/users/s-leger/events{/privacy}","received_events_url":"https://api.github.com/users/s-leger/received_events","type":"User","site_admin":false},"created_at":"2015-09-02T16:38:13Z","updated_at":"2015-09-02T16:38:13Z","body":"For services, file naming convention may allow to put all deps into a single folder ensuring auto required files always work.\r\nAlso a naming convention for those folders should be a good starting point (service filename prefix).\r\n"}}