fix(mpris): missing PropertyChanged signal for volume
fix(mpris): missing PropertyChanged signal for volume Send a `PropertyChanged` signal for the MPRIS volume when the volume changes inside `ncspot`.
This commit is contained in:
@@ -196,7 +196,7 @@ impl CommandManager {
|
||||
.spotify
|
||||
.volume()
|
||||
.saturating_add(VOLUME_PERCENT * amount);
|
||||
self.spotify.set_volume(volume);
|
||||
self.spotify.set_volume(volume, true);
|
||||
Ok(None)
|
||||
}
|
||||
Command::VolumeDown(amount) => {
|
||||
@@ -205,7 +205,7 @@ impl CommandManager {
|
||||
.volume()
|
||||
.saturating_sub(VOLUME_PERCENT * amount);
|
||||
debug!("vol {}", volume);
|
||||
self.spotify.set_volume(volume);
|
||||
self.spotify.set_volume(volume, true);
|
||||
Ok(None)
|
||||
}
|
||||
Command::Help => {
|
||||
|
||||
Reference in New Issue
Block a user