Thank you for your donation!


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


Official moOde 7.4.y support thread
#81
In-place updates set a flag that causes MPD Config to be re-run. That could explain one of the occurrences. If it happens again post the steps to repro and if possible I'll try to replicate.
Enjoy the Music!
moodeaudio.org | Mastodon Feed | GitHub
Reply
#82
Hi, I'm having an issue that is not only related to this version, but it's also not working with 7.4.

I had 7.3 and Spotify Connect worked until couple of days ago. I can't remember changing anything in the config for a longer time.
So I tried with 7.4.1 but no luck, still the same issue, phone and PC show only "Connecting..." when I want to connect to moode.
Switching Spotify between phone and PC works just fine.
I downgraded to 7.4.0, that also did not solve the issue. Internet Radio works fine on both .0 and .1.
I've also tried clearing the cache in Spotify, logging out of all devices and installing same moode version/image onto the SD card multiple times.

Here is the output of moodeutl. Thanks in advance for the help.


Code:
pi@moode:~ $ moodeutl -l
20211102 104820 worker: -- Start
20211102 104820 worker: Successfully daemonized
20211102 104820 worker: Integrity check (passed)
20211102 104821 worker: File check (OK)
20211102 104821 openMpdSocket(): error: connection failed (1) 111, Connection re                                                                                                                                                             fused
20211102 104821 worker: Session vacuumed
20211102 104821 worker: Session loaded
20211102 104821 worker: Debug logging (ON)
20211102 104821 worker: -- Audio debug
20211102 104821 worker: ALSA cards: (0:Boss2 | 1:empty | 2:empty | 3:empty
20211102 104821 worker: MPD config: (0:Allo Boss 2 DAC | mixer:(Master) | card:0                                                                                                                                                             )
20211102 104821 worker: ALSA mixer actual (Master)
20211102 104821 openMpdSocket(): error: connection failed (2) 111, Connection re                                                                                                                                                             fused
20211102 104821 worker: ALSA Master volume set to (0%)
20211102 104821 worker: -- System
20211102 104822 openMpdSocket(): error: connection failed (3) 111, Connection re                                                                                                                                                             fused
20211102 104822 openMpdSocket(): error: connection failed (4) 111, Connection re                                                                                                                                                             fused
20211102 104823 worker: Host     (moode)
20211102 104823 worker: moOde    (7.4.0 2021-09-24)
20211102 104823 worker: RaspiOS  (10.6)
20211102 104823 worker: Kernel   (5.4.77-v7l+ #1371)
20211102 104823 worker: Platform (Pi-4B 1.4 8GB)
20211102 104823 worker: ARM arch (armv7l, 32-bit kernel)
20211102 104823 worker: MPD ver  (0.22.11_p0x3)
20211102 104823 worker: CPU gov  (ondemand)
20211102 104823 worker: USB boot not available
20211102 104823 worker: File system not expanded yet
20211102 104823 worker: HDMI port on
20211102 104823 worker: -- Network
20211102 104823 worker: eth0 exists
20211102 104823 openMpdSocket(): error: connection failed (5) 111, Connection re                                                                                                                                                             fused
20211102 104823 worker: eth0 wait 0 for IP address
20211102 104823 openMpdSocket(): error: connection failed (6) 111, Connection re                                                                                                                                                             fused
20211102 104824 moode.php: MPD connect failed: cmd=(loadlib)
20211102 104826 worker: eth0 wait 1 for IP address
20211102 104829 worker: eth0 wait 2 for IP address
20211102 104832 worker: eth0 wait 3 for IP address
20211102 104835 worker: eth0 wait 4 for IP address
20211102 104857 worker: eth0 address not assigned
20211102 104857 worker: wlan0 exists
20211102 104857 worker: wifi country (CH)
20211102 104857 worker: wlan0 trying SSID (Raider_2.4)
20211102 104857 worker: IP addr (192.168.1.40)
20211102 104857 worker: Netmask (255.255.255.0)
20211102 104857 worker: Gateway (192.168.1.1)
20211102 104858 worker: Pri DNS (192.168.1.1)
20211102 104858 worker: Domain  (home)
20211102 104858 worker: Pi integrated wlan0 power save disabled
20211102 104858 worker: -- Audio config
20211102 104858 worker: MPD conf updated
20211102 104858 worker: ALSA card number (0)
20211102 104858 worker: MPD audio output (Allo Boss 2 DAC)
20211102 104858 worker: Audio formats (S16_LE, S24_LE, S32_LE)
20211102 104858 worker: ALSA mixer name (Master)
20211102 104858 worker: MPD mixer type (software)
20211102 104858 worker: Hdwr volume controller exists
20211102 104858 worker: Max ALSA volume (100%)
20211102 104858 worker: ALSA output mode (Default: plughw)
20211102 104858 worker: ALSA loopback (Off)
20211102 104858 worker: Boss 2 OLED started
20211102 104858 worker: Reset renderer active flags
20211102 104858 worker: CamillaDSP (off)
20211102 104858 worker: -- MPD startup
20211102 104858 worker: MPD started
20211102 104858 openMpdSocket(): error: connection failed (1) 111, Connection re                                                                                                                                                             fused
20211102 104859 worker: MPD accepting connections
20211102 104859 worker: MPD output 1 ALSA Default (on)
20211102 104859 worker: MPD output 2 ALSA Bluetooth (off)
20211102 104859 worker: MPD output 3 HTTP Server (off)
20211102 104859 worker: MPD crossfade (off)
20211102 104859 worker: MPD ignore CUE files (yes)
20211102 104859 worker: -- Feature availability
20211102 104859 worker: Source select (available)
20211102 104859 worker: Source select (source: MPD)
20211102 104859 worker: Source select (output: Allo Boss 2 DAC)
20211102 104859 worker: Bluetooth (available)
20211102 104859 worker: Airplay renderer (available)
20211102 104859 startSpotify(): (librespot --name "moode" --bitrate 320 --format                                                                                                                                                              S32 --initial-volume 0 --volume-ctrl linear --autoplay --cache /var/local/www/s                                                                                                                                                             potify_cache --disable-audio-cache --backend alsa --device "_audioout" --onevent                                                                                                                                                              /var/local/www/commandw/spotevent.sh > /dev/null 2>&1 &)
20211102 104859 worker: Spotify renderer (available: started)
20211102 104859 worker: Squeezelite (available)
20211102 104859 worker: RoonBridge renderer (not installed)
20211102 104859 worker: Multiroom sender (available)
20211102 104859 worker: Multiroom receiver (available)
20211102 104859 worker: UPnP renderer (available)
20211102 104859 worker: DLNA server (available)
20211102 104859 worker: UPnP browser (available)
20211102 104859 worker: GPIO button handler (available)
20211102 104859 worker: Stream recorder (n/a)
20211102 104859 worker: -- Music sources
20211102 104859 worker: USB sources (none attached)
20211102 104859 worker: NAS and UPnP sources (none configured)
20211102 104859 worker: -- Other
20211102 104859 worker: USB volume knob (Off)
20211102 104859 worker: USB auto-mounter (udisks-glue)
20211102 104859 worker: LED0 (On)
20211102 104859 worker: LED1 (On)
20211102 104859 worker: Saved MPD vol level (0)
20211102 104859 worker: Preamp volume level (0)
20211102 104859 worker: MPD volume level (100) restored
20211102 104859 worker: ALSA Master volume (100%)
20211102 104859 worker: Auto-play (Off)
20211102 104859 worker: Maintenance interval (3 hours)
20211102 104859 worker: Screen saver activation (Never)
20211102 104900 worker: Session permissions (OK)
20211102 104900 worker: Watchdog started
20211102 104900 worker: Ready
pi@moode:~ $
Reply
#83
To troubleshoot try the following:

1. Turn Spotify renderer OFF in Audio Config
2. Run the command below from SSH

Code:
sudo librespot --name "moode" --bitrate 320 --format S32 --initial-volume 0 --volume-ctrl linear --autoplay --cache /var/local/www/spotify_cache --disable-audio-cache --backend alsa --device "_audioout" --onevent /var/local/www/commandw/spotevent.sh

3. See if any connection attempts/failures show up in the console output. 

Also verify your account is Premium level.
Enjoy the Music!
moodeaudio.org | Mastodon Feed | GitHub
Reply
#84
Hi Tim,

thanks for the reply.

I checked the output and it seems that moode has an issue with connecting to the Spotify APs. I have a Premium subscription.


Code:
[2021-11-02T12:35:02Z INFO  librespot] librespot 0.2.0 UNKNOWN (Built on 2021-05-08, Build ID: QjBBATle)
[2021-11-02T12:35:06Z INFO  librespot_core::session] Connecting to AP "gew1-accesspoint-c-lzsz.ap.spotify.com:4070"
[2021-11-02T12:35:39Z INFO  librespot_core::session] Connecting to AP "gew1-accesspoint-a-r9z2.ap.spotify.com:4070"
[2021-11-02T12:37:39Z INFO  librespot_core::session] Connecting to AP "gew1-accesspoint-a-nj36.ap.spotify.com:4070"
[2021-11-02T12:38:12Z INFO  librespot_core::session] Connecting to AP "gew1-accesspoint-a-bb76.ap.spotify.com:4070"
[2021-11-02T12:40:25Z WARN  librespot] Connection failed: Cannot create session: Connection timed out (os error 110)


I tried with a custom rule on my router to open any * <-> any 4070 TCP but that did not solve it.
Since all other devices behind the same router can access Spotify, I guess that the firewall should not be causing this issue. I can telnet to one of the Spotify APs 4070 from my PC.

Any other hints ? Any way to do pcap in moode ? My router unfortunately does not provide that option.

Thanks again for the support!
Reply
#85
The log entry below suggests some sort of network or authentication issue. Maybe try clearing the Spotify credential cache in Audio Config or rebooting your Router and checking its logs.

Code:
[2021-11-02T12:40:25Z WARN  librespot] Connection failed: Cannot create session: Connection timed out (os error 110)
Enjoy the Music!
moodeaudio.org | Mastodon Feed | GitHub
Reply
#86
Unbelievable, it was my ISP, they decided to install an antivirus on my router. Would've never guessed it if I didn't try with a mobile hotspot.
Made them remove it and Spotify Connect works now on moode.

Thanks anyway for the support!
Reply
#87
Hi all,

I've recently upgraded from 7.21 to 7.41.  I noticed that Qobuz is no longer configurable so I scanned through the release notes and saw it was removed in 7.2 - not sure why it was still working for me in 7.21.  I can confirm this is still working fine in v7.41 providing the upmpdcli-qobuz package is installed and the upmpdcli.conf file is suitably updated with the Qobuz credentials.

From Linn Kazoo, I can browse and play Qobuz titles both from the upmpdcli media server, and, through the native Qobuz interface in Kazoo. You may wish to re-consider re-enabling Qobuz support in the next release of Moode.

Best wishes.
Reply
#88
Do you have a link to the upmpdcli-qobuz package?
Enjoy the Music!
moodeaudio.org | Mastodon Feed | GitHub
Reply
#89
The Qobuz situation appears to be unchanged from past years. The docs say

Quote:Using Qobuz through the Upmpdcli Media Server

This is based on the service API from the Kodi add-on, by Joachim Basmaison and Cyril Leclerc, with the upper-level code adapted from the Tidal add-on. The WEB API is not officially supported by Qobuz, and may just stop to work one day.

Qobuz has had a habit from time to time of disrupting access from the Kodi add-on. (in the past they have cited piracy problems.)

As for a link, have a look at https://www.lesbonscomptes.com/upmpdcli/...loads.html

Regards,
Kent
Reply
#90
Ah, beat me - thanks Kent! Actually, the release notes are as follows for Qobuz:

2020-11-24 upmpdcli 1.5.2
<snip>
The Qobuz plugin works again (for now), by identifying itself as the WEB client (thanks to qobuz-dl on github). More precisely, Qobuz access through the upmpdcli Media Server works again. Qobuz access by login from Kazoo or Lumin (Open Home Credentials service) does not work.

2021-04-22 upmpdcli 1.5.12
<snip>
Deezer and Qobuz: add pictures for artists and playlists.
Reply


Forum Jump: