{"action":"created","issue":{"url":"https://api.github.com/repos/masmu/pulseaudio-dlna/issues/110","labels_url":"https://api.github.com/repos/masmu/pulseaudio-dlna/issues/110/labels{/name}","comments_url":"https://api.github.com/repos/masmu/pulseaudio-dlna/issues/110/comments","events_url":"https://api.github.com/repos/masmu/pulseaudio-dlna/issues/110/events","html_url":"https://github.com/masmu/pulseaudio-dlna/issues/110","id":113564507,"number":110,"title":"pulseaudio-dlna on raspberry","user":{"login":"sartyx","id":12257583,"avatar_url":"https://avatars.githubusercontent.com/u/12257583?v=3","gravatar_id":"","url":"https://api.github.com/users/sartyx","html_url":"https://github.com/sartyx","followers_url":"https://api.github.com/users/sartyx/followers","following_url":"https://api.github.com/users/sartyx/following{/other_user}","gists_url":"https://api.github.com/users/sartyx/gists{/gist_id}","starred_url":"https://api.github.com/users/sartyx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sartyx/subscriptions","organizations_url":"https://api.github.com/users/sartyx/orgs","repos_url":"https://api.github.com/users/sartyx/repos","events_url":"https://api.github.com/users/sartyx/events{/privacy}","received_events_url":"https://api.github.com/users/sartyx/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":26,"created_at":"2015-10-27T11:43:22Z","updated_at":"2015-10-30T12:40:27Z","closed_at":null,"body":"Hi I am having some difficulties to get this working on a raspberry pi. Probably me, not a bug. Hope you can help out.\r\n\r\nI manually installed all the dependencies as far as I can see.\r\n\r\nWhen now executing it I get this in return:\r\n\r\n```\r\n $ pulseaudio-dlna\r\n10-27 12:18:57 pulseaudio_dlna.notification                   ERROR    notify2 could not be initialized! Notifications will most likely not work.\r\n10-27 12:18:58 pulseaudio_dlna.application                    INFO     Using version: 0.4.6\r\n10-27 12:18:58 pulseaudio_dlna.application                    INFO     Using localhost: 192.168.178.34:8080\r\n10-27 12:18:58 pulseaudio_dlna.application                    INFO     Loaded device config \"/home/pi/.local/share/pulseaudio-dlna/devices.json\"\r\n10-27 12:18:58 pulseaudio_dlna.application                    INFO     Encoder settings:\r\n10-27 12:18:58 pulseaudio_dlna.application                    INFO       <AacEncoder available=\"False\" bit-rate=\"192\">\r\n10-27 12:18:58 pulseaudio_dlna.application                    INFO       <FlacEncoder available=\"False\">\r\n10-27 12:18:58 pulseaudio_dlna.application                    INFO       <L16Encoder available=\"False\" sample-rate=\"44100\" channels=\"2\">\r\n10-27 12:18:58 pulseaudio_dlna.application                    INFO       <LameEncoder available=\"True\" bit-rate=\"192\">\r\n10-27 12:18:58 pulseaudio_dlna.application                    INFO       <NullEncoder available=\"True\">\r\n10-27 12:18:58 pulseaudio_dlna.application                    INFO       <OggEncoder available=\"False\" bit-rate=\"192\">\r\n10-27 12:18:58 pulseaudio_dlna.application                    INFO       <OpusEncoder available=\"False\" bit-rate=\"192\">\r\n10-27 12:18:58 pulseaudio_dlna.application                    INFO       <WavEncoder available=\"False\">\r\n10-27 12:18:58 pulseaudio_dlna.application                    INFO     Codec settings:\r\n10-27 12:18:58 pulseaudio_dlna.application                    INFO       <AacCodec enabled=\"True\" priority=\"12\" mime_type=\"audio/aac\">\r\n10-27 12:18:58 pulseaudio_dlna.application                    INFO       <L16Codec enabled=\"True\" priority=\"0\" mime_type=\"audio/L16\">\r\n10-27 12:18:58 pulseaudio_dlna.application                    INFO       <OpusCodec enabled=\"True\" priority=\"3\" mime_type=\"audio/opus\">\r\n10-27 12:18:58 pulseaudio_dlna.application                    INFO       <Mp3Codec enabled=\"True\" priority=\"18\" mime_type=\"audio/mp3\">\r\n10-27 12:18:58 pulseaudio_dlna.application                    INFO       <FlacCodec enabled=\"True\" priority=\"9\" mime_type=\"audio/flac\">\r\n10-27 12:18:58 pulseaudio_dlna.application                    INFO       <WavCodec enabled=\"True\" priority=\"15\" mime_type=\"audio/wav\">\r\n10-27 12:18:58 pulseaudio_dlna.application                    INFO       <OggCodec enabled=\"True\" priority=\"6\" mime_type=\"audio/ogg\">\r\n10-27 12:18:58 pulseaudio_dlna.application                    ERROR    The streaming server could not bind to your specified port (8080). Perhaps this is already in use? Application terminates.\r\n```\r\ndoesn´t matter which port I use with --port so I tried:\r\n```\r\n $ pulseaudio-dlna --disable-ssdp-listener --port 10291\r\n10-27 12:24:28 pulseaudio_dlna.notification                   ERROR    notify2 could not be initialized! Notifications will most likely not work.\r\n10-27 12:24:28 pulseaudio_dlna.application                    INFO     Using version: 0.4.6\r\n10-27 12:24:29 pulseaudio_dlna.application                    INFO     Using localhost: 192.168.178.34:10291\r\n10-27 12:24:29 pulseaudio_dlna.application                    INFO     Loaded device config \"/home/pi/.local/share/pulseaudio-dlna/devices.json\"\r\n10-27 12:24:29 pulseaudio_dlna.application                    INFO     Encoder settings:\r\n10-27 12:24:29 pulseaudio_dlna.application                    INFO       <AacEncoder available=\"False\" bit-rate=\"192\">\r\n10-27 12:24:29 pulseaudio_dlna.application                    INFO       <FlacEncoder available=\"False\">\r\n10-27 12:24:29 pulseaudio_dlna.application                    INFO       <L16Encoder available=\"False\" sample-rate=\"44100\" channels=\"2\">\r\n10-27 12:24:29 pulseaudio_dlna.application                    INFO       <LameEncoder available=\"True\" bit-rate=\"192\">\r\n10-27 12:24:29 pulseaudio_dlna.application                    INFO       <NullEncoder available=\"True\">\r\n10-27 12:24:29 pulseaudio_dlna.application                    INFO       <OggEncoder available=\"False\" bit-rate=\"192\">\r\n10-27 12:24:29 pulseaudio_dlna.application                    INFO       <OpusEncoder available=\"False\" bit-rate=\"192\">\r\n10-27 12:24:29 pulseaudio_dlna.application                    INFO       <WavEncoder available=\"False\">\r\n10-27 12:24:29 pulseaudio_dlna.application                    INFO     Codec settings:\r\n10-27 12:24:29 pulseaudio_dlna.application                    INFO       <AacCodec enabled=\"True\" priority=\"12\" mime_type=\"audio/aac\">\r\n10-27 12:24:29 pulseaudio_dlna.application                    INFO       <L16Codec enabled=\"True\" priority=\"0\" mime_type=\"audio/L16\">\r\n10-27 12:24:29 pulseaudio_dlna.application                    INFO       <OpusCodec enabled=\"True\" priority=\"3\" mime_type=\"audio/opus\">\r\n10-27 12:24:29 pulseaudio_dlna.application                    INFO       <Mp3Codec enabled=\"True\" priority=\"18\" mime_type=\"audio/mp3\">\r\n10-27 12:24:29 pulseaudio_dlna.application                    INFO       <FlacCodec enabled=\"True\" priority=\"9\" mime_type=\"audio/flac\">\r\n10-27 12:24:29 pulseaudio_dlna.application                    INFO       <WavCodec enabled=\"True\" priority=\"15\" mime_type=\"audio/wav\">\r\n10-27 12:24:29 pulseaudio_dlna.application                    INFO       <OggCodec enabled=\"True\" priority=\"6\" mime_type=\"audio/ogg\">\r\n10-27 12:24:31 pulseaudio_dlna.renderers                      INFO     Using device configuration:\r\n<CoinedUpnpMediaRenderer name=\"UpMpd\" short=\"upmpd_dlna\" state=\"idle\" udn=\"uuid:a632e261-f30b-cb3a-cce8-b827eb260085\" model_name=\"UpMPD\" model_number=\"1.0\" manufacturer=\"JF Light Industries\" timeout=\"10.0\">\r\n  <Mp3Codec enabled=\"True\" priority=\"18\" mime_type=\"audio/mpeg\">\r\n    <LameEncoder available=\"True\" bit-rate=\"192\">\r\n  <WavCodec enabled=\"True\" priority=\"15\" mime_type=\"audio/wav\">\r\n    <WavEncoder available=\"False\">\r\n  <AacCodec enabled=\"True\" priority=\"12\" mime_type=\"audio/aac\">\r\n    <AacEncoder available=\"False\" bit-rate=\"192\">\r\n  <FlacCodec enabled=\"True\" priority=\"9\" mime_type=\"audio/flac\">\r\n    <FlacEncoder available=\"False\">\r\n  <OggCodec enabled=\"True\" priority=\"6\" mime_type=\"audio/ogg\">\r\n    <OggEncoder available=\"False\" bit-rate=\"192\">\r\n10-27 12:24:31 pulseaudio_dlna.renderers                      INFO     Using device configuration:\r\n<CoinedUpnpMediaRenderer name=\"airmusic\" short=\"airmusic_dlna\" state=\"idle\" udn=\"uuid:DAMAI-mac=845dd7a08fb4\" model_name=\"airmusic\" model_number=\"1.0.0\" manufacturer=\"DAMAI\" timeout=\"10.0\">\r\n  <Mp3Codec enabled=\"True\" priority=\"18\" mime_type=\"audio/mpeg\">\r\n    <LameEncoder available=\"True\" bit-rate=\"192\">\r\n  <WavCodec enabled=\"True\" priority=\"15\" mime_type=\"audio/x-wav\">\r\n    <WavEncoder available=\"False\">\r\n  <AacCodec enabled=\"True\" priority=\"12\" mime_type=\"audio/aac\">\r\n    <AacEncoder available=\"False\" bit-rate=\"192\">\r\n  <FlacCodec enabled=\"True\" priority=\"9\" mime_type=\"audio/flac\">\r\n    <FlacEncoder available=\"False\">\r\n10-27 12:24:36 pulseaudio_dlna.listener                       INFO     Discovery complete.\r\nConnection failure: Timeout\r\n10-27 12:25:07 pulseaudio_dlna.pulseaudio                     ERROR    PulseAudio seems not to be running or PulseAudio dbus module could not be loaded.\r\n```\r\nSo it is detecting the upnp device \"airmusic\" already but it hangs then.\r\nPulseaudio is running:\r\n\r\n```\r\n$ pulseaudio\r\nE: [pulseaudio] pid.c: Daemon already running.\r\nE: [pulseaudio] main.c: pa_pid_file_create() failed.\r\n```\r\n\r\nhowever reastarting it prints this:\r\n```\r\n $ pulseaudio\r\nW: [pulseaudio] pid.c: Stale PID file, overwriting.\r\nW: [pulseaudio] server-lookup.c: Unable to contact D-Bus: org.freedesktop.DBus.Error.NotSupported: Unable to autolaunch a dbus-daemon without a $DISPLAY for X11\r\nW: [pulseaudio] main.c: Unable to contact D-Bus: org.freedesktop.DBus.Error.NotSupported: Unable to autolaunch a dbus-daemon without a $DISPLAY for X11\r\n```\r\n\r\n```\r\n $ pactl load-module module-dbus-protocol\r\nConnection failure: Timeout\r\n```\r\n\r\nAnyway I don´t need X11 and the media files are on the raspberry pi. What am I doing wrong?\r\n\r\n\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/masmu/pulseaudio-dlna/issues/comments/152513035","html_url":"https://github.com/masmu/pulseaudio-dlna/issues/110#issuecomment-152513035","issue_url":"https://api.github.com/repos/masmu/pulseaudio-dlna/issues/110","id":152513035,"user":{"login":"sartyx","id":12257583,"avatar_url":"https://avatars.githubusercontent.com/u/12257583?v=3","gravatar_id":"","url":"https://api.github.com/users/sartyx","html_url":"https://github.com/sartyx","followers_url":"https://api.github.com/users/sartyx/followers","following_url":"https://api.github.com/users/sartyx/following{/other_user}","gists_url":"https://api.github.com/users/sartyx/gists{/gist_id}","starred_url":"https://api.github.com/users/sartyx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sartyx/subscriptions","organizations_url":"https://api.github.com/users/sartyx/orgs","repos_url":"https://api.github.com/users/sartyx/repos","events_url":"https://api.github.com/users/sartyx/events{/privacy}","received_events_url":"https://api.github.com/users/sartyx/received_events","type":"User","site_admin":false},"created_at":"2015-10-30T12:40:27Z","updated_at":"2015-10-30T12:40:27Z","body":"not likely, just test it:  ```nc 192.168.0.22 6060 &> /dev/null; echo $?``` should return 0 or 1 (1=closed) or  ```nc -zv 192.168.0.22 6060```  or for your local machine 127.0.0.1 then of course"}}