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

Trouble setting up #8

Closed
isaa-ctaylor opened this issue Dec 15, 2021 · 11 comments
Closed

Trouble setting up #8

isaa-ctaylor opened this issue Dec 15, 2021 · 11 comments

Comments

@isaa-ctaylor
Copy link

Hey there!

I wanted to look into using spotifypiHome in my home, using one rpi as both a server and client, and another rpi as a client. I ran serverInstall.sh and then clientInstall.sh on the server client, but the rpi doesn't show up on spotify or Bluetooth from my phone.

I was wondering what, if anything I am doing wrong?

Thanks

@jgabriel98
Copy link
Owner

jgabriel98 commented Dec 15, 2021 via email

@isaa-ctaylor
Copy link
Author

I am running on rasbian 10, Buster. I am trying to connect to the server bluetooth.

@isaa-ctaylor
Copy link
Author

I'm going to try flashing my rpi and starting with a fresh installation of the os, with nothing changed, and see if that works

@isaa-ctaylor
Copy link
Author

I tried with a fresh Bullseye installation

I followed the following steps:

  1. run sudo apt install -y --no-install-recommends alsa-base alsa-utils bluez-tools
  2. run wget https://github.com/jgabriel98/spotifypiHome/archive/refs/tags/v2.0.0.tar.gz && tar -xf v2.0.0.tar.gz spotifypiHome-2.0.0 && cd spotifypiHome-2.0.0 && sudo ./serverInstall.sh --no-shairport && sudo ./clientInstall.sh

After this, it doesn't show up on spotify devices list, or Bluetooth devices on my phone.

Could you share how you installed, and if I did something wrong?

PS: I also noticed that it says that bluealsa was not found, and trying to run bluealsa from the command line, I get bash: bluealsa: command not found

I hope this is useful, thanks for your earlier speedy reply

@jgabriel98
Copy link
Owner

jgabriel98 commented Dec 17, 2021

sorry for the wait. I was kinda busy.

yeah, it was vey usefull. There's two possibilities i can think of:

  1. I removed bluealsa from the dependencies and didn't check. So try to run sudo apt install bluealsa and do step 2. again.
  2. You're using raspbian 11 bullseye, and this OS doesn't have bluealsa anymore (see this similar project readme begin). For that you can
    • use a raspberry OS 10. But i can't guarantee spotify working, since raspotify updated to use raspberry OS 11 bullseye. From what i remember, i've only got some complains in the raspotify.service logs, but it seemed to be fine.
    • wait for me to get a workarround (probably i will use pipewire or pulseaudio to get bluetooth functionality). But this probably will take some time, since it would replace all the audiobackend. (Maybe a week to replace? idk)

Anyway, now i need to remind myself to update the readme about those OS conflicts.

@jgabriel98
Copy link
Owner

Update: Just found some examples to use pulseaudio for bluetooth input, i'm gona take a look this weekend, and hopefully get it back working.

@isaa-ctaylor
Copy link
Author

I will have another go with buster later today

@isaa-ctaylor
Copy link
Author

It's working!

I installed a fresh buster image, and it all works!

I suggest adding bluealsa to the Bluetooth install packages in the readme, and maybe a note about connecting with Bluetooth using bluetoothctl

Thanks for the advice

@jgabriel98
Copy link
Owner

Good to know!

just a question, you couldn't connect with bluetooth without bluetoohctl? for what i remember i've fixed it (issue #3)

@isaa-ctaylor
Copy link
Author

It may have just been my impatience, but it didn't seem to work just trying to pair without having to do anything with the pi. After pairing however, it connects just fine

@jgabriel98
Copy link
Owner

Thanks for letting me know

i'll take some time to do a fresh install and test the bluetooth (currently i'm on debian 11 bullseye, which doesn't have bluealsa anymore :/)

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

No branches or pull requests

2 participants