{"action":"created","issue":{"url":"https://api.github.com/repos/masmu/pulseaudio-dlna/issues/125","labels_url":"https://api.github.com/repos/masmu/pulseaudio-dlna/issues/125/labels{/name}","comments_url":"https://api.github.com/repos/masmu/pulseaudio-dlna/issues/125/comments","events_url":"https://api.github.com/repos/masmu/pulseaudio-dlna/issues/125/events","html_url":"https://github.com/masmu/pulseaudio-dlna/issues/125","id":116425219,"number":125,"title":"Device discovery very slow (Yamaha RX-V573)","user":{"login":"ltzoke","id":15806657,"avatar_url":"https://avatars.githubusercontent.com/u/15806657?v=3","gravatar_id":"","url":"https://api.github.com/users/ltzoke","html_url":"https://github.com/ltzoke","followers_url":"https://api.github.com/users/ltzoke/followers","following_url":"https://api.github.com/users/ltzoke/following{/other_user}","gists_url":"https://api.github.com/users/ltzoke/gists{/gist_id}","starred_url":"https://api.github.com/users/ltzoke/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ltzoke/subscriptions","organizations_url":"https://api.github.com/users/ltzoke/orgs","repos_url":"https://api.github.com/users/ltzoke/repos","events_url":"https://api.github.com/users/ltzoke/events{/privacy}","received_events_url":"https://api.github.com/users/ltzoke/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":37,"created_at":"2015-11-11T21:29:25Z","updated_at":"2015-11-17T15:22:30Z","closed_at":null,"body":"Discovery of the above mentioned device is very slow (minutes). It will not be added to the devices.json file when --create-device-config or --update-device-config is used as arguments to pulseaudio-dlna. There doesn't seem to be a timeout option usable with these two arguments.\r\n\r\nExecuting the following works like a charm and the device is added instantly:\r\n>pulseaudio-dlna --renderer-urls http://10.10.0.69:8080/MediaRenderer/desc.xml\r\n\r\nA log is available here: http://sofia.valkyr.se/pulseaudio-dlna-render-url.log\r\nAnother log when it was discovered some time after pulseaudio-dlna was started is available here: http://sofia.valkyr.se/pulseaudio-dlna.log\r\nBoth logs where generated with --debug 2>&1 |tee\r\n\r\n\r\nJust let me know what more info you need and I shall provide."},"comment":{"url":"https://api.github.com/repos/masmu/pulseaudio-dlna/issues/comments/157401755","html_url":"https://github.com/masmu/pulseaudio-dlna/issues/125#issuecomment-157401755","issue_url":"https://api.github.com/repos/masmu/pulseaudio-dlna/issues/125","id":157401755,"user":{"login":"ltzoke","id":15806657,"avatar_url":"https://avatars.githubusercontent.com/u/15806657?v=3","gravatar_id":"","url":"https://api.github.com/users/ltzoke","html_url":"https://github.com/ltzoke","followers_url":"https://api.github.com/users/ltzoke/followers","following_url":"https://api.github.com/users/ltzoke/following{/other_user}","gists_url":"https://api.github.com/users/ltzoke/gists{/gist_id}","starred_url":"https://api.github.com/users/ltzoke/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ltzoke/subscriptions","organizations_url":"https://api.github.com/users/ltzoke/orgs","repos_url":"https://api.github.com/users/ltzoke/repos","events_url":"https://api.github.com/users/ltzoke/events{/privacy}","received_events_url":"https://api.github.com/users/ltzoke/received_events","type":"User","site_admin":false},"created_at":"2015-11-17T15:22:30Z","updated_at":"2015-11-17T15:22:30Z","body":"I changed line 80 to each of the following <code>sock.bind((host, 9200))</code> and <code>sock.bind((host, 9100))</code>. Both alternatives seem to work regardless of True or False setting of <code>USE_SINGLE_SOCKET</code>. Also tried port 1901 and it works. Port 1900 does not work for some reason."}}