mirror of
https://github.com/librespot-org/librespot.git
synced 2026-04-27 08:15:50 +03:00
[GH-ISSUE #1143] Okay my plan is to use librespot to change the user spotify device to librespot. #534
Labels
No labels
A-Alsa
SpotifyAPI
Tokio 1.0
audio
bug
can't reproduce
compilation
dependencies
duplicate
enhancement
good first issue
help wanted
high priority
imported
imported
invalid
new api
pull-request
question
reverse engineering
wiki
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/librespot#534
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 @PetrNezbeda on GitHub (Apr 9, 2023).
Original GitHub issue: https://github.com/librespot-org/librespot/issues/1143
Okay my plan is to use librespot to change the user spotify device to librespot.
I builded a nodejs api that starts librespot with this following code
The question is now can I just set the user device with /me/player to librespot? and if yes how do I get the device id of liberspot?
Some other infos: I only have the username and the access_token with enough rights of a user.
(Yes this all is wanted by the target user its nothing ilegal!)
Is this even possible with librespot?
Thanks for any reply!
Originally posted by @fb-sean in https://github.com/librespot-org/librespot/discussions/1142
@dspearson commented on GitHub (Apr 11, 2023):
Not really a question related to this project. You're asking how to use the Web API.
I suggest you read the Spotify Web API documentation, specifically get available devices (where you can obtain the device_id), transfer playback & start/resume playback (you can see device_id is a parameter for example).