Thank you for your donation!


Cloudsmith graciously provides open-source package management and distribution for our project.


Solved: Upnp not playing.
#1
I have the Upnp renderer turned on and configured.

I can play content from my Ubuntu PC and screenshots show all is configured, found, and sending...

MoOde shows the appropriate activity on the RPi ethernet port and in the main page (screenshot)...but no output and when I try to open the audio-info tab nothing happens.

Strangely....the MoOde main window shows "Radio" as the input in the 'circular worm' and 'live radio' next to the 'bouncy-castle' ??
and the little 'bouncy-castle' audio icon is active and bouncing!! :-).

Any suggestions ?  

RPi4  MoOde 7.5.0 (but same problem last 2 versions) 

Used to work fine.... Pulseaudio-dlna

https://github.com/masmu/pulseaudio-dlna

Edit...some audio info at last...

Code:
Input / Output
Source http://192.168.1.5:8080/dHlwZT0iYnJpZGdlIix1ZG49InV1aWQ6NWUyMTEwOTctNDY1OC01MTYxLWE2NjEtZGNhNjMyMDNiZmZjIg%3D%3D/stream.wav
Encoded at Unknown
Decoded to 16 bit, 44.1 kHz, Stereo, 1.411 Mbps
Output rate 16 bit, 44.1 kHz, Stereo, 1.411 Mbps
Output mode ALSA Direct (hw)
Output chain MPD -> hw -> Device
DSP operations
Resample rate Off
Selective rate Off
Resample quality Off
CamillaDSP Off
Volume mixer Fixed (0dB output)
Audio Device
Device DIYINHK USB Audio 2.0
Mixer name DIYINHK USB Audio 2.0
Interface USB
Formats S16_LE, S32_LE, SPECIAL, DSD_U32_BE
Platform Pi-4B 1.1 4GB
This should be working...hmmm
This is weird "Volume mixer Fixed (0dB output)" as volume is Fixed in audio config.
So tried all other volume settings...software,hardware,null and still nothing.


Attached Files Thumbnail(s)
           
----------
bob
Reply
#2
It looks like VLC is sending a WAV stream which is why the moOde interface thinks this is a radio station. I don't know if that is just how VLC does UPnP, but it isn't like any other control point I've seen. Then you are using the Direct ALSA setting, meaning that your DAC has to support the WAV format (exact rate and so on). Switch to Default (plughw), rather than Direct (hw) and see if that helps perhaps.
----------------
Robert
Reply
#3
@DRONE7

I'm always on the lookout for something new to play with, but I crashed and burned trying to install pulseaudio-dlna, whether from the master branch or the python3 branch. Similarly for a more recent, forked version I found (https://github.com/Cygn/pulseaudio-dlna/.../tag/0.6.1) which claims to have bug fixes. This, on my workhorse Linux Mint 20.1 system.

What version of Ubuntu are you running? I saw some evidence that pulseaudio-dlna was available as a package in the distro at one time but it's not available to my Linux Mint 20.1 system (derived from Ubuntu) nor to the Ubuntu 20.04.3LTS virtual host I run occasionally.

What startup options are you using with pulseaudio-dlna?

Regards,
Kent
Reply
#4
Hi Kent,  I followed this how-to 
https://www.linuxuprising.com/2020/10/ho...tream.html

though I recall that my Ubuntu 20.04 <upgraded from 18.04> already had installed and working this version way back 2018
https://github.com/masmu/pulseaudio-dlna

I have since found this... may try tonight when I get home.
https://github.com/masmu/pulseaudio-dlna...45f31128ef

bob
----------
bob
Reply
#5
@DRONE7

Curious. I thought I was doing essentially what is described in your first link, including using the Cygn fork of pulseaudio-dlna, but I must have screwed something up. (Granted, I wasn't doing anything with chromecast, but....)

I started over with the linuxrising HowTo and now I'm listening to Pink Floyd FLACs on a moOde 7.5.0 player as they stream from VLC on my Linux Mint 20.1 laptop via UPnP-A/V.  Don't have any problem streaming MP3 or WAV files either.

I can control the volume either with the volume dial in the moOdeUI or the volume bar in VLC.

The audioinfo menu item is not responding.

My setup is moOde outputting to a CreativeTech USB/BT adapter using plughw and software mixer type.

As for metadata, coverart, and the like, nada. I'm not sure the VLC/pulseaudio-dlna combo is sending any useful metadata, e.g.,

Code:
pi@rpi3bp:~ $ mpc current
Liveaudio on T520 - VLC media player (LibVLC 3.0.9.2)

Regards,
Kent
Reply
#6
A postscript-

I took inspiration from your post and tried accessing the audioinfo script directly: http://moode.local/audioinfo.php

Apparently pulseaudio-dlna is transcoding. While playing any source file---FLAC, MP3, WAV---I get this output or something essentially like it

Quote:Input / Output
Source http://10.0.0.101:8080/dHlwZT0iYnJpZGdlI...stream.mp3
Encoded at Unknown
Decoded to 24 bit, 44.1 kHz, Stereo, 192 kbps
Output rate 16 bit, 48 kHz, Stereo, 1.536 Mbps
Output mode ALSA Default (plughw)
Output chain MPD -> plughw -> Device
Loopback off
DSP operations
Resample rate Off
Selective rate Off
Resample quality Off
Polarity invert off
Crossfade off
Crossfeed off
Parametric EQ off
Graphic EQ off
CamillaDSP Off
Replaygain off
Normalize vol off
Chip options None
Volume mixer Software (MPD)
Audio Device
Device Creative Bluetooth Audio W2
Mixer name PCM
Chip
Interface USB
Formats S16_LE
Platform Pi-3B+ 1.3 1GB

I invoked pulseaudio-dlna without any options. I know there is --codec option but I haven't explored it.

Regards,
Kent
Reply
#7
I get essentially the same output.. (only with the device and it's mixer as appropriate) but no sound output and the level meters on the DAC do not respond indicating that nothing is being sent..or the volume is at zero.. but no volume settings work to change that  software, hardware, or disabled.
I am baffled... especially as the same hardware worked previously.  I will try a reinstall of MoOde and see what that brings. 

Code:
Input / Output
Source http://192.168.1.5:8080/dHlwZT0iYnJpZGdlIix1ZG49InV1aWQ6NWUyMTEwOTctNDY1OC01MTYxLWE2NjEtZGNhNjMyMDNiZmZjIg%3D%3D/stream.mp3
Encoded at Unknown
Decoded to 24 bit, 44.1 kHz, Stereo, 192 kbps
Output rate 32 bit, 44.1 kHz, Stereo, 2.822 Mbps
Output mode ALSA Default (plughw)
Output chain MPD -> plughw -> Device
DSP operations
Resample rate Off
Selective rate Off
Resample quality Off
CamillaDSP Off
Volume mixer Fixed (0dB output)
Audio Device
Device DIYINHK USB Audio 2.0
Mixer name DIYINHK USB Audio 2.0
Interface USB
Formats S16_LE, S32_LE, SPECIAL, DSD_U32_BE
Platform Pi-4B 1.1 4GB


Edit: Fresh install of MoOde and exactly the same problem. Fresh install of Pulseaudio-dlna and exactly the same problem. Giving up.
----------
bob
Reply
#8
Problem was at the Ubuntu end. 

I tried with a new install of Xubuntu 21.10 where the pulseaudio-dlna package is in the official Xubuntu-repo and everything works straight out of the box.
----------
bob
Reply


Forum Jump: