[GH-ISSUE #25] Adjusting volume of playback through phone #12

Closed
opened 2026-02-28 15:41:43 +03:00 by kerem · 1 comment
Owner

Originally created by @b16tran on GitHub (Nov 23, 2024).
Original GitHub issue: https://github.com/usenocturne/nocturne-ui/issues/25

Originally assigned to: @brandonsaldan on GitHub.

When scrolling with the wheel, the volume does not change when phone is playback device. Volume overlay appears and adjusts but resets back to max volume and has no affect.

Using iPhone 16 Pro

Tested with using another device as playback and volume adjusted correctly.

Originally created by @b16tran on GitHub (Nov 23, 2024). Original GitHub issue: https://github.com/usenocturne/nocturne-ui/issues/25 Originally assigned to: @brandonsaldan on GitHub. When scrolling with the wheel, the volume does not change when phone is playback device. Volume overlay appears and adjusts but resets back to max volume and has no affect. Using iPhone 16 Pro Tested with using another device as playback and volume adjusted correctly.
kerem closed this issue 2026-02-28 15:41:43 +03:00
Author
Owner

@brandonsaldan commented on GitHub (Dec 23, 2024):

looking at the devices documentation with playback coming through a phone, it seems as though the api disallows this via the supports_volume flag:

response from an iphone:

{
  "devices" : [ {
    "id" : "xxxx",
    "is_active" : true,
    "is_private_session" : false,
    "is_restricted" : false,
    "name" : "iPhone",
    "supports_volume" : false,
    "type" : "Smartphone",
    "volume_percent" : 100
  } ]
}

response from an android:

{
  "devices" : [ {
    "id" : "xxxx",
    "is_active" : true,
    "is_private_session" : false,
    "is_restricted" : false,
    "name" : "Pixel 8",
    "type" : "Smartphone",
    "volume_percent" : 100
    "supports_volume" : false,
  } ]
}

compared to the response from a PC:

{
  "devices" : [ {
    "id" : "xxxx",
    "is_active" : true,
    "is_private_session" : false,
    "is_restricted" : false,
    "name" : "PC",
    "supports_volume" : true,
    "type" : "Computer",
    "volume_percent" : 100
  } ]
}

seems like a very unfortunate limitation on spotify's end, so there isn't much we can do about this currently; it may be possible through bluetooth and we'll cycle back to it when the time comes!

<!-- gh-comment-id:2558898978 --> @brandonsaldan commented on GitHub (Dec 23, 2024): looking at the [devices documentation](https://developer.spotify.com/documentation/web-api/reference/get-a-users-available-devices) with playback coming through a phone, it seems as though the api disallows this via the `supports_volume` flag: response from an iphone: ``` { "devices" : [ { "id" : "xxxx", "is_active" : true, "is_private_session" : false, "is_restricted" : false, "name" : "iPhone", "supports_volume" : false, "type" : "Smartphone", "volume_percent" : 100 } ] } ``` response from an android: ``` { "devices" : [ { "id" : "xxxx", "is_active" : true, "is_private_session" : false, "is_restricted" : false, "name" : "Pixel 8", "type" : "Smartphone", "volume_percent" : 100 "supports_volume" : false, } ] } ``` compared to the response from a PC: ``` { "devices" : [ { "id" : "xxxx", "is_active" : true, "is_private_session" : false, "is_restricted" : false, "name" : "PC", "supports_volume" : true, "type" : "Computer", "volume_percent" : 100 } ] } ``` seems like a very unfortunate limitation on spotify's end, so there isn't much we can do about this currently; it may be possible through bluetooth and we'll cycle back to it when the time comes!
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/nocturne-ui#12
No description provided.