pimoroni / pidi-spotify

MIT License
46 stars 12 forks source link

Raspotify has changed log location #17

Open Phil-legoes opened 2 years ago

Phil-legoes commented 2 years ago

Latest build of Raspotify (0.31.4) has changed log location and log options to be more compliant LIBRESPOT. Tutorial no longer works.

rickyphewitt commented 2 years ago

One of the big changes is the config file location/format. It is now located: /etc/raspotify/conf

See: https://github.com/dtcooper/raspotify/wiki/Configuration for more information

As for the new config format, this is a good reference: https://github.com/librespot-org/librespot/wiki/Optionsb

I agree the readme/tutorial should be updated :)

Jumitti commented 2 years ago

Hello

So i have a problem... i don't know how and where i need to put this:

You need to add --onevent 'pidi_spotify --hook' to the OPTIONS= section. My options look like this, but yours might vary:

OPTIONS="--device hw:1,0 --onevent 'pidi_spotify --hook'"

Thanks for your help

bnutz commented 1 year ago

So i have a problem... i don't know how and where i need to put this: You need to add --onevent 'pidi_spotify --hook' to the OPTIONS= section.

Came across the same issue and in case anyone else had the same query - based on the links provided by @rickyphewitt , it looks like we need to edit /etc/raspotify/conf and add the option to the bottom of the file like this:

LIBRESPOT_ONEVENT="pidi_spotify --hook"