Save new display preferences

This commit is contained in:
cvium 2020-11-02 09:23:29 +01:00
parent 5b1eb8b6e2
commit 19d77c99ae
2 changed files with 9 additions and 0 deletions

View file

@ -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;
}