[PR #348] [MERGED] feat: Souvlaki 0.7.0 and Linux Dbus volume control support #1666

Closed
opened 2026-03-14 15:26:24 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/aome510/spotify-player/pull/348
Author: @LucasFA
Created: 1/26/2024
Status: Merged
Merged: 1/26/2024
Merged by: @aome510

Base: masterHead: test-volume


📝 Commits (2)

  • 3945bbe wip: add volume support
  • b89863d feat: dbus volume support through souvlaki

📊 Changes

3 files changed (+9 additions, -3 deletions)

View changed files

📝 Cargo.lock (+3 -2)
📝 spotify_player/Cargo.toml (+1 -1)
📝 spotify_player/src/media_control.rs (+5 -0)

📄 Description

I guess I am just merging other people's work. As I mentioned in souvlaki's issue for Linux volume control support, I tested this in my computer with

dbus-send --print-reply --dest=org.mpris.MediaPlayer2.spotify_player /org/mpris/MediaPlayer2 org.freedesktop.DBus.Properties.Set string:'org.mpris.MediaPlayer2.Player' string:'Volume' variant:double:0.4

(of course change that final 0.4 to different values to appreciate the change in volume)


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/aome510/spotify-player/pull/348 **Author:** [@LucasFA](https://github.com/LucasFA) **Created:** 1/26/2024 **Status:** ✅ Merged **Merged:** 1/26/2024 **Merged by:** [@aome510](https://github.com/aome510) **Base:** `master` ← **Head:** `test-volume` --- ### 📝 Commits (2) - [`3945bbe`](https://github.com/aome510/spotify-player/commit/3945bbe62c2933e1a3e76ecd12cdfc8c828d7cbd) wip: add volume support - [`b89863d`](https://github.com/aome510/spotify-player/commit/b89863dc9ce254ccbf0787168442e8111ebaf96d) feat: dbus volume support through souvlaki ### 📊 Changes **3 files changed** (+9 additions, -3 deletions) <details> <summary>View changed files</summary> 📝 `Cargo.lock` (+3 -2) 📝 `spotify_player/Cargo.toml` (+1 -1) 📝 `spotify_player/src/media_control.rs` (+5 -0) </details> ### 📄 Description I guess I am just merging other people's work. As I mentioned in [souvlaki's issue for Linux volume control support](https://github.com/Sinono3/souvlaki/issues/36#issuecomment-1911409315), I tested this in my computer with ``` dbus-send --print-reply --dest=org.mpris.MediaPlayer2.spotify_player /org/mpris/MediaPlayer2 org.freedesktop.DBus.Properties.Set string:'org.mpris.MediaPlayer2.Player' string:'Volume' variant:double:0.4 ``` (of course change that final 0.4 to different values to appreciate the change in volume) --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-14 15:26:24 +03:00
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/spotify-player#1666
No description provided.