From 9638aefb3cd517fa1fc27b6374ad9b6f02eec23d Mon Sep 17 00:00:00 2001 From: "A. Pinsard" Date: Fri, 17 Jan 2025 23:08:38 +0100 Subject: [PATCH] Handle volume adjustments --- lib/services/playon_handler.dart | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/services/playon_handler.dart b/lib/services/playon_handler.dart index a9f90c06..9426f42f 100644 --- a/lib/services/playon_handler.dart +++ b/lib/services/playon_handler.dart @@ -140,8 +140,8 @@ class PlayonHandler { break; case "SetVolume": _playOnHandlerLogger.info("Server requested a volume adjustment"); - // Waiting for planned issue #500 to be resolved to adjust volume - // We now have to report to jellyfin server, probably through playback_history_service, that we updated volume + final desiredVolume=request['Data']['Arguments']['Volume']; + FinampSettingsHelper.setCurrentVolume(double.parse(desiredVolume)/100.0); } break; case "UserDataChanged":