diff options
| author | crobibero <cody@robibe.ro> | 2020-11-09 14:57:02 -0700 |
|---|---|---|
| committer | crobibero <cody@robibe.ro> | 2020-11-09 14:57:02 -0700 |
| commit | 6748ba287d8cd9054072ce1ffc51c7aa8690e108 (patch) | |
| tree | 5b859fa356ef2f6abd5fb281ff5655ccf5fd3ebf /Jellyfin.Api/Controllers/DisplayPreferencesController.cs | |
| parent | f8e6edbfeb8c437c2ed0a9c9b44bed0fc105b2c2 (diff) | |
| parent | 296e534f670df9069e8cb50683a964ea2a5cdc37 (diff) | |
Merge remote-tracking branch 'upstream/master' into query-fields
Diffstat (limited to 'Jellyfin.Api/Controllers/DisplayPreferencesController.cs')
| -rw-r--r-- | Jellyfin.Api/Controllers/DisplayPreferencesController.cs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Jellyfin.Api/Controllers/DisplayPreferencesController.cs b/Jellyfin.Api/Controllers/DisplayPreferencesController.cs index 874467c75..76f5717e3 100644 --- a/Jellyfin.Api/Controllers/DisplayPreferencesController.cs +++ b/Jellyfin.Api/Controllers/DisplayPreferencesController.cs @@ -81,6 +81,9 @@ namespace Jellyfin.Api.Controllers dto.CustomPrefs["enableNextVideoInfoOverlay"] = displayPreferences.EnableNextVideoInfoOverlay.ToString(CultureInfo.InvariantCulture); dto.CustomPrefs["tvhome"] = displayPreferences.TvHome; + // This will essentially be a noop if no changes have been made, but new prefs must be saved at least. + _displayPreferencesManager.SaveChanges(); + return dto; } |
