feat: Increase default volume level to 80 and adjust volume handling in player service
This commit is contained in:
@@ -46,8 +46,8 @@ class PlayerState:
|
|||||||
"""Initialize player state."""
|
"""Initialize player state."""
|
||||||
self.status: PlayerStatus = PlayerStatus.STOPPED
|
self.status: PlayerStatus = PlayerStatus.STOPPED
|
||||||
self.mode: PlayerMode = PlayerMode.CONTINUOUS
|
self.mode: PlayerMode = PlayerMode.CONTINUOUS
|
||||||
self.volume: int = 50
|
self.volume: int = 80
|
||||||
self.previous_volume: int = 50
|
self.previous_volume: int = 80
|
||||||
self.current_sound_id: int | None = None
|
self.current_sound_id: int | None = None
|
||||||
self.current_sound_index: int | None = None
|
self.current_sound_index: int | None = None
|
||||||
self.current_sound_position: int = 0
|
self.current_sound_position: int = 0
|
||||||
|
|||||||
Reference in New Issue
Block a user