Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Crashing when trying to play local song #126

Open
ClemaX opened this issue Mar 23, 2017 · 2 comments
Open

Crashing when trying to play local song #126

ClemaX opened this issue Mar 23, 2017 · 2 comments

Comments

@ClemaX
Copy link

ClemaX commented Mar 23, 2017

Trying to play a local file crashes the latest version on my raspberry pi. I know that local files can't be played over Spotify Connect but when I accidentally select one it crashes and I need to restart spotify-connect-web manually.

Here is what I can see being logged:

playback_seek: 0
kSpPlaybackNotifyTrackChanged
kSpPlaybackNotifyBecameActive
Segmentation fault (core dumped)

EDIT: Here is what i can see in debug mode (-d):

SpircLoad spotify:user:5clemax5:playlist:2Y1hZRYCc5z3NxtiOPeWXM 0
ESDK: callback context (nil), event 5, source: (nil), param (nil)
ESDK: callback context (nil), event 5, source: (nil), param (nil)
ESDK: callback context (nil), event 16, source: (nil), param 0x7e84b177
ESDK: Notifying kSpPlaybackNotifyBecameActive
kSpPlaybackNotifyBecameActive
ESDK: callback context (nil), event 32, source: 0x758df548, param 0x758d3fe2
ESDK: Notifying SpCallbackPlaybackUnavailableTrack, track = spotify:track:7y1GB13kJnitvpFbJct3hn
Segmentation fault (core dumped)
@joeltimothyoh
Copy link

I think this might be connected to the fact that SCW crashes that happen when attempting to play an unavailable track on Spotify. Seems like the only workaround is to play only tracks that are playable on Spotify.

@Fornoth
Copy link
Owner

Fornoth commented Jan 15, 2018

This really isn't something I can fix unfortunately, since I don't control the actual playback. Although I'll look into it to see what SpCallbackPlaybackUnavailableTrack is.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants