Comments (24)
Which devices is it exactly?
Could you provide a debug.log?
pulseaudio-dlna --debug 2>&1 | tee -a debug.log
from pulseaudio-dlna.
I have the same issue. Here is a debug:
https://www.dropbox.com/s/cdj16x25gjsxaw7/debug.log?dl=0
from pulseaudio-dlna.
Could you please check the new version?
- 0.3.5 - (2015-04-09)
- Fixed a bug where Sonos description XML could not get parsed correctly
from pulseaudio-dlna.
It doesn't error out now. It appears the stream starts and then stops immediately
192.168.0.108 - - [09/Apr/2015 18:02:47] "GET /1921680108sonosplay1.stream HTTP/1.1" 200 -
INFO:root:"192.168.0.108 - Sonos PLAY:1" is playing.
INFO:root:starting sending stream to "192.168.0.108 - Sonos PLAY:1"
192.168.0.108 - - [09/Apr/2015 18:02:47] "HEAD /1921680108sonosplay1.stream HTTP/1.1" 200 -
INFO:root:stream closed. cleaning up remaining procecces
from pulseaudio-dlna.
From the Sonos
Transport error ERROR_CORRUPT_FILE for account type 0, URI: http://192.168.0.10:12380/1921680108sonosplay1.stream, friendly name: Live Audio, share/server: 192.168.0.10:12380, path: http://192.168.0.10:12380/1921680108sonosplay1.stream, extra info: , http: -1
from pulseaudio-dlna.
@ryanroth
Could you provide a debug.log for that as well? Because it really helps to find out what is really going on.
From what i can see now, your Sonos device does not recognize the stream encoding (i assume that you are using the default encoder) mp3. It might be, that the default bitrate of 320 is to high.
Did you try to use other encoders?
pulseaudio-dlna --encoder ogg
for Ogg Vorbis
pulseaudio-dlna --encoder flac
for Flac
pulseaudio-dlna --encoder wav
for Wav
Which linux do you use? Ubuntu?
Which version?
Did you install it by the ppa or did you clone from git?
from pulseaudio-dlna.
I tried wav and flac with the same results. Sonos supports 320kbps mp3s. I cloned from git. I will try to grab debugs later today.
~$ cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=14.04
DISTRIB_CODENAME=trusty
DISTRIB_DESCRIPTION="Ubuntu 14.04.1 LTS"
$ uname -a$
Linux friscojack 3.13.0-29-generic #53-Ubuntu SMP Wed Jun 4 21:00:20 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
ryanroth@friscojack:
from pulseaudio-dlna.
Debug
https://www.dropbox.com/s/cdj16x25gjsxaw7/debug.log?dl=0
from pulseaudio-dlna.
@ryanroth Could you try the streaming-server branch?
There are many enhancements included, also your XML fix and another fix which might solve your issue.
If it does not work straight away, you can adjust the encoder and the bitrate (as far these support that) with the --encoder
and --bit-rate
options to figure things out.
Just a note: Nearly all encoders default bitrate is now set to 192 kbit/s.
Keep me posted.
from pulseaudio-dlna.
Ok. I tested it and no go. But I'll mess with it more this weekend.
from pulseaudio-dlna.
Please update the streaming-server branch. I added some additional DLNA headers and added more debug code.
When it does not work, please don't forget to paste another debug.log
from pulseaudio-dlna.
The updated branch errors out when I run it
https://www.dropbox.com/s/cdj16x25gjsxaw7/debug.log?dl=0
from pulseaudio-dlna.
@ryanroth Sorry for that.
That should be fixed. I updated the branch. Do a git pull
and try again please.
from pulseaudio-dlna.
It now works. Still a bit glitchy depending on the audio import format it seems. I'll try to spend some time with it this week to gather better information and debugs.
from pulseaudio-dlna.
This appears to be working properly.
from pulseaudio-dlna.
Good to hear 😄
Thanks for your feedback!
Which device did you test exactly? I want to add it to the list of tested devices.
from pulseaudio-dlna.
A single PLAY:1, two PLAY:1s in a stereo pair, and a single PLAY:3 all separately, and then all five of my speakers grouped together. All the grouping was done through the Sonos app.
I also have a couple feature requests/suggestions where would you like those posted?
from pulseaudio-dlna.
Thanks.
Just open new issues please. One for each to keep things seperate.
from pulseaudio-dlna.
If I am not mistaken, you changed README.md in the master branch, but the files in that branch still doesn't support Sonos. I have Sonos PLAY:5 and wanted to test it using "sudo apt-get install pulseaudio-dlna" but it is not working. Hopefully the next version 0.3.6 supports it and I will test it so you can add it to your list of tested devices :)
from pulseaudio-dlna.
You need to change branches to the streaming-server branch
from pulseaudio-dlna.
Yeah, i pushed it the the wrong branch. Thanks for the hint!
from pulseaudio-dlna.
Sorry for not responding earlier, but I forgot to enable e-mail notifications and therefore didn't realize that some approaches on solving were already going on.
When I try to run the refactoring-streaming-server (downloaded via zip) no streaming devices are found.
When starting the (newly) downloaded master branch, still no sound :-(
Is there a difference between a git pull and the zip-Download on the page?
Sorry, but I am no developer and a git-newby.
Debug.log (from master branch): https://www.schmid-alois.de/owncloud/index.php/s/42fcm1cxNP87OMI
from pulseaudio-dlna.
When is the next version (0.3.6) planned?
from pulseaudio-dlna.
- 0.4.0 - (2015-07-27)
- Added the
--fake-http10-content-length
option - The application can now run as root
- Catch pulseaudio exceptions for streams, sinks and modules when those are gone
- Fixed a bug where a missing ssdp header field made the application crash
- New devices are added now during runtime (thanks to coder-hugo)
- Rewrite of the streaming server
- Upnp devices can now request their audio format based on their capabilities
- Added AAC encoder
- If a device stops playing, the streams currently playing on
the corresponding sink are switched back to the default sink - If a device failes to start playing, streams currently playing on
the corresponding sink are switched back to the default sink - Added Chromecast support (new dependency:
python-protobuf
) - Fixed a bug where the application crashed when there was no suitable encoder found
- Added the
--bit-rate
option - Added additional headers for DLNA devices
- Added switch back mode also for sinks, not just for streams (new dependency:
python-notify2
) - Added better logging
- Validate encoders for installed dependencies
- Added the
from pulseaudio-dlna.
Related Issues (20)
- Chrome OS Support
- non-critical (?) error during setup of pulseaudio-dlna with Python 3.8
- The device "Living Room speaker (Chromecast)" failed to play! (500) - Unknown exception
- Outdated? 2020... HOT 3
- Any way to make this never the default ?
- ValueError: invalid literal for int() with base 10: '119,192.168.0.9' HOT 4
- Error after Kodi Update: pyupnpv2 - Connection timeout
- Don't work with pipewire-pulseaudio HOT 11
- "An exception happened" HOT 2
- Kubuntu 21.04 w/ backports HOT 1
- Is this project dead? HOT 1
- [not an issue] Addition to the Tested Device List: Allo Boss2 Player ruinning Moode UPNP (DLNA) - tested
- pulseaudio-dlna connects - but no sound! HOT 2
- Request 24 bit 96000 audio ouput
- Another request for FLAC 24/96 streaming
- Add support for OpenHome HOT 1
- Cannot add PPA: ''This PPA does not support focal''. HOT 1
- pulseaudio_dlna.streamserver provides wrong sample specs HOT 2
- Add more maintainers
- Propose another choice to stream audio to DLNA devices
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pulseaudio-dlna.