Hi,

Hope someone here can help me out with the following:

My setup:
Source = Synology DS216Play, running LMS 7.9 and DSM 6
Player = Raspberry Pi 2, running PiCorePlayer 3.02
Network = gigabit, only wired

What is the problem:
Playback from spotify keeps shutting down after a short while (1 to 10
minutes). Playback stops in the middle of a song. Manualy skipping to
the next or previous song usualy solves this for a next short periode. 

Debug Log Protocol Handlers shows allways something like this, starting
the second a song from Spotify starts playing, repeating itself every 10
seconds up till the moment the song stops.  
[22:04:32.569167] music_delivery:584 streamed frames: 1597440 can't
write: 0 rate: 72637 / 44100
[22:04:32.569207] music_delivery:427 called with num_frames: 2048
[22:04:32.569547] _streambuf_write:274 player: 0 wrote 4619 new bytes of
4619 min 4619
[22:04:32.569783] _streambuf_write:274 player: 0 wrote 4619 new bytes of
4619 min 4619
[22:04:32.569832] music_delivery:584 streamed frames: 1599488 can't
write: 0 rate: 72727 / 44100
[22:04:32.569874] music_delivery:427 called with num_frames: 2048
[22:04:32.570196] _streambuf_write:274 player: 0 wrote 4619 new bytes of
4619 min 4619
[22:04:32.570434] _streambuf_write:274 player: 0 wrote 4619 new bytes of
4619 min 4619
[22:04:32.570478] music_delivery:584 streamed frames: 1601536 can't
write: 0 rate: 72820 / 44100
[22:04:32.570518] music_delivery:427 called with num_frames: 2048
[22:04:32.570844] _streambuf_write:274 player: 0 wrote 4619 new bytes of
4619 min 4619
[22:04:32.570906] music_delivery:584 streamed frames: 1603584 can't
write: 0 rate: 72910 / 44100
[22:04:32.570947] music_delivery:427 called with num_frames: 2048
[22:04:32.571258] _streambuf_write:274 player: 0 wrote 4619 new bytes of
4619 min 4619
[22:04:32.571489] _streambuf_write:274 player: 0 wrote 4619 new bytes of
4619 min 4619
[22:04:32.571564] music_delivery:584 streamed frames: 1605632 can't
write: 0 rate: 72999 / 44100

About 20 seconds after a song stops, this is logged in the same debug
log:
[22:04:55.054659] main:448
/volume1/@appstore/SqueezeCenter/Cache/InstalledPlugins/Plugins/SpotifyProtocolHandler/Bin/arm-linux/spotifyd
2.3.8 started ( libspotify: 12.1.51.g86c92b43 Release Linux-armv5 )
[22:04:55.055172] main:478 Config: username: REMOVED_USERNAME cachedir:
/volume1/@appstore/SqueezeCenter/Cache/spotifycache bitrate: 320
volnorm: 0 httpport: 9005 cliport: 9090 cacheaudio: 0
[22:05:50.003606] main:567 new connection
[22:05:50.005181] main:619 req: prefetch.json res:
spotify:track:7Jv84kXQwRCyVRAuX5fhLC par: (null) prot: HTTP/1.0 auth:
(null)
[22:05:50.006312] main:702 relogging in as user: REMOVED_USERNAME
[22:05:50.007376] log_message:81 log: 21:05:50.007 I
[offline_authorizer.cpp:297] Unable to login offline: no such user
[22:05:50.007593] log_message:81 log: 21:05:50.007 I [ap:1752]
Connecting to AP ap.spotify.com:4070
[22:05:50.055802] log_message:81 log: 21:05:50.055 I [ap:1226] Connected
to AP: 194.132.162.246:4070
[22:05:51.010269] log_message:81 log: 21:05:51.010 E
[offline_authorizer.cpp:49] Unable to save file: offline.bnk
[22:05:51.011294] logged_in:54 logged in
[22:05:51.013542] credentials_blob_updated:119 credentials blob updated
[22:05:51.187850] log_message:81 log: 21:05:51.187 E [ap:4172]
ChannelError(6, 0, playlist)
[22:05:51.223319] log_message:81 log: 21:05:51.223 E [ap:4172]
ChannelError(5, 1, playlist)
[22:05:52.058515] main:985 prefetching track: Cache is not enabled
[22:05:52.201957] metadata_updated:86 new meta
[22:05:54.582367] log_message:81 log: 21:05:54.582 E [ap:4172]
ChannelError(0, 1, playlist)
[22:05:59.655119] log_message:81 log: 21:05:59.655 E [ap:4172]
ChannelError(1, 0, playlist)

Done this allready:
- Removed LMS and updated to LMS 7.9 (done reboots in between and after
install)
- Combined Tiode's plugin with protocol handler and new protocol handler
and original Spotify plugin in every combination i can think of. 
- Settings in LMS: direct stream or via proxy, lowering stream quality,
tripple checking my login to spotify (plugin page telling me i am logged
in to Spotify), changing port of the helper app to 10 different options
(and changing firewall portforwarding at the same time), enableding and
disabling cache.
- Hooking up the Pi directly to the router, disconnecting everything but
the NAS and Pi from router
- Clean install of Pi and NAS
- Checking and rechecking Spotify was logged in at MySqeezebox.com, and
trying without it. 

Nothing i've done changed a thing. The problem is still here, allmost
ready to give up. Can someone figure out what is going wrong here?


------------------------------------------------------------------------
Maurits's Profile: http://forums.slimdevices.com/member.php?userid=65773
View this thread: http://forums.slimdevices.com/showthread.php?t=106868

_______________________________________________
Squeezecenter mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/squeezecenter

Reply via email to