Coder Social home page Coder Social logo

Veetop AirMusic box about pulseaudio-dlna HOT 8 CLOSED

masmu avatar masmu commented on July 19, 2024
Veetop AirMusic box

from pulseaudio-dlna.

Comments (8)

masmu avatar masmu commented on July 19, 2024

It is not being recognized? Thats odd ... The discovery of the devices is pretty solid.
Can you retry it a few times? And if that does not work, try to power your device on while pulseaudio-dlna is running.

from pulseaudio-dlna.

masmu avatar masmu commented on July 19, 2024
  • 0.4.4 - (2015-08-07)
    • Added --disable-ssdp-listener option
    • Fixed a bug with applications which remove and re-add streams all the time
    • Added a missing dependency python-psutil

from pulseaudio-dlna.

christopherlovell avatar christopherlovell commented on July 19, 2024

Just tried a couple more times this evening on the latest version (0.4.4) with no luck, even powering on whilst pulseaudio-dlna is running. Any debug output I can provide?

from pulseaudio-dlna.

christopherlovell avatar christopherlovell commented on July 19, 2024

FYI 15e51f1 is still working. Start up output:

python pulseaudio_dlna/
Using localhost: 192.168.1.5:8080
INFO:urllib3.connectionpool:Starting new HTTP connection (1): 192.168.1.2
INFO:urllib3.connectionpool:Starting new HTTP connection (1): 192.168.1.2
INFO:root:Discovery complete.
INFO:root:Found devices:
<CoinedUpnpMediaRenderer name="AirMusicBox" short_name="airmusicbox" state="idle">
INFO:root:You can now use your upnp devices!
INFO:root:PulseWatcher.on_device_updated "/org/pulseaudio/core1/sink11"
INFO:urllib3.connectionpool:Starting new HTTP connection (1): 192.168.1.2
INFO:root:"AirMusicBox" registered.
INFO:urllib3.connectionpool:Starting new HTTP connection (1): 192.168.1.2
192.168.1.2 - - [07/Aug/2015 23:32:14] "GET /airmusicbox.stream HTTP/1.1" 200 -
INFO:root:starting sending stream to "AirMusicBox"
INFO:root:"AirMusicBox" is playing.
INFO:root:PulseWatcher.on_device_updated "/org/pulseaudio/core1/sink11"
INFO:root:PulseWatcher.on_device_updated "/org/pulseaudio/core1/sink11"

from pulseaudio-dlna.

masmu avatar masmu commented on July 19, 2024

I made a branch for testing purposes.

Could you check it out and provide a debug.log?

  1. Make sure you installed the dependencies (if you installed 0.4.4 you should have installed them)

Otherwise:
sudo apt-get install python2.7 python-pip python-setuptools python-dbus python-beautifulsoup python-docopt python-requests python-setproctitle python-gobject python-protobuf python-notify2 python-psutil vorbis-tools sox lame flac faac opus-tools

  1. Install virtualenv & python-dev

All Ubuntu versions prior to 14.10 Utopic need to install:
sudo apt-get install python-virtualenv python-dev

All Ubuntu versions above install:
sudo apt-get install virtualenv python-dev

  1. Checkout the code, run it and write a debug.log.
git clone https://github.com/masmu/pulseaudio-dlna.git
cd pulseaudio-dlna/
git checkout bug/reliable-discovery
make
bin/pulseaudio-dlna --debug 2>&1 | tee -a debug.log

from pulseaudio-dlna.

christopherlovell avatar christopherlovell commented on July 19, 2024

Apologies for the delay in trying this. Ran through the instructions today ... and it now works. Air Music Box picked up fine, and audio streams to it.

This is only the case for this branch, /bug/reliable-discovery, run through a Python virtual-env. Global install fails on startup,

$ pulseaudio-dlna 
bash: /usr/bin/pulseaudio-dlna: No such file or directory

and the PPA version still fails to identify.

Here's a gist with the logs captured on the succesful branch through the virtual-env

from pulseaudio-dlna.

masmu avatar masmu commented on July 19, 2024

Yeah. You are right. The branch was just for testing the actual changes i made for this to work. Now it has reported twice to be working you will find these in the next release.

Did you do a sudo make install? That could have messed up your global installation. In general: Try to avoid sudo make install commands whenever its possible.
Since you are using Ubuntu you have a package manager for that.

from pulseaudio-dlna.

christopherlovell avatar christopherlovell commented on July 19, 2024

Thanks for the tip, and the very speedy changes

from pulseaudio-dlna.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.