mirror of
https://github.com/spotipy-dev/spotipy.git
synced 2026-04-26 16:15:51 +03:00
[GH-ISSUE #519] Headless mode support #312
Labels
No labels
api-bug
bug
dependencies
documentation
duplicate
enhancement
external-ide
headless-mode
implicit-grant-flow
invalid
missing-endpoint
pr-welcome
private-api
pull-request
question
spotipy3
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/spotipy#312
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @smalls12 on GitHub (Jun 26, 2020).
Original GitHub issue: https://github.com/spotipy-dev/spotipy/issues/519
Continuing on from Issue https://github.com/plamere/spotipy/issues/492
Support for a headless parameter
https://github.com/plamere/spotipy/issues/492 described a few possible scenarios.
The ideal implementation involved adding a headless parameter in the SpotifyOAuth constructor.
Just restarting the conversation, if there is any appetite for it.
For context, I'm running spotipy on my raspberry pi without any frontend GUI. The OS was built from scratch with buildroot.
The rpi is operating as a wireless node that can connect to spotify and play music over a connected speaker.
Disclaimer, I could implement what @stephanebruckert noted but I'm hoping for some support as I'm not really sure about the internals of connecting with spotify via the web API.
@stephanebruckert commented on GitHub (Jun 26, 2020):
Sorry didn't see your comment here https://github.com/plamere/spotipy/issues/492
Sure feel free to create a PR. Basically the PR is about skipping this bit:
github.com/plamere/spotipy@587baec9b9/spotipy/oauth2.py (L374..L383)if the new headless option is set to True