diff options
| author | tcsenpai <tcsenpai@discus.sh> | 2026-05-01 22:09:26 +0200 |
|---|---|---|
| committer | tcsenpai <tcsenpai@discus.sh> | 2026-05-01 22:09:26 +0200 |
| commit | 58e7ff7f9d63c0982dfde8271b353ca1f122fd37 (patch) | |
| tree | ffe5c40accc49cf08c5b27ddefe460c22f6698f8 /Jellyfin.Api/Controllers/DisplayPreferencesController.cs | |
| parent | 105492ac2843fbae3df3999e99da6356a1851034 (diff) | |
Use symmetric 15s default for skip forward/backward lengths
Previously the default skip forward was 30s while skip backward was 10s.
This asymmetry is unexpected for most users and causes a poor UX,
especially on mobile/TV clients that rely on these server-side defaults.
Both values now default to 15000ms (15s), keeping a single consistent
behaviour until the user explicitly customizes them.
Diffstat (limited to 'Jellyfin.Api/Controllers/DisplayPreferencesController.cs')
| -rw-r--r-- | Jellyfin.Api/Controllers/DisplayPreferencesController.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Jellyfin.Api/Controllers/DisplayPreferencesController.cs b/Jellyfin.Api/Controllers/DisplayPreferencesController.cs index 61d40a7268..c1287fe3f4 100644 --- a/Jellyfin.Api/Controllers/DisplayPreferencesController.cs +++ b/Jellyfin.Api/Controllers/DisplayPreferencesController.cs @@ -157,13 +157,13 @@ public class DisplayPreferencesController : BaseJellyfinApiController existingDisplayPreferences.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) |
