Verify input in PlayQueueUpdate ctor

This commit is contained in:
rzk3 2023-02-17 21:31:57 -05:00
parent 914faa6679
commit d7c5f12d09
1 changed files with 1 additions and 1 deletions

View File

@ -30,7 +30,7 @@ namespace MediaBrowser.Model.SyncPlay
IsPlaying = isPlaying;
ShuffleMode = shuffleMode;
RepeatMode = repeatMode;
PlaybackSpeed = playbackSpeed;
PlaybackSpeed = playbackSpeed is null ? null : Math.Clamp(playbackSpeed.Value, 0.1, 10.0);
}
/// <summary>