mirror of
https://github.com/Rigellute/spotify-tui.git
synced 2026-04-26 08:05:57 +03:00
[GH-ISSUE #289] Volume Decrease reports spotify API error on some non-local devices #117
Labels
No labels
bug
enhancement
good first issue
help wanted
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/spotify-tui#117
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 @Kai-Richardson on GitHub (Feb 10, 2020).
Original GitHub issue: https://github.com/Rigellute/spotify-tui/issues/289
Issue:
When attempting to change the volume of some devices that are not the spt-connected Spotify client, the Spotify API reports an error.
Reason:
It's not possible to change the volume of all remote devices via Spotify (phones, etc.) as it's greyed-out on the client itself. So, this error probably should be caught and not passed to the user. That, or volume functionality disabled for these non-changeable devices.
Looking at the Spotify API, it looks like the error passed on this event is
403 FORBIDDENwith the reason stringVOLUME_CONTROL_DISALLOW. You might want to catchDEVICE_NOT_CONTROLLABLEat the same time.Details:
spt version:
0.13.0Ubuntu
18.04running under Windows Subsystem for Linux 2@Rigellute commented on GitHub (Feb 11, 2020):
Thanks for reporting this 👍