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

cspot as standalone player #141

Open
hillstub opened this issue Jan 21, 2023 · 1 comment
Open

cspot as standalone player #141

hillstub opened this issue Jan 21, 2023 · 1 comment

Comments

@hillstub
Copy link

I'd like to make a player where I can use NFC cards to start playing Spotify albums. I've previously used a Raspberry pi for this, but would love to use an ESP32 board so it'll boot a bit faster. Could you give some suggestions on how to make cspot work as a standalone player?

Thanks in advance!

@Ryan-Romig
Copy link

Ryan-Romig commented Apr 1, 2023

cspot allows for ESP32 to be a Spotify Connect device.
check out this repo ( also visit their youtube channel for walkthrough)
It uses amazon echo dot as Spotify Connect device and the esp32 to read the NFC.
https://github.com/makeratplay/esp32SpotifyEchoDot

instead of using the echo dot as spotify connect, you would use the device running cspot instead.

The repo is with arduino but is simple enough and can be ported to esp-idf framework.

you could implement the code that scans NFC and sends the play command to a spotify connect device as rtos task in the main.cpp of cspot
https://github.com/feelfreelinux/cspot/blob/master/targets/esp32/main/main.cpp

good luck, hope this is helpful

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