{"action":"created","issue":{"url":"https://api.github.com/repos/masmu/pulseaudio-dlna/issues/91","labels_url":"https://api.github.com/repos/masmu/pulseaudio-dlna/issues/91/labels{/name}","comments_url":"https://api.github.com/repos/masmu/pulseaudio-dlna/issues/91/comments","events_url":"https://api.github.com/repos/masmu/pulseaudio-dlna/issues/91/events","html_url":"https://github.com/masmu/pulseaudio-dlna/issues/91","id":107494220,"number":91,"title":"pulseaudio-dlna-0.4.5.1 startup error","user":{"login":"tgurr","id":414984,"avatar_url":"https://avatars.githubusercontent.com/u/414984?v=3","gravatar_id":"","url":"https://api.github.com/users/tgurr","html_url":"https://github.com/tgurr","followers_url":"https://api.github.com/users/tgurr/followers","following_url":"https://api.github.com/users/tgurr/following{/other_user}","gists_url":"https://api.github.com/users/tgurr/gists{/gist_id}","starred_url":"https://api.github.com/users/tgurr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tgurr/subscriptions","organizations_url":"https://api.github.com/users/tgurr/orgs","repos_url":"https://api.github.com/users/tgurr/repos","events_url":"https://api.github.com/users/tgurr/events{/privacy}","received_events_url":"https://api.github.com/users/tgurr/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":11,"created_at":"2015-09-21T11:44:52Z","updated_at":"2015-09-21T15:23:41Z","closed_at":null,"body":"0.4.4 worked fine but with 0.4.5.1 I get the following error when trying to launch pulseaudio-dlna:\r\n\r\n```\r\n$ pulseaudio-dlna --host xxx.xxx.xxx.xxx\r\n09-21 13:40:35 pulseaudio_dlna.application                    INFO     Using version: 0.4.5.1                                                                                                                                                                                  \r\n09-21 13:40:35 pulseaudio_dlna.application                    INFO     Using localhost: xxx.xxx.xxx.xxx:8080                                                                                                                                                                    \r\n09-21 13:40:35 pulseaudio_dlna.application                    INFO     Encoder settings:                                                                                                                                                                                       \r\n09-21 13:40:35 pulseaudio_dlna.application                    INFO       <AacEncoder available=\"True\" bit-rate=\"192\">                                                                                                                                                          \r\n09-21 13:40:35 pulseaudio_dlna.application                    INFO       <FlacEncoder available=\"True\">                                                                                                                                                                        \r\n09-21 13:40:35 pulseaudio_dlna.application                    INFO       <L16Encoder available=\"True\" sample-rate=\"44100\" channels=\"2\">                                                                                                                                        \r\n09-21 13:40:35 pulseaudio_dlna.application                    INFO       <LameEncoder available=\"True\" bit-rate=\"192\">                                                                                                                                                         \r\n09-21 13:40:35 pulseaudio_dlna.application                    INFO       <NullEncoder available=\"True\">                                                                                                                                                                        \r\n09-21 13:40:35 pulseaudio_dlna.application                    INFO       <OggEncoder available=\"True\" bit-rate=\"192\">                                                                                                                                                          \r\n09-21 13:40:35 pulseaudio_dlna.application                    INFO       <OpusEncoder available=\"True\" bit-rate=\"192\">                                                                                                                                                         \r\n09-21 13:40:35 pulseaudio_dlna.application                    INFO       <WavEncoder available=\"True\">                                                                                                                                                                         \r\n09-21 13:40:35 pulseaudio_dlna.application                    INFO     Codec settings:                                                                                                                                                                                         \r\n09-21 13:40:35 pulseaudio_dlna.application                    INFO       <AacCodec enabled=\"True\" priority=\"12\" mime_type=\"audio/aac\">                                                                                                                                         \r\n09-21 13:40:35 pulseaudio_dlna.application                    INFO       <L16Codec enabled=\"True\" priority=\"0\" mime_type=\"audio/L16\">                                                                                                                                          \r\n09-21 13:40:35 pulseaudio_dlna.application                    INFO       <OpusCodec enabled=\"True\" priority=\"3\" mime_type=\"audio/opus\">                                                                                                                                        \r\n09-21 13:40:35 pulseaudio_dlna.application                    INFO       <Mp3Codec enabled=\"True\" priority=\"18\" mime_type=\"audio/mp3\">                                                                                                                                         \r\n09-21 13:40:35 pulseaudio_dlna.application                    INFO       <FlacCodec enabled=\"True\" priority=\"9\" mime_type=\"audio/flac\">                                                                                                                                        \r\n09-21 13:40:35 pulseaudio_dlna.application                    INFO       <WavCodec enabled=\"True\" priority=\"15\" mime_type=\"audio/wav\">                                                                                                                                         \r\n09-21 13:40:35 pulseaudio_dlna.application                    INFO       <OggCodec enabled=\"True\" priority=\"6\" mime_type=\"audio/ogg\">                                                                                                                                          \r\nTraceback (most recent call last):                                                                                                                                                                                                                                             \r\n  File \"/usr/x86_64-pc-linux-gnu/bin/pulseaudio-dlna\", line 9, in <module>                                                                                                                                                                                                     \r\n    load_entry_point('pulseaudio-dlna==0.4.5.1', 'console_scripts', 'pulseaudio-dlna')()                                                                                                                                                                                       \r\n  File \"/usr/lib/python2.7/site-packages/pulseaudio_dlna/__main__.py\", line 117, in main                                                                                                                                                                                       \r\n    app.run(options)                                                                                                                                                                                                                                                           \r\n  File \"/usr/lib/python2.7/site-packages/pulseaudio_dlna/application.py\", line 194, in run                                                                                                                                                                                     \r\n    device_filter, device_config, locations, disable_ssdp_listener)                                                                                                                                                                                                            \r\n  File \"/usr/lib/python2.7/site-packages/pulseaudio_dlna/listener.py\", line 67, in __init__                                                                                                                                                                                    \r\n    discover.search()                                                                                                                                                                                                                                                          \r\n  File \"/usr/lib/python2.7/site-packages/pulseaudio_dlna/discover.py\", line 67, in search                                                                                                                                                                                      \r\n    BaseUpnpMediaRendererDiscover.search(self, ttl, timeout, times)                                                                                                                                                                                                            \r\n  File \"/usr/lib/python2.7/site-packages/pulseaudio_dlna/discover.py\", line 51, in search                                                                                                                                                                                      \r\n    self._header_received(header, address)                                                                                                                                                                                                                                     \r\n  File \"/usr/lib/python2.7/site-packages/pulseaudio_dlna/discover.py\", line 71, in _header_received                                                                                                                                                                            \r\n    header=header))                                                                                                                                                                                                                                                            \r\nUnicodeDecodeError: 'ascii' codec can't decode byte 0xf0 in position 136: ordinal not in range(128)\r\n```"},"comment":{"url":"https://api.github.com/repos/masmu/pulseaudio-dlna/issues/comments/142014178","html_url":"https://github.com/masmu/pulseaudio-dlna/issues/91#issuecomment-142014178","issue_url":"https://api.github.com/repos/masmu/pulseaudio-dlna/issues/91","id":142014178,"user":{"login":"tgurr","id":414984,"avatar_url":"https://avatars.githubusercontent.com/u/414984?v=3","gravatar_id":"","url":"https://api.github.com/users/tgurr","html_url":"https://github.com/tgurr","followers_url":"https://api.github.com/users/tgurr/followers","following_url":"https://api.github.com/users/tgurr/following{/other_user}","gists_url":"https://api.github.com/users/tgurr/gists{/gist_id}","starred_url":"https://api.github.com/users/tgurr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tgurr/subscriptions","organizations_url":"https://api.github.com/users/tgurr/orgs","repos_url":"https://api.github.com/users/tgurr/repos","events_url":"https://api.github.com/users/tgurr/events{/privacy}","received_events_url":"https://api.github.com/users/tgurr/received_events","type":"User","site_admin":false},"created_at":"2015-09-21T15:23:40Z","updated_at":"2015-09-21T15:23:40Z","body":"I'm afraid I can't test anything DLNA related with that device, we only have it for the purpose of attaching USB dongles to our virtualised servers and UPNP shouldn't have been enabled on that device in the first place. So I'm not sure if it's worth the hassle or maintanance burdon to introduce such a workaround for a device perhaps noone else uses. On the other hand it's a plus that pulseaudio-dlna doesn't crash in such a case."}}