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

Raspotify Service Exited after connecting to device #114

Closed
e-3-s opened this issue May 17, 2018 · 9 comments
Closed

Raspotify Service Exited after connecting to device #114

e-3-s opened this issue May 17, 2018 · 9 comments
Assignees
Labels

Comments

@e-3-s
Copy link

e-3-s commented May 17, 2018

Hi there,

The raspotify service is giving me an error.
Sometimes its works sometimes it doesn't

It's on the raspberry pi 3

`● raspotify.service - Raspotify
Loaded: loaded (/lib/systemd/system/raspotify.service; enabled; vendor preset: enabled)
Active: activating (auto-restart) (Result: exit-code) since Thu 2018-05-17 23:00:06 CEST; 2s ago
Process: 1022 ExecStart=/usr/bin/librespot --name ${DEVICE_NAME} $BACKEND_ARGS --bitrate ${BITRATE} $CACHE_ARGS $VOLUME_ARGS $OPTIONS (code=exited, status=101)
Process: 1020 ExecStartPre=/bin/chown raspotify:raspotify /var/cache/raspotify (code=exited, status=0/SUCCESS)
Process: 1017 ExecStartPre=/bin/mkdir -m 0755 -p /var/cache/raspotify (code=exited, status=0/SUCCESS)
Main PID: 1022 (code=exited, status=101)

May 17 23:00:06 raspberrypi systemd[1]: raspotify.service: Main process exited, code=exited, status=101/n/a
May 17 23:00:06 raspberrypi systemd[1]: raspotify.service: Unit entered failed state.
May 17 23:00:06 raspberrypi systemd[1]: raspotify.service: Failed with result 'exit-code'.
`

@mim999
Copy link

mim999 commented May 17, 2018

Had no problems with raspotify until today, uninstalled en reinstalled it. but no success. have the same error now.

@dtcooper
Copy link
Owner

dtcooper commented May 17, 2018

This seems to be related to Librespot's issue #233. Tracking that and attempting a fix now. Thanks

@dtcooper dtcooper added the bug label May 17, 2018
@dtcooper dtcooper self-assigned this May 17, 2018
@dtcooper
Copy link
Owner

Going to use @dawidd6's branch to see if that fix works. Building now!

@gfro84
Copy link

gfro84 commented May 17, 2018

@dtcooper let us know how you get on with the @dawidd6 fork build!

@dtcooper
Copy link
Owner

The fork works! The new version of Raspotify is pushed to the apt repo. This should fix the problem, but let me know if you have issues!

sudo apt-get update
sudo apt-get upgrade

@gfro84
Copy link

gfro84 commented May 17, 2018

Brilliant - works a treat. For any folk on OSMC, need to re-run the install.sh as
sudo apt-get upgrade
Results in a message telling you you are doing it wrong. Install.sh pulls the new file from the repository.

@dtcooper thanks for the quick fix

@mim999
Copy link

mim999 commented May 17, 2018

@dtcooper thanks you for the quick fix!

@dtcooper
Copy link
Owner

No problem, folks! 🙃

@e-3-s
Copy link
Author

e-3-s commented May 18, 2018

Wauw just coming home. And its already fixed.
You sure are great!

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

No branches or pull requests

4 participants