The Free Software Media System - Server Backend & API
Use symmetric 15s default for skip forward/backward lengths
tcsenpai58e7ff7f9d63
diff --git a/Jellyfin.Api/Controllers/DisplayPreferencesController.cs b/Jellyfin.Api/Controllers/DisplayPreferencesController.csindex 61d40a7268..c1287fe3f4 100644--- a/Jellyfin.Api/Controllers/DisplayPreferencesController.cs+++ b/Jellyfin.Api/Controllers/DisplayPreferencesController.cs@@ -157,13 +157,13 @@ public class DisplayPreferencesController : BaseJellyfinApiControllerexistingDisplayPreferences.SkipBackwardLength = displayPreferences.CustomPrefs.TryGetValue("skipBackLength", out var skipBackLength)&& !string.IsNullOrEmpty(skipBackLength)? int.Parse(skipBackLength, CultureInfo.InvariantCulture)- : 10000;+ : 15000;displayPreferences.CustomPrefs.Remove("skipBackLength");existingDisplayPreferences.SkipForwardLength = displayPreferences.CustomPrefs.TryGetValue("skipForwardLength", out var skipForwardLength)&& !string.IsNullOrEmpty(skipForwardLength)? int.Parse(skipForwardLength, CultureInfo.InvariantCulture)- : 30000;+ : 15000;displayPreferences.CustomPrefs.Remove("skipForwardLength");existingDisplayPreferences.DashboardTheme = displayPreferences.CustomPrefs.TryGetValue("dashboardTheme", out var theme)