From 2e2085a212312282e20dcb6578503b6daff9b72e Mon Sep 17 00:00:00 2001
From: nicknsy <20588554+nicknsy@users.noreply.github.com>
Date: Sat, 4 Mar 2023 16:19:09 -0800
Subject: [PATCH] HashSet datatype was causing default values to always be
added on server start
---
MediaBrowser.Model/Configuration/TrickplayOptions.cs | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/MediaBrowser.Model/Configuration/TrickplayOptions.cs b/MediaBrowser.Model/Configuration/TrickplayOptions.cs
index d527baaa46..f85259a14b 100644
--- a/MediaBrowser.Model/Configuration/TrickplayOptions.cs
+++ b/MediaBrowser.Model/Configuration/TrickplayOptions.cs
@@ -31,7 +31,7 @@ namespace MediaBrowser.Model.Configuration
///
/// Gets or sets the target width resolutions, in px, to generates preview images for.
///
- public HashSet WidthResolutions { get; set; } = new HashSet { 320 };
+ public int[] WidthResolutions { get; set; } = new[] { 320 };
///
/// Gets or sets number of tile images to allow in X dimension.
@@ -51,7 +51,7 @@ namespace MediaBrowser.Model.Configuration
///
/// Gets or sets the jpeg quality to use for image tiles.
///
- public int JpegQuality { get; set; } = 90;
+ public int JpegQuality { get; set; } = 80;
///
/// Gets or sets the number of threads to be used by ffmpeg.