[GH-ISSUE #783] Fetching "connecting to new output device" #481

Closed
opened 2026-02-27 23:22:52 +03:00 by kerem · 2 comments
Owner

Originally created by @LuddeLump on GitHub (Feb 22, 2022).
Original GitHub issue: https://github.com/spotipy-dev/spotipy/issues/783

Hi, im trying to automate my hifisetup with raspberry pi. I would prefer to control everything via the Spotify app, as opposed to also having to use my amp remote. Is it possible to fetch any information when trying to connect to a new output device? If that's possible, it would allow me to make that as an event to turn on my amplifier with a raspberry powered ir controller.

Originally created by @LuddeLump on GitHub (Feb 22, 2022). Original GitHub issue: https://github.com/spotipy-dev/spotipy/issues/783 Hi, im trying to automate my hifisetup with raspberry pi. I would prefer to control everything via the Spotify app, as opposed to also having to use my amp remote. Is it possible to fetch any information when trying to connect to a new output device? If that's possible, it would allow me to make that as an event to turn on my amplifier with a raspberry powered ir controller.
kerem 2026-02-27 23:22:52 +03:00
Author
Owner

@dieser-niko commented on GitHub (May 23, 2024):

Hi there, sorry for the late answer. You could use something like sp.devices() to retrieve a list of all devices that are available online. It includes details like id, name, type, volume, is_active, ...

<!-- gh-comment-id:2126291105 --> @dieser-niko commented on GitHub (May 23, 2024): Hi there, sorry for the late answer. You could use something like `sp.devices()` to retrieve a list of all devices that are available online. It includes details like `id`, `name`, `type`, `volume`, `is_active`, ...
Author
Owner

@stephanebruckert commented on GitHub (Jul 9, 2024):

Solution provided, closing

<!-- gh-comment-id:2218381939 --> @stephanebruckert commented on GitHub (Jul 9, 2024): Solution provided, closing
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/spotipy#481
No description provided.