Skip to content

Commit

Permalink
Handle volume adjustments
Browse files Browse the repository at this point in the history
  • Loading branch information
pinsarda committed Jan 17, 2025
1 parent 46953f3 commit 9638aef
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/services/playon_handler.dart
Original file line number Diff line number Diff line change
Expand Up @@ -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":
Expand Down

0 comments on commit 9638aef

Please sign in to comment.