Thank you for your donation!


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


Problem: Spotify can't connect
#11
(04-19-2020, 04:48 PM)Tim Curtis Wrote:
(04-19-2020, 04:35 PM)ivenhoe Wrote:
(04-19-2020, 12:01 PM)Tim Curtis Wrote: Turn everything off except the Spotify renderer. You might have to turn on Bluetooth in order to turn off the Pairing agent.

- All the other renderers
- The eq
- Upnp/dlna
- Etc

Reboot

Confirm that Spotify renderer is running

pgrep -l librespot

Hi Tim,
I was turn off everything trough ssh, reboot and finally take the pgrep - librespot, by your instructions and get back:

Code:
pi@moode:~ $ pgrep -l librespot
1102 librespot
I don't know what this mean (I mean the result: 1102)

pgrep returns blank if the program is not running. In your case it returned the name and pid of the program which means its running.
Ok - it is running, but I was take again the awahi-browse and get and again the pgrep -l librespot:

Code:
pi@moode:~ $ avahi-browse -at
+  wlan0 IPv6 moode                                         Microsoft Windows Network local
+  wlan0 IPv4 moode                                         Microsoft Windows Network local
+  wlan0 IPv6 moode                                         _device-info._tcp    local
+  wlan0 IPv4 moode                                         _device-info._tcp    local
+  wlan0 IPv6 moode                                         Remote Disk Management local
+  wlan0 IPv4 moode                                         Remote Disk Management local
+  wlan0 IPv6 moOde audio player: moode                     Web Site             local
+  wlan0 IPv4 moOde audio player: moode                     Web Site             local
pi@moode:~ $ pgrep -l librespot
19290 librespot
@Tim Curtis What is your suggestion?
- if I reinstall the Moode again on the SD card the result will be same?
- or there is sollution which can be solve from SSH?
Reply
#12
Follow the instructions in post #10.
Enjoy the Music!
moodeaudio.org | Mastodon Feed | GitHub
Reply
#13
(04-19-2020, 05:24 PM)Tim Curtis Wrote: The OP should do the following:

1. Download a fresh image of moOde from moodeaudio.org and write it to a known good SDCard
2. Connect Pi via Ethernet to the Router
3. Power it up
4. Turn on only the Spotify renderer using the Audio Config screen.
5. NOTE: Do not use the diagnostic utility moodeutl -a/d to turn features on and off.

6. Verify that librespot is running
pgrep -l librespot

7. Probe the network for "Moode Spotify" service
avahi-browse -at

If Moode Spotify is not listed in the output then there is some sort of network issue external to moOde software.
Thank's for your fast response!
It was made - and the result is next:
Code:
pgrep -l librespot
4840 librespot


Code:
avahi-browse -at
+   eth0 IPv6 moode                                         _device-info._tcp    local
+   eth0 IPv4 moode                                         _device-info._tcp    local
+   eth0 IPv6 moode                                         Microsoft Windows Network local
+   eth0 IPv4 moode                                         Microsoft Windows Network local
+   eth0 IPv6 moOde audio player: moode                     Web Site             local
+   eth0 IPv4 moOde audio player: moode                     Web Site             local
+   eth0 IPv6 moode                                         Remote Disk Management local
+   eth0 IPv4 moode                                         Remote Disk Management local

The device is still connected to Ethernet cable.
The spotify now is sound and can be reached from any device, but the sound is come only from the jack output....
Now the attached HifiBerry AMP2 is not sounding even it is set properly - exept I can't change the Max ALSA volume...
Code:
S Y S T E M   P A R A M E T E R S

moOde release           = 6.4.2 2020-02-12
Raspbian OS             = 10.2
Linux kernel            = 4.19.97-v7+ #1293
Platform                = Pi-3B 1GB v1.2
Architecture            = armv7l (32-bit)
System uptime           = up 39 minutes
Timezone                = America/Detroit
Current time            = 2020-04-19 15:03:16

Host name               = moode
Ethernet address        = 192.168.1.196
Ethernet MAC            = b8:27:eb:bc:cd:98
WLAN address            = unassigned
WLAN MAC                = b8:27:eb:e9:98:cd
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               = 3.4G
Root used               = 79%
Root available          = 688M
Root expand             = not expanded
Memory free             = 488 MB
Memory used             = 104 MB
SoC temperature         = 49.4°C

CPU governor            = ondemand
Onboard WiFi            = On
Onboard BT              = On
HDMI output             = On
Eth addr wait           = On
Max USB current         = Off
USB (UAC2) fix          = Off
Pi-3B+ eth fix          = Off
SSH term server         = Off

PHP-FPM version         = 7.3.11
NGINX version           = 1.14.2
SQLite3 version         = 3.27.2
Hostapd version         = 2.8-devel
WiringPi version        = 2.50
RPi.GPIO version        = 0.7.0

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

Audio device            = HiFiBerry Amp2
Interface               = I2S
Mixer name              = PCM
Hardware volume         = None
Max ALSA volume         =
Audio source            = Local
Output device           = Local
Resume MPD              = No
Volume knob             = 0
Volume mute             = Unmuted
Saved MPD vol           = 0
Preamp volume           = 0
ALSA version            = 1.1.8-1+rpt1
SoX version             = 0.1.2-3

Bluetooth controller    = Off
Pairing agent           = Off
Airplay receiver        = Off
Spotify receiver        = On
Squeezelite             = Off
UPnP client             = Off
DLNA server             = Off
GPIO button handler     = Off
UPnP browser            = Off

Auto-shuffle            = Off
Autoplay                = Off
Rotary encoder          = Off
Encoder params          = 100 2 3 23 24
Polarity inversion      = Off
Crossfeed               = Off
Crossfade               = Off
Parametric EQ           = Off
Graphic EQ              = Off
MPD httpd               = Off

A P P E A R A N C E   S E T T I N G S

Theme                   = Default
Accent color            = Emerald
Alpha blend             = 1.0
Adaptive background     = No
Background image        = No
Cover backdrop          = No
Cover blur              = 20px
Cover scale             = 1.25
CoverView auto-display  = Never
CoverView style         = Animated
Auto-shuffle filter     = None
Extra metadata          = Yes
Playback history        = No

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

Instant play action     = Clear/Play
Show genres column      = Yes
Album grouping          = by Artist
Compilation identifier  = Various Artists
Recently added          = 1 Month
Ignore articles         = a,an,the
UTF8 character filter   = No
Hi-res thumbs           = Auto
Cover search pri        = Embedded cover
Pixel ratio             = 1

M P D   S E T T I N G S

Version                 = 0.21.16
Volume control          = software
ALSA device             = hw:0
SoX resampling          = 44100:32:2
SoX quality             = very high
SoX multithreading      = off
DSD over PCM (DoP)      = no
Replaygain              = off
Replaygain preamp       = 0
Volume normalization    = No
Audio buffer            = 4096 (kb)
Output buffer size      = 131072 (kb)

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

Bluetooth ver           = 5.50
Bluealsa ver            = 2.0.0
Speaker sharing         = No
Resume MPD              = No
PCM buffer time         = 500000 (μs)

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

Version                 = 3.3.5
Friendly name           = Moode Airplay
ALSA device             = hw:0
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

Friendly name           = Moode Spotify
ALSA device             = plughw:0
Bit rate                = 320
Initial volume          = 10
Volume curve            = Logarithmic
Volume normalization    = No
Normalization pregain   = 0
Resume MPD              = Yes

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

Version                 = 1.8.7-1052 "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

20200212 154521 worker: -- Start
20200212 154521 worker: Successfully daemonized
20200212 154521 worker: Integrity check (passed)
20200212 154521 worker: Session loaded
20200212 154521 worker: Debug logging (off)
20200212 154521 worker: Device raw: (0:ALSA|1:sndrpihifiberry|i2s:none)
20200212 154521 worker: Device cfg: (On-board audio device|0|0|PCM|0)
20200212 154522 worker: ALSA volume set to (amixer: Unable to find simple control 'PCM',0)
20200212 154522 worker: -- System
20200212 154525 worker: Host name     (moode)
20200212 154525 worker: moOde release (6.4.2 2020-02-12)
20200212 154525 worker: Raspbian OS   (10.2)
20200212 154525 worker: Linux kernel  (4.19.97-v7+ #1293)
20200212 154525 worker: Platform      (Pi-3B 1GB v1.2)
20200212 154525 worker: Architecture  (armv7l)
20200212 154525 worker: MPD version   (0.21.16)
20200212 154525 worker: CPU governor  (ondemand)
20200212 154525 worker: USB boot not enabled yet
20200212 154526 worker: File system not expanded yet
20200212 154526 worker: HDMI port on
20200212 154526 worker: File check (OK)
20200212 154526 worker: -- Network
20200212 154526 worker: eth0 exists
20200212 154527 worker: IP addr (192.168.1.196)
20200212 154527 worker: Netmask (255.255.255.0)
20200212 154527 worker: Gateway (192.168.1.1)
20200212 154527 worker: Pri DNS (192.168.1.1)
20200212 154527 worker: Domain  (home)
20200212 154527 worker: wlan0 exists
20200212 154527 worker: wifi country (US)
20200212 154527 worker: wlan0 SSID is blank
20200212 154527 worker: eth0 addr exists, AP mode not started
20200212 154527 worker: wlan0 address not assigned
20200212 154527 worker: -- Audio
20200212 154527 worker: ALSA outputs unmuted
20200212 154527 worker: ALSA card number (0)
20200212 154527 worker: Audio output (On-board audio device)
20200212 154528 worker: Audio formats (U8, S16_LE)
20200212 154528 worker: ALSA mixer name (PCM)
20200212 154528 worker: MPD volume control (software)
20200212 154529 worker: Hdwr volume controller not detected
20200212 154529 worker: -- Services
20200212 154529 worker: Reset renderer active state
20200212 154529 worker: MPD conf updated
20200212 154530 worker: MPD started
20200212 154530 worker: MPD accepting connections
20200212 154530 worker: Configure MPD outputs
20200212 154530 worker: MPD output 1 ALSA default (on)
20200212 154530 worker: MPD output 2 ALSA crossfeed (off)
20200212 154530 worker: MPD output 3 ALSA parametric eq (off)
20200212 154530 worker: MPD output 4 ALSA graphic eq (off)
20200212 154530 worker: MPD output 5 ALSA polarity inversion (off)
20200212 154530 worker: MPD output 6 ALSA bluetooth (off)
20200212 154530 worker: MPD output 7 HTTP stream (off)
20200212 154530 worker: MPD crossfade (off)
20200212 154530 worker: Audio source (Local)
20200212 154530 worker: Output device (Local)
20200212 154530 worker: USB auto-mounter (udisks-glue)
20200212 154530 worker: -- Music sources
20200212 154530 worker: USB source (Samsung USB)
20200212 154530 worker: NAS and UPnP sources (none configured)
20200212 154530 worker: -- Miscellaneous
20200212 154530 worker: Saved MPD vol level (0)
20200212 154530 worker: Preamp volume level (0)
20200212 154531 worker: MPD volume level (0) restored
20200212 154531 worker: ALSA volume level (None)
20200212 154531 worker: Auto-play (Off)
20200212 154531 worker: Auto-shuffle service (Off)
20200212 154531 worker: Maintenance interval (3 hrs)
20200212 154531 worker: Screen saver activation (Never)
20200212 154531 worker: Session permissions (OK)
20200212 154531 worker: Watchdog started
20200212 154531 worker: Ready
20200419 142930 worker: Job i2sdevice
20200419 142958 worker: Job spotifysvc
20200419 143123 worker: Job spotifysvc
20200419 144507 worker: Job alsavolume_max
20200419 144658 worker: Job mpdcfg
20200419 144724 worker: Job mpdrestart
20200419 144757 worker: Job spotifysvc
Reply
#14
After reinstall the Moode player, I was set everything and it is now sound on my HifiBerry Amp2.
It is still running on the ethernet - I will remove and set it to WiFi network.
Spotify and some own setted radio station are sound fine.

Thanks for your support and patience!
Reply


Forum Jump: