Thank you for your donation!


Problem: Spotify connect keeps dropping
#1
I installed moode 4.3 on my raspberry pi with Allo DigiOne.  I opened the spotify web browser on my PC.  I used Spotify app on my iphone to select moode.  I'm using Chrome.  It worked fine for a few hours, and then it just drodped the moode connection.  Moode doesn't show up in the Spotify connect list anymore. 

I rebooted everything, and then moode shows up in Spotify connect again, but now it only plays for a few seconds before it disappears.  This is very repeatable.  

Another weird thing -  Moode.local on the PC says "Spotify Active" no matter what I do.  I can play a radio station, but the Playback screen in moode.local player still says "Spotify active".  Radio stations play but the volume is really low and I can't adjust it in the player.  moode is very confused... 

What's going on???

Thanks, 

Rick
Reply
#2
When the issue occurs what is the output from the command below?

Code:
pgrep -l librespot
Reply
#3
(11-24-2018, 10:12 PM)PhotonHerder Wrote: I installed moode 4.3 on my raspberry pi with Allo DigiOne.  I opened the spotify web browser on my PC.  I used Spotify app on my iphone to select moode.  I'm using Chrome.  It worked fine for a few hours, and then it just drodped the moode connection.  Moode doesn't show up in the Spotify connect list anymore. 
...

@PhotonHerder

I'm curious why you opened the Spotify web browser on your PC and used the Spotify app on your iPhone to select moOde. Either software solution will work on its own. Why both?

FYI - In addition to iOS and Android apps, there are also downloadable Spotify clients for Windows, Mac OS X, and (unsupported) Linux. 

Regards,
Kent

PS - great screen name!
Reply
#4
I have the same problem. 
Spotify plays for 10 seconds and stops. Command  "pgrep -l librespot"  shows nothing.

Code:
System Information
S Y S T E M    P A R A M E T E R S  
Date and time = 2018-11-25 14:50:37
System uptime = up 6 minutes
.

HDWR REV = Pi-2B 1GB v1.1

ROOT size = 7.3G
ROOT used = 100%
ROOT avail = 0
FS expand = expanded
MEM free = 671 MB
MEM used = 61 MB
Temperature = 44.4°C

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

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 0.13 0.75 99.12
0 0.00 0.51 99.49
1 0.50 1.01 98.49
2 0.00 1.50 98.50
3 0.00 0.00 100.00

P R O C E S S    L O A D  

PRI RTPRIO COMMAND         %MEM PSR %CPU
19      - sysinfo.sh       0.2   3  3.0
19      - systemd          0.6   1  0.9
19      - sudo             0.3   0  0.6
19      - worker.php       1.2   0  0.5
19      - systemd-journal  0.4   2  0.4
19      - kworker/2:1      0.0   2  0.2
29      - mpd              2.1   0  0.2
19      - upmpdcli         0.8   0  0.2
19      - mmcqd/0          0.0   2  0.1

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

   arm   = 900 MHz       pwm   = 0 MHz
   core  = 250 MHz       emmc  = 200 MHz
   h264  = 250 MHz       pixel = 25 MHz
   isp   = 250 MHz       vec   = 126 MHz
   v3d   = 250 MHz       hdmi  = 163 MHz
   uart  = 48 MHz       dpi   = 0 MHz

SD card = 50 MHz

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

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

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

Audio device = Audiophonics ES9023 DAC
Interface = I2S
Hdwr volume = None
Mixer name = Digital
Output stream = Closed
ALSA version = 1.1.3-5+rpi3
SoX version = 0.1.2-2

M P D    S E T T I N G S  

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

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

Friendly name = MoOde
ALSA device = default:CARD=sndrpihifiberry
Resume MPD = No
Bit rate = 320
Initial volume = 100
Volume curve = Logarithmic
Volume normalization = No
Normalization pregain = 0
.
M O O D E    L O G  

  20181125 144417 worker: - Start
  20181125 144417 worker: Successfully daemonized
  20181125 144418 worker: Session loaded
  20181125 144418 worker: Debug logging (off)
  20181125 144418 worker: - Platform
  20181125 144420 worker: Host (moode)
  20181125 144420 worker: Hdwr (Pi-2B 1GB v1.1)
  20181125 144420 worker: Arch (armv7l)
  20181125 144420 worker: Rasp (9.4)
  20181125 144420 worker: Kver (4.14.72-v7+)
  20181125 144420 worker: Ktyp (Standard)
  20181125 144420 worker: Gov  (performance)
  20181125 144420 worker: Rel  (Moode 4.3 2018-09-27)
  20181125 144420 worker: Upd  (None)
  20181125 144420 worker: MPD  (0.20.20)
  20181125 144420 worker: USB boot not enabled yet
  20181125 144420 worker: File system expanded
  20181125 144420 worker: HDMI port on
  20181125 144420 worker: File check ok
  20181125 144420 worker: - Network
  20181125 144420 worker: eth0 exists
  20181125 144420 worker: eth0 address not assigned
  20181125 144420 worker: wlan0 exists
  20181125 144420 worker: wifi country (US)
  20181125 144420 worker: wlan0 trying SSID (home)
  20181125 144421 worker: wlan0 (192.168.0.3)
  20181125 144421 worker: - Audio
  20181125 144421 worker: ALSA outputs unmuted
  20181125 144421 worker: ALSA card number (0)
  20181125 144421 worker: Audio out (I2S audio device)
  20181125 144421 worker: Audio dev (Audiophonics ES9023 DAC)
  20181125 144421 worker: ALSA mixer name (Digital)
  20181125 144421 worker: MPD volume control (disabled)
  20181125 144421 worker: Hdwr volume controller not detected
  20181125 144421 worker: - Services
  20181125 144421 worker: Reset renderer active
  20181125 144423 worker: MPD started
  20181125 144423 worker: MPD scheduler policy (time-share)
  20181125 144423 worker: Configure MPD outputs
  20181125 144423 worker: MPD output 1 ALSA default (on)
  20181125 144423 worker: MPD output 2 ALSA crossfeed (off)
  20181125 144423 worker: MPD output 3 ALSA parametric eq (off)
  20181125 144423 worker: MPD output 4 ALSA graphic eq (off)
  20181125 144423 worker: MPD output 5 ALSA bluetooth (off)
  20181125 144423 worker: MPD crossfade (off)
  20181125 144423 worker: Spotify receiver started
  20181125 144424 worker: UPnP renderer started
  20181125 144424 worker: - Music sources
  20181125 144424 worker: USB sources (none attached)
  20181125 144424 worker: NAS sources (mountall initiated)
  20181125 144424 worker: - Miscellaneous
  20181125 144424 worker: Volume level (0) restored
  20181125 144424 worker: Maintenance interval (21600)
  20181125 144424 worker: Screen saver activation (Never)
  20181125 144424 worker: Watchdog started
  20181125 144424 worker: Ready
  20181125 144614 worker: Job spotifysvc
Reply
#5
(11-25-2018, 01:13 PM)zaqqq Wrote: I have the same problem. 
Spotify plays for 10 seconds and stops. Command  "pgrep -l librespot"  shows nothing.

Code:
...
ROOT used = 100%
ROOT avail = 0
...

Aha. 

Spotify has filled your filesystem with its cache. This was a problem identified a while ago in another thread. Probably it will turn out to be the same for @PhotonHerder.

As a temporary fix, whenever this occurs with Spotify, ssh into your moOde player and manually try the cmd below

Code:
sudo rm -rf /var/local/www/spotify_cache/files

The upcoming moOde r4.4 release contains a permanent fix.

Regards,
Kent
Reply
#6
Thumbs Up 
Great! Thank you TheOldPresbyope

This fix actually solves two of my problems - Spotify play and the inability to update the software online.
Reply
#7
(11-25-2018, 02:18 AM)TheOldPresbyope Wrote:
(11-24-2018, 10:12 PM)PhotonHerder Wrote: I installed moode 4.3 on my raspberry pi with Allo DigiOne.  I opened the spotify web browser on my PC.  I used Spotify app on my iphone to select moode.  I'm using Chrome.  It worked fine for a few hours, and then it just drodped the moode connection.  Moode doesn't show up in the Spotify connect list anymore. 
...

@PhotonHerder

I'm curious why you opened the Spotify web browser on your PC and used the Spotify app on your iPhone to select moOde. Either software solution will work on its own. Why both?

FYI - In addition to iOS and Android apps, there are also downloadable Spotify clients for Windows, Mac OS X, and (unsupported) Linux. 

Regards,
Kent

PS - great screen name!

Because I thought I had to have the web player open... 

OK, I used the command to clear the cache, and it seem to be working.  Thanks!

PhotonHerding is what I do for a living, so it seemed appropriate. Smile
Reply
#8
(11-25-2018, 09:22 PM)PhotonHerder Wrote: PhotonHerding is what I do for a living, so it seemed appropriate. Smile

I just Googled it Way out! Cool
Reply
#9
(11-25-2018, 01:39 PM)TheOldPresbyope Wrote:
(11-25-2018, 01:13 PM)zaqqq Wrote: I have the same problem. 
Spotify plays for 10 seconds and stops. Command  "pgrep -l librespot"  shows nothing.

Code:
...
ROOT used = 100%
ROOT avail = 0
...

Aha. 

Spotify has filled your filesystem with its cache. This was a problem identified a while ago in another thread. Probably it will turn out to be the same for @PhotonHerder.

As a temporary fix, whenever this occurs with Spotify, ssh into your moOde player and manually try the cmd below

Code:
sudo rm -rf /var/local/www/spotify_cache/files

The upcoming moOde r4.4 release contains a permanent fix.

Regards,
Kent

Hmmm... It worked for a couple days, then did the same thing again, but this time clearing the cache didn't fix it.  I tried it several times, rebooted the pi several times....  Help!  Smile
Reply
#10
Post more information about your issue for example:

- has librespot crashed?
- did your network connection drop?
- any errors in syslog?
- how much free disk space is left?
- etc
Reply


Forum Jump: