Thank you for your donation!


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


Not seeing Moode Spotify
#1
Hi All......

Just rebuilt using the latest image 5.3.1.

All up and running on the network (NAS library scanned & SSH connectivity etc.) except no Spotify.

I have the the Spotify renderer set to on, changed the name and I've set some of the options like the bitrate to 320kbs.

My device is not showing up in Spotify connect from other devices.

Any suggestions??

Last few line of the sys info here
   20190619 141041 worker: Audio source (Local)
   20190619 141041 worker: Output device (Local)
   20190619 141041 worker: Spotify receiver started
   20190619 141042 worker: Shellinabox SSH started
   20190619 141042 worker: - Music sources
   20190619 141042 worker: USB source (MUSIC)
   20190619 141042 worker: NAS sources (mountall initiated)
   20190619 141042 worker: - Miscellaneous
   20190619 141042 worker: Saved MPD vol level (0)
   20190619 141042 worker: Preamp volume level (0)
   20190619 141042 worker: MPD volume level (10) restored
   20190619 141042 worker: ALSA volume level (100%)
   20190619 141042 worker: Auto-play is off
   20190619 141042 worker: Maintenance interval (21600)
   20190619 141042 worker: Screen saver activation (Never)
   20190619 141042 worker: Watchdog started
   20190619 141043 worker: Ready
   20190619 141101 worker: Job i2sdevice
   20190619 142047 worker: Job spotifysvc
   20190619 142105 worker: Job spotifysvc
   20190619 142816 worker: Job spotifysvc
Reply
#2
1. Verify that librespot is running. The command returns the PID of librespot if its running otherwise it returns nothing.

Code:
pi@rp3:~ $ pgrep librespot
911

2. If its running then try restarting your client Spotify app.

3. The feature requires a Spotify Premium account.

-Tim
Enjoy the Music!
moodeaudio.org | Mastodon Feed | GitHub
Reply
#3
Thanks Tim.....

OK so it looks like its running.
Code:
pi@moode:~ $ pgrep librespot
2499



Restarted my desktop and iPhone and I still cant see the Moode device listed on either.

I can see all my other devices (TV's, Firesticks, Echo's etc.)

Its almost like its not announcing itself as a spotify connect device to the network
Reply
#4
Here's what I see on my iPhone w/Spotify app

   

What setting changes didi u make on the Spotify Config screen?

Post a complete System info dump

Code:
sudo /var/www/command/sysinfo.sh


-Tim
Enjoy the Music!
moodeaudio.org | Mastodon Feed | GitHub
Reply
#5
Hi Tim,

Yep I get the same screen with all my other devices that are connect capable......
(cant easily attach a picture but it looks like yours with all my devices other than the Moode Pi

I changed the bitrate to 320k and initial volume to 60......

Pretty sure it was working previously with 4.x......I can go back to the previous SD card and check

Dump attached....

Code:
pi@moode:~ $ sudo /var/www/command/sysinfo.sh

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

       Date and time   = 2019-06-19 21:33:56
       System uptime   = up 7 hours, 23 minutes
       Timezone        = Europe/London
       Release         = moOde 5.3.1 2019-06-12
       Update          = None

       Host name       = moode
       ETH0  IP        = 192.168.34.169
       ETH0  MAC       = b8:27:eb:05:9e:e3
       WLAN0 IP        = unassigned
       WLAN0 MAC       = no adapter
       WiFi country    = US

       HDWR REV        = Pi-3B+ 1GB v1.3
       SoC             = BCM2835
       CORES           = 4
       ARCH            = armv7l
       RASPBIAN        = 9.9
       KERNEL          = 4.19.49-v7+
       KTIMER FREQ     = 100 Hz
       USB BOOT        = enabled
       Warranty        = OK

       ROOT size       = 59G
       ROOT used       = 4%
       ROOT avail      = 55G
       FS expand       = expanded
       MEM free        = 665 MB
       MEM used        = 76 MB
       Temperature     = 49.4°C

       CPU GOV         = performance
       P3-WIFI         = Off
       P3-BT           = Off
       HDMI            = Off
       ETH0 CHECK      = On
       MAX USB CUR     = Off
       UAC2 FIX        = Off
       ETHPORT FIX     = Off
       SSH server      = On

       LED0            = on
       LED1            = on
       SD CARD         = 50 MHz

         C O R E    S E R V I C E S

       PHP-FPM         = 7.0.33
       NGINX           = 1.10.3
       SQLite          = 3.16.2
       HOSTAPD         = 2.7
       WIRINGPI        = 2.50

         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

       Artist list order       = Artist
       Ignore articles         = a,an,the
       Compilation rollup      = No
       Compilation excludes    = greatest hits
       UTF8 character filter   = No
       Cover search pri        = Embedded cover
       Hi-res covers           = Auto
       Pixel ratio             = 1

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

       Audio device            = HiFiBerry DAC+ Pro
       Interface               = I2S
       Hardware volume         = Controller detected
       Mixer name              = Digital
       Audio source            = Local
       Output device           = Local
       Resume MPD aft src chg  = No
       Volume knob             = 0
       Volume mute             = Unmuted
       Saved MPD vol           = 0
       Preamp volume           = 0
       ALSA version            = 1.1.3-5+rpt4
       SoX version             = 0.1.2-2

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

       Rotary encoder          = Off
       Encoder params          = 100 2 3 4 5
       Crossfeed               = Off
       Parametric EQ           = Off
       Graphic EQ              = Off
       Polarity inversion      = Off
       Auto-shuffle            = Off
       Autoplay                = Off
       MPD crossfade           = Off
       MPD httpd               = Off

         M P D    S E T T I N G S

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

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

       Bluetooth ver           = 5.50
       Bluealsa ver            = 1.3.1
       Speaker sharing         = No
       Resume MPD              = No

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

       Version                 = 3.3.1
       Friendly name           = Moode Airplay
       ALSA device             = hw:0
       Interpolation           = soxr
       Output bit depth        = S16
       Output sample rate      = 44100
       Session interruption    = no
       Session timeout (ms)    = 120
       Audio buffer (secs)     = 0.0
       Resume MPD              = No

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

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

         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/loca
       Resume MPD              = No

         M O O D E    L O G

   20190619 141035 worker: - Start
   20190619 141035 worker: Successfully daemonized
   20190619 141035 worker: Integrity check (passed)
   20190619 141035 worker: ALSA volume (None)
   20190619 141035 worker: Session loaded
   20190619 141035 worker: Debug logging (off)
   20190619 141035 worker: - Platform
   20190619 141037 worker: Rel  (Moode 5.3.1 2019-06-12)
   20190619 141037 worker: Upd  (None)
   20190619 141037 worker: Rasp (9.9)
   20190619 141037 worker: Kern (4.19.49-v7+)
   20190619 141037 worker: MPD  (0.20.23)
   20190619 141037 worker: Host (moode)
   20190619 141037 worker: Hdwr (Pi-3B+ 1GB v1.3)
   20190619 141037 worker: Arch (armv7l)
   20190619 141037 worker: Gov  (performance)
   20190619 141037 worker: USB boot enabled
   20190619 141038 worker: File system expanded
   20190619 141038 worker: HDMI port off
   20190619 141039 worker: File check ok
   20190619 141039 worker: - Network
   20190619 141039 worker: eth0 exists
   20190619 141039 worker: eth0 (192.168.34.169)
   20190619 141039 worker: wlan0 does not exist
   20190619 141039 worker: - Audio
   20190619 141040 worker: ALSA outputs unmuted
   20190619 141040 worker: ALSA card number (0)
   20190619 141040 worker: Audio output (I2S audio device)
   20190619 141040 worker: Audio device (HiFiBerry DAC+ Pro)
   20190619 141040 worker: ALSA mixer name (Digital)
   20190619 141040 worker: MPD volume control (disabled)
   20190619 141040 worker: Hdwr volume controller exists
   20190619 141040 worker: Chip options (Burr Brown PCM5122)
   20190619 141040 worker: - Services
   20190619 141040 worker: Reset renderer active state
   20190619 141040 worker: MPD conf updated
   20190619 141041 worker: MPD started
   20190619 141041 worker: MPD accepting connections
   20190619 141041 worker: Configure MPD outputs
   20190619 141041 worker: MPD output 1 ALSA default (on)
   20190619 141041 worker: MPD output 2 ALSA crossfeed (off)
   20190619 141041 worker: MPD output 3 ALSA parametric eq (off)
   20190619 141041 worker: MPD output 4 ALSA graphic eq (off)
   20190619 141041 worker: MPD output 5 ALSA polarity inversion (off)
   20190619 141041 worker: MPD output 6 ALSA bluetooth (off)
   20190619 141041 worker: MPD output 7 HTTP stream (off)
   20190619 141041 worker: MPD crossfade (off)
   20190619 141041 worker: Audio source (Local)
   20190619 141041 worker: Output device (Local)
   20190619 141041 worker: Spotify receiver started
   20190619 141042 worker: Shellinabox SSH started
   20190619 141042 worker: - Music sources
   20190619 141042 worker: USB source (MUSIC)
   20190619 141042 worker: NAS sources (mountall initiated)
   20190619 141042 worker: - Miscellaneous
   20190619 141042 worker: Saved MPD vol level (0)
   20190619 141042 worker: Preamp volume level (0)
   20190619 141042 worker: MPD volume level (10) restored
   20190619 141042 worker: ALSA volume level (100%)
   20190619 141042 worker: Auto-play is off
   20190619 141042 worker: Maintenance interval (21600)
   20190619 141042 worker: Screen saver activation (Never)
   20190619 141042 worker: Watchdog started
   20190619 141043 worker: Ready
   20190619 141101 worker: Job i2sdevice
   20190619 142047 worker: Job spotifysvc
   20190619 142105 worker: Job spotifysvc
   20190619 142816 worker: Job spotifysvc
   20190619 193815 worker: Job sourcecfg
   20190619 193819 worker: Job updmpddb
   20190619 194302 worker: Job sourcecfg
   20190619 194306 worker: Job updmpddb
   20190619 195622 worker: Job sourcecfg
   20190619 195625 worker: Job updmpddb
   20190619 201239 worker: Maintenance completed
   20190619 213201 worker: Job updmpddb
pi@moode:~ $

Thanks
Reply
#6
OK so I went back to the previous build SD card.........

Its working fine with the v4.x build......ALSA device is different in the dump???
Also initial volume 0 and bitrate 160.

I've tried both of those (volume and bitrate) parameters in the 5.x build but they made no difference.


Working V4.x sys info below
Code:
pi@moode:~ $ sudo /var/www/command/sysinfo.sh

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

       Date and time   = 2019-06-19 21:48:44
       System uptime   = up 3 minutes
       Timezone        = Europe/London
       moOde           = Release 4.4 2018-12-09

       Host name       = moode
       ETH0  IP        = 192.168.34.169
       ETH0  MAC       = b8:27:eb:05:9e:e3
       WLAN0 IP        = unassigned
       WLAN0 MAC       = b8:27:eb:50:cb:b6
       WiFi country    = GB

       HDWR REV        = Pi-3B+ 1GB v1.3
       SoC             = BCM2835
       CORES           = 4
       ARCH            = armv7l
       RASPBIAN        = 9.6
       KERNEL          = 4.14.84-v7+
       KTIMER FREQ     = 100 Hz
       USB BOOT        = enabled
       Warranty        = OK

       ROOT size       = 2.9G
       ROOT used       = 72%
       ROOT avail      = 791M
       FS expand       = not expanded
       MEM free        = 667 MB
       MEM used        = 64 MB
       Temperature     = 48.9°C

       CPU GOV         = performance
       MPD SCHDPOL     = TS
       P3-WIFI         = Off
       P3-BT           = Off
       HDMI            = Off
       ETH0 CHECK      = On
       MAX USB CUR     = Off
       UAC2 FIX        = Off
       ETHPORT FIX     = Off
       SSH server      = On

       LED0            = on
       LED1            = on

         C O R E    S E R V E R S

       PHP-FPM         = 7.0.30
       NGINX           = 1.10.3
       SQLite          = 3.16.2

         C P U    L O A D


       CPU     %usr    %sys    %idle
       all     1.01    0.38    98.61
       0       2.06    0.52    97.42
       1       0.00    0.00    100.00
       2       1.98    0.50    97.52
       3       0.00    0.50    99.50

         P R O C E S S    L O A D

       PRI RTPRIO COMMAND         %MEM PSR %CPU
        19      - bash             0.4   2 10.5
        19      - sysinfo.sh       0.3   0  4.5
        19      - sshd             0.6   1  2.7
        19      - systemd          0.5   2  2.6
        19      - systemd          0.6   3  1.0
        19      - worker.php       1.2   0  0.5
        19      - systemd-journal  0.4   3  0.4
        19      - librespot        0.5   3  0.4
        29      - mpd              2.1   1  0.3

         C L O C K    F R E Q U E N C I E S

       arm   = 600 MHz          pwm   = 0 MHz
       core  = 250 MHz          emmc  = 200 MHz
       h264  = 250 MHz          pixel = 0 MHz
       isp   = 250 MHz          vec   = 0 MHz
       v3d   = 250 MHz          hdmi  = 0 MHz
       uart  = 47 MHz           dpi   = 0 MHz

       SD card = 50 MHz

         S Y S T E M    V O L T A G E S

       core                    = 1.2000V
       sdram controller        = 1.2500V
       sdram I/O               = 1.2500V
       sdram chip              = 1.2250V

         U I  C U S T O M I Z A T I O N S

       Theme                   = Standard
       Accent color            = Silver
       Alpha blend             = 1.0
       Adaptive background     = No
       Background image        = No
       Playback history        = Yes
       Extra metadata          = Yes
       Artist list order       = Artist
       Compilation rollup      = No
       Compilation excludes    = greatest hits
       Cover search pri        = Embedded cover
       Hi-res covers           = Auto
       Pixel ratio             = 1
       Cover backdrop          = No
       Cover blur              = 20px
       Cover scale             = 1.25

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

       Audio device            = HiFiBerry DAC+ Pro
       Interface               = I2S
       Hdwr volume             = Controller detected
       Mixer name              = Digital
       Output stream           = Closed
       ALSA version            = 1.1.3-5+rpi3
       SoX version             = 0.1.2-2

       Volume knob             = 66
       Volume mute             = Unmuted

       Bluetooth controller    = Off
       Airplay receiver        = Off
       Spotify receiver        = On
       Squeezelite             = Off
       UPnP client             = Off
       DLNA server             = Off

       Rotary encoder          = Off
       Encoder params          = 100 2 3 4 5
       Crossfeed               = Off
       Parametric EQ           = Off
       Graphic EQ              = Off
       Auto-shuffle            = Off
       Autoplay                = Off
       MPD crossfade           = Off

         M P D    S E T T I N G S

       Version                 = 0.20.20
       Volume control          = software
       ALSA device             = hw:0
       SoX resampling          = disabled
       SoX quality             = very high
       SoX multithreading      = off
       Audio buffer (kb)       = 8192
       Buffer before play      = 20%
       Output buffer size (kb) = 81920
       Volume normalization    = No
       DSD over PCM (DoP)      = no
       Replay gain             = off

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

       Bluetooth ver           = 5.49
       Bluealsa ver            = Turn BT on for version info
       Speaker sharing         = No
       Resume MPD              = No

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

       Version                 = 3.2.2
       Friendly name           = Moode Airplay
       ALSA device             = hw:0
       Volume mixer            = auto
       Resume MPD              = No
       Output bit depth        = S16
       Output sample rate      = 44100
       Session interruption    = no
       Session timeout (ms)    = 120
       Audio buffer (secs)     = 0.0

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

       Friendly name           = Moode Spotify
       ALSA device             = default:CARD=sndrpihifiberry
       Resume MPD              = No
       Bit rate                = 160
       Initial volume          = 0
       Volume curve            = Logarithmic
       Volume normalization    = No
       Normalization pregain   = 0

         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
       Resume MPD              = No
       Other options           = -W -D 500 -R E -S /var/loca

         M O O D E    L O G

   20190619 100140 worker: - Start
   20190619 100140 worker: Successfully daemonized
   20190619 100140 worker: Integrity check ok
   20190619 100141 worker: Session loaded
   20190619 100141 worker: Debug logging (off)
   20190619 100141 worker: - Platform
   20190619 100142 worker: Host (moode)
   20190619 100142 worker: Hdwr (Pi-3B+ 1GB v1.3)
   20190619 100142 worker: Arch (armv7l)
   20190619 100142 worker: Rasp (9.6)
   20190619 100142 worker: Kver (4.14.84-v7+)
   20190619 100142 worker: Ktyp (Standard)
   20190619 100142 worker: Gov  (performance)
   20190619 100142 worker: Rel  (Moode 4.4 2018-12-09)
   20190619 100142 worker: Upd  (None)
   20190619 100142 worker: MPD  (0.20.20)
   20190619 100143 worker: USB boot enabled
   20190619 100143 worker: File system not expanded yet
   20190619 100143 worker: HDMI port off
   20190619 100144 worker: File check ok
   20190619 100144 worker: - Network
   20190619 100144 worker: eth0 exists
   20190619 100144 worker: eth0 (192.168.34.169)
   20190619 100144 worker: wlan0 exists
   20190619 100144 worker: wifi country (GB)
   20190619 100144 worker: wlan0 trying SSID (TNCAPA00A53)
   20190619 100144 worker: wlan0 wait 0 for IP address
   20190619 100147 worker: wlan0 wait 1 for IP address
   20190619 100150 worker: wlan0 wait 2 for IP address
   20190619 100153 worker: wlan0 wait 3 for IP address
   20190619 100156 worker: wlan0 wait 4 for IP address
   20190619 100159 worker: wlan0 wait 5 for IP address
   20190619 214534 worker: wlan0 wait 6 for IP address
   20190619 214537 worker: wlan0 wait 7 for IP address
   20190619 214540 worker: wlan0 wait 8 for IP address
   20190619 214543 worker: wlan0 wait 9 for IP address
   20190619 214544 command/moode: Connection to MPD failed
   20190619 214546 worker: wlan0 no IP addr for SSID (TNCAPA00A53)
   20190619 214546 worker: eth0 address exists so AP mode not started
   20190619 214546 worker: wlan0 address not assigned
   20190619 214546 worker: - Audio
   20190619 214547 worker: ALSA outputs unmuted
   20190619 214547 worker: ALSA card number (0)
   20190619 214547 worker: Audio out (I2S audio device)
   20190619 214547 worker: Audio dev (HiFiBerry DAC+ Pro)
   20190619 214547 worker: ALSA mixer name (Digital)
   20190619 214547 worker: MPD volume control (software)
   20190619 214547 worker: Hdwr volume controller exists
   20190619 214547 worker: Chip options (Burr Brown PCM5122)
   20190619 214547 worker: - Services
   20190619 214547 worker: Reset renderer active
   20190619 214549 worker: MPD started
   20190619 214549 worker: MPD scheduler policy (time-share)
   20190619 214549 worker: Configure MPD outputs
   20190619 214549 worker: MPD output 1 ALSA default (on)
   20190619 214549 worker: MPD output 2 ALSA crossfeed (off)
   20190619 214549 worker: MPD output 3 ALSA parametric eq (off)
   20190619 214549 worker: MPD output 4 ALSA graphic eq (off)
   20190619 214549 worker: MPD output 5 ALSA bluetooth (off)
   20190619 214549 worker: MPD crossfade (off)
   20190619 214549 worker: Shellinabox SSH started
   20190619 214549 worker: - Music sources
   20190619 214549 worker: USB source (MUSIC)
   20190619 214550 worker: NAS sources (mountall initiated)
   20190619 214550 worker: - Miscellaneous
   20190619 214550 worker: Volume level (66) restored
   20190619 214550 worker: Maintenance interval (21600)
   20190619 214550 worker: Screen saver activation (Never)
   20190619 214550 worker: Watchdog started
   20190619 214550 worker: Ready
   20190619 214708 worker: Job spotifysvc



pi@moode:~ $
Reply
#7
I'm not seeing any issues on my end with 5.3.1. and Spotify. You will probably need to run it manually with verbose debug logging enabled.

1. Turn on Debug logging in System config
2. Turn on Spotify in Audio config
3. Reboot
4. Print the moode log and look for the librespot launch string

moodeutl -l

5. Paste that string into a text file and remove > /dev/null 2>&1 & from the end, then add -v to the beginning so its like

librespot -v REST_OF_STRING

6. Revert steps #1 and #2
7. Paste the librespot launch string at the SSH prompt and run it
8. Look for errors in its debug log

-Tim
Enjoy the Music!
moodeaudio.org | Mastodon Feed | GitHub
Reply
#8
@Tim Curtis I have similar issue. I am on latest built but this exist for a while.

I can see Moode Spotify Connect instance on my iPhone but not spotify webclient on chrome or spotify deskstop on my mac.
Once I started to stream to moode from my iphone than I can see on webclient or desktop on my mac

Any suggestions?
Reply
#9
(02-26-2020, 10:29 PM)cereyanlimusiki Wrote: @Tim Curtis  I have similar issue. I am on latest built but this exist for a while.

I can see Moode Spotify Connect instance on my iPhone but not spotify webclient on chrome or spotify deskstop on my mac.
Once I started to stream to moode from my iphone than I can see on webclient or desktop on my mac

Any suggestions?

So, first of all, this isn't a "similar issue"---you're seeing moOde's Spotify Connect on your iPhone and the OP wasn't---and should have been the start of a new thread instead of the resurrection of a dead one. [Sorry, this is a pet peeve of mine.]

Second, what does "spotify webclient on chrome" mean, specifically?

If I open Spotify.com in the Chrome browser on my Linux laptop, and click on the connect-to a-device icon, I am offered "Listening On/This Web Browser", "Moode3a Spotify", and "MoodeLR Spotify", where the latter two should be self-explanatory. I am not streaming to moOde from any device ATM.

I don't own any Macs and can't comment on that aspect of your issue.

Regards,
Kent
Reply


Forum Jump: