RPi-Jukebox-RFID icon indicating copy to clipboard operation
RPi-Jukebox-RFID copied to clipboard

🚀 | Bluetooth with the Spotify Version

Open UndIch opened this issue 3 years ago • 6 comments

Feature Description

Spotify is very common - so it would be awesome if the phoniebox can be used with bluetooth headphones or speaker.

What functionality would you like to see in your phoniebox?

Easy way to use bluetooth headphones and toggle between speaker and bluetooth

Is there anywhere an explanation how to get it to work with the Spotify version (with or without a toggle option?)

UndIch avatar Aug 25 '21 18:08 UndIch

Please have a look at https://github.com/MiczFlor/RPi-Jukebox-RFID/tree/develop/components/bluetooth-sink-switch

i think this could cover you use case. It’s available since 2.3

s-martin avatar Sep 02 '21 20:09 s-martin

Unfortunately not - they all only work with the „Classic“ Version ans not with the Spotify edition. I’m looking for a solution for the Spotify version.

UndIch avatar Sep 03 '21 04:09 UndIch

@ChisSoc, any hints how to make the BT toggle feature work with Spotify/mopidy?

s-martin avatar Sep 03 '21 08:09 s-martin

Bluetooth speaker / headphone is not a problem with Spotify. It works based on Alsa. There is an excellent Wiki article.

The toggle option however depends on MPD functionality. I have looked into implementing it for Mopidy some time ago, but did not have an idea how to do it.

ghost avatar Sep 03 '21 15:09 ghost

The howto did not work for me in the newest version. And the excellent Wiki starts with „this howto was tested on the Phoniebox Classic meaning: no Spotify, version 1.1.7“

UndIch avatar Sep 03 '21 22:09 UndIch

How far did you get? Are you able to play something with aplay?

If no, it is your Alsa Config that is not working.

If yes, configure your Alsa to use the bluetooth sink as default. Check that also with aplay by omitting the -D option. Or, alternatively, try to install the Alsa plugin for Mopidy.

ghost avatar Sep 04 '21 16:09 ghost