Thank you for your donation!


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


Solved: UPnP renderer no longer displayed in the network
#1
Hello,

Moode has recently stopped appearing as a UPnP renderer on the network.
I have already tried to deactivate and reactivate the UPnP renderer. And a restart, of course.

Where can the error lie here?



Code:
S Y S T E M   P A R A M E T E R S

moOde release        = 8.1.2 2022-07-08
RaspiOS            = 11.3
Linux kernel        = 5.15.32-v7+ #1538
Platform        = Pi-3B 1.2 1GB
Architecture        = armv7l (32-bit)
System uptime        = up 30 minutes
Timezone        = Europe/Berlin
Current time        = 2022-07-17 18:00:59

Host name        = MoodeOS
Ethernet address    = 10.20.20.115
Ethernet MAC        = b8:27:eb:66:10:7e
WLAN address        = 10.0.0.1
WLAN MAC        = b8:27:eb:33:45:2b
WLAN country        = US

SoC identifier        = bcm2837
Core count        = 4
Kernel timer freq    = 100 Hz
SDCard freq        = 50 MHz
USB boot        = not enabled
Warranty        = OK

Root size        = 30G
Root used        = 14%
Root available        = 25G
Root expand        = expanded
Memory total        = 945 MB
Memory free        = 557 MB
Memory used        = 388 MB
SoC temperature        = 83.8°C
Throttled bitmask    = 0x20002
Throttled text        = Arm frequency capped, Arm frequency capping has occurred

CPU governor        = performance
Onboard WiFi        = On
Onboard BT        = On
HDMI output        = Off
LED state        = 1,1
IP addr timeout        = 10 (secs)
Ethernet check        = Yes
USB auto-mounter    = udisks-glue
SSH term server        = Off

PHP-FPM version        = 7.4.30
NGINX version        = 1.18.0
SQLite3 version        = 3.34.1
Hostapd version        = 2.9
RPi.GPIO version    = 0.7.0

A U D I O   P A R A M E T E R S

Audio device        = HiFiBerry DAC+
Interface        = I2S
Mixer name        = Digital
Hardware mixer        = Yes
Supported formats    = S16_LE, S24_LE, S32_LE
ALSA max volume        = 100
ALSA output mode    = Default (plughw)
ALSA loopback        = Off
MPD max volume        = 100
Volume step limit    = 5
Display dB volume    = On
Audio source        = Local
Output device        = Local
Resume MPD        = Yes
Volume knob        = 20
Volume mute        = Unmuted
Saved MPD vol        = 0
Preamp volume        = 0
ALSA version        = 1.2.4-1.1+rpt2
SoX version        = 0.1.3-4+rpi1

Bluetooth controller    = On
Pairing agent        = Off
Airplay receiver    = Off
Spotify receiver    = Off
Squeezelite        = Off
RoonBridge        = Not installed
UPnP client        = On
DLNA server        = Off
GPIO button handler    = Off
Multiroom sender    = Off
Multiroom receiver    = Disabled

Auto-shuffle        = Off
Ashuffle mode        = Track
Ashuffle filter        = None
Autoplay        = Off
Rotary encoder        = Off
Encoder params        = 100 2 3 23 24
USB volume knob        = Off
Polarity inversion    = Off
Crossfeed        = Off
Crossfade        = Off
Parametric EQ        = On
Graphic EQ        = Off
CamillaDSP        = off
MPD httpd        = Off
Ignore CUE files    = Yes

P R E F E R E N C E S

Appearance
----------------------
Theme            = Default
Accent color        = Carrot
Alpha blend        = 0.50
Adaptive background    = No
Background image    = Yes
Cover backdrop        = No
Cover blur        = 20px
Cover scale        = 1.25
Renderer backdrop    = No
Font size        = Normal

Playback
----------------------
Show Queue thumbs    = Yes
Show Now-playing icon    = Yes
Show CoverView playbar    = Yes
Show extra metadata    = album,genre,track,disc,date,composer,conductor,performer,encoded
Search site        = Disabled
Playback history log    = Yes

Library
----------------------
One touch album        = Add
One touch radio        = Add
Albumview sort order    = by Artist/Year
Tagview sort order    = by Artist/Year
Recently added        =
Show sample rate    = No
Cover search pri    = Embedded cover
Pixel ratio        = 1
Thumbnail resolution    = Auto
Thumbnail columns    = 6/2 (Default)

Library (Advanced)
----------------------
Tag view genre        = Genres
Tag view artist        = Artist
Album key        = Album@Artist (Default)
Include comment tag    = No
Library filter        = full_lib
Library filter str    =
Ignore articles        = a,an,the
Show tagview genres    = Yes
Show tagview covers    = Yes
Ellipsis limited text    = No
UTF8 character filter    = No

CoverView
----------------------
Automatic display    = Never
Backdrop style        = Gradient (Linear)

R A D I O   M A N A G E R   S E T T I N G S

Sort tag        = Name
Group method        = No grouping
Show moOde stations    = No action
Show other stations    = No action

M P D   S E T T I N G S

Version            = 0.23.5
Volume type        = hardware
SoX resampling        = 192000:24:2
Selective resampling    = Upsample if source < target rate
SoX quality        = high
SoX multithreading    = on
DSD over PCM (DoP)    = no
Replaygain        = off
Replaygain preamp    = 0
Volume normalization    = yes
Audio buffer        = 4 (MB)
Output buffer size    = 128 (MB)
Max playlist items    = 16384
Input cache        = Disabled

B L U E T O O T H   S E T T I N G S

Version            = 5.55
Bluealsa        = v3.0.0
Pairing agent        = 1.0.0
Pi-Bluetooth        = 0.1.19
Speaker sharing        = No
Resume MPD        = Yes
PCM buffer time        = 500000 (µs)

A I R P L A Y   S E T T I N G S

Version            = 3.3.8
Friendly name        = Moode Airplay
Interpolation        = soxr
Output bit depth    = S16
Output sample rate    = 44100
Session interruption    = no
Session timeout        = 120 (ms)
Latency offset        = 0.0 (secs)
Audio buffer        = 0.2 (secs)
Resume MPD        = No

S P O T I F Y   S E T T I N G S

Version            = 0.4.1
Friendly name        = Moode Spotify
Bitrate (kbps)        = 160
Format            = S16
Dither            = Automatic (Default)
Volume curve        = log
Volume range (dB)    = 60
Initial volume (%)    = 0
Volume normalization    = No
Method            = dynamic
Gain type        = auto
Pregain (dB)        = 0
Threshold (dBFS)    = -2
Attack (ms)        = 5
Release (ms)        = 100
Knee            = 1
Autoplay        = No
Resume MPD        = No

S Q U E E Z E L I T E   S E T T I N G S

Version            = 1.9.8-1317 "DSD/SRC enabled"
Friendly name        = Moode
ALSA device        = hw:0
ALSA params        = 80:4::1
Output buffers        = 40000:100000
Task priority        = 45
Codec list        = flac,pcm,mp3,ogg,aac,alac,dsd
Other options        = -W -D 500 -R E -S /var/local
Resume MPD        = No

L O C A L   D I S P L A Y   S E T T I N G S

Local UI display    = Off
Mouse cursor        = On
Screen blank        = 600 Secs
Wake display on play    = Off
Brightness        = 255
Pixel aspect ratio    = Default
Rotate screen        = 0 Deg

M O O D E   S T A R T U P   L O G

20220717 173024 worker: --
20220717 173024 worker: -- Start moOde 8 series
20220717 173024 worker: --
20220717 173024 worker: Successfully daemonized
20220717 173029 worker: File check (OK)
20220717 173030 worker: Session vacuumed
20220717 173030 worker: Session loaded
20220717 173030 worker: Debug logging (OFF)
20220717 173030 worker: --
20220717 173030 worker: -- Audio debug
20220717 173030 worker: --
20220717 173030 worker: ALSA cards: (0:sndrpihifiberry | 1:empty | 2:empty | 3:empty
20220717 173030 worker: MPD config: (0:HiFiBerry DAC+ | mixer:(Digital) | card:0)
20220717 173030 worker: ALSA mixer actual (Digital)
20220717 173031 worker: ALSA Digital volume set to (0%)
20220717 173031 worker: --
20220717 173031 worker: -- System
20220717 173031 worker: --
20220717 173033 worker: Host      (MoodeOS)
20220717 173033 worker: moOde     (8.1.2 2022-07-08)
20220717 173033 worker: RaspiOS   (11.3)
20220717 173033 worker: Kernel    (5.15.32-v7+ #1538)
20220717 173033 worker: Platform  (Pi-3B 1.2 1GB)
20220717 173033 worker: ARM arch  (armv7l, 32-bit)
20220717 173033 worker: MPD ver   (0.23.5)
20220717 173033 worker: CPU gov   (performance)
20220717 173033 worker: USB boot  (not enabled yet)
20220717 173033 worker: File sys  (expanded)
20220717 173033 worker: HDMI port (Off)
20220717 173033 worker: Sys LED0  (On)
20220717 173033 worker: Sys LED1  (On)
20220717 173033 worker: --
20220717 173033 worker: -- Network
20220717 173033 worker: --
20220717 173033 worker: eth0 adapter exists
20220717 173033 worker: eth0 check for address (Yes)
20220717 173033 worker: eth0 address check (10 secs)
20220717 173033 worker: IP addr (10.20.20.115)
20220717 173034 worker: Netmask (255.255.255.0)
20220717 173034 worker: Gateway (10.20.20.1)
20220717 173034 worker: Pri DNS (10.10.10.2)
20220717 173034 worker: Domain  (ADL15.HomeOG)
20220717 173034 worker: wlan0 adapter exists
20220717 173034 worker: wlan0 country (US)
20220717 173034 worker: wlan0 check 0 for IP address
20220717 173036 worker: wlan0 check 1 for IP address
20220717 173038 worker: wlan0 check 2 for IP address
20220717 173040 worker: wlan0 connected SSID is ()
20220717 173040 worker: IP addr (10.0.0.1)
20220717 173040 worker: Netmask (255.255.255.0)
20220717 173040 worker: Gateway (10.20.20.1)
20220717 173040 worker: Pri DNS (127.0.0.1)
20220717 173040 worker: Domain  (ADL15.HomeOG)
20220717 173040 worker: wlan0 power save disabled
20220717 173040 worker: --
20220717 173040 worker: -- Audio config
20220717 173040 worker: --
20220717 173041 worker: MPD conf updated
20220717 173041 worker: ALSA card number (0)
20220717 173041 worker: MPD audio output (HiFiBerry DAC+)
20220717 173041 worker: Audio formats (S16_LE, S24_LE, S32_LE)
20220717 173041 worker: ALSA mixer name (Digital)
20220717 173041 worker: MPD mixer type (hardware)
20220717 173041 worker: Hdwr volume controller exists
20220717 173041 worker: Max ALSA volume (100%)
20220717 173041 worker: ALSA output mode (Default: plughw)
20220717 173041 worker: ALSA loopback (Off)
20220717 173041 worker: Reset renderer active flags
20220717 173041 worker: CamillaDSP (off)
20220717 173041 worker: --
20220717 173041 worker: -- MPD startup
20220717 173041 worker: --
20220717 173042 worker: MPD started
20220717 173042 worker: MPD accepting connections
20220717 173042 worker: MPD output 1 ALSA Default (On)
20220717 173042 worker: MPD output 2 ALSA Bluetooth (Off)
20220717 173042 worker: MPD output 3 HTTP Server (Off)
20220717 173042 worker: MPD crossfade (off)
20220717 173042 worker: MPD ignore CUE files (yes)
20220717 173042 worker: --
20220717 173042 worker: -- Music sources
20220717 173042 worker: --
20220717 173042 worker: USB source (b3fe0b46-d599-d801-a0ec-0b46d599d801)
20220717 173042 worker: NAS sources (none configured)
20220717 173042 worker: --
20220717 173042 worker: -- Feature availability
20220717 173042 worker: --
20220717 173042 worker: Source select (available)
20220717 173042 worker: Source select (source: MPD)
20220717 173042 worker: Source select (output: HiFiBerry DAC+)
20220717 173047 worker: Bluetooth (available: started)
20220717 173047 worker: Airplay renderer (available)
20220717 173047 worker: Spotify renderer (available)
20220717 173047 worker: Squeezelite (available)
20220717 173047 worker: RoonBridge renderer (not installed)
20220717 173047 worker: Multiroom sender (available)
20220717 173047 worker: Multiroom receiver (available)
20220717 173047 worker: UPnP renderer (available: started)
20220717 173047 worker: DLNA server (available)
20220717 173047 worker: GPIO button handler (available)
20220717 173047 worker: Stream recorder (n/a)
20220717 173047 worker: --
20220717 173047 worker: -- Other
20220717 173047 worker: --
20220717 173047 worker: USB volume knob (Off)
20220717 173047 worker: USB auto-mounter (udisks-glue)
20220717 173047 worker: Saved MPD vol level (0)
20220717 173047 worker: Preamp volume level (0)
20220717 173048 worker: MPD volume level (20) restored
20220717 173048 worker: ALSA Digital volume (60%)
20220717 173048 worker: Auto-play (Off)
20220717 173048 worker: CoverView toggle (-off)
20220717 173048 worker: Maintenance interval (120 minutes)
20220717 173048 worker: Screen saver activation (Never)
20220717 173048 worker: Session permissions (OK)
20220717 173048 worker: Watchdog started
20220717 173048 worker: Ready
20220717 173647 worker: Job upnpsvc
20220717 174055 worker: Job upnpsvc
20220717 174105 worker: Job upnpsvc

Attached you find the deamon.log


Attached Files
.zip   daemon.zip (Size: 39.09 KB / Downloads: 1)
Reply
#2
This may not relate to your issue, but at 83.8 deg C your Pi-3B is running very hot!
Reply
#3
Above 80C and damage can occur according to one of the Pi engineers :-0
https://forums.raspberrypi.com/viewtopic...53#p333013

I would first try having a single network connection either Ethernet or WiFi but not both as the OP log shows.
Enjoy the Music!
moodeaudio.org | Mastodon Feed | GitHub
Reply
#4
(07-17-2022, 05:03 PM)Tim Curtis Wrote: Above 80C and damage can occur according to one of the Pi engineers :-0
https://forums.raspberrypi.com/viewtopic...53#p333013

I would first try having a single network connection either Ethernet or WiFi but not both as the OP log shows.

OK. If I unplug the LAN and then restart the UPnP renderer, it is displayed again.

How can I find out exactly where the problem is if LAN is also active?

I already had both active together and the UPnP worked without any problems. But recently the renderer simply disappeared.


By the way: I put a heatsink on the cpu. Now temp is about 66 degrees.
Reply
#5
Addition:
After I reconnected the LAN, the UPnP renderer remained accessible via WLAN.
However, not via LAN.

Is the UPnP renderer bound to an interface?


As I already wrote in the other thread, I need Moode as a WLAN hotspot.
The Raspberry should be connected to a wired network and at the same time provide a WLAN access point with its own subnet range, to which the UPnP control points can then connect.

Under MoodeOS 4.2, I had made manual adjustments to the config. In the meantime, however, the code has changed.
Now I have installed RaspAP and can use Moode as a hotspot while a LAN connection is active.
However, I now have the aforementioned problems with the UPnP renderer, which disappears.
Is there a way to bind the UPnP function to one (or even better all) interfaces?
Reply
#6
I was able to bind the upnp-renderer to wlan0-interface by editing /etc/upmpdcli.conf:
Code:
upnpip = IP.OF.THE.INTERFACE
Reply


Forum Jump: