Skip to content

Commit f86da6f

Browse files
authored
sound150 v13.4.1: Fixes a bug when the current player is undefined (#7928)
1 parent 486afc1 commit f86da6f

File tree

3 files changed

+5
-2
lines changed

3 files changed

+5
-2
lines changed

sound150@claudiux/files/sound150@claudiux/6.4/applet.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1562,7 +1562,7 @@ class Sound150Applet extends Applet.TextIconApplet {
15621562
this._toggle_out_mute();
15631563
else if (this.middleClickAction === "in_mute")
15641564
this._toggle_in_mute();
1565-
else if (this.middleClickAction === "player")
1565+
else if (this.middleClickAction === "player" && this._players[this._activePlayer])
15661566
this._players[this._activePlayer]._mediaServerPlayer.PlayPauseRemote();
15671567
}
15681568
} else if (buttonId === 8) { // previous and next track on mouse buttons 4 and 5 (8 and 9 by X11 numbering)

sound150@claudiux/files/sound150@claudiux/CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
### v13.4.1~20251030
2+
* Fixes a bug when the current player is undefined.
3+
14
### v13.4.0~20251029
25
* Improves tooltip duration.
36
* Fixes [#7922](https://github.com/linuxmint/cinnamon-spices-applets/issues/7922)

sound150@claudiux/files/sound150@claudiux/metadata.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"max-instances": "1",
66
"description": "Enhanced sound applet",
77
"hide-configuration": false,
8-
"version": "13.4.0",
8+
"version": "13.4.1",
99
"cinnamon-version": [
1010
"2.8",
1111
"3.0",

0 commit comments

Comments
 (0)