mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-12-17 08:53:08 +01:00
27 lines
860 B
C#
27 lines
860 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
using MediaBrowser.Common.Configuration;
|
|
|
|
namespace MediaBrowser.Controller.Configuration
|
|
{
|
|
/// <summary>
|
|
/// Extends BaseConfigurationController by adding methods to get and set UIConfiguration data
|
|
/// </summary>
|
|
public class ServerConfigurationController : ConfigurationController<ServerConfiguration>
|
|
{
|
|
private string GetDictionaryKey(Guid userId, string deviceName)
|
|
{
|
|
string guidString = userId == Guid.Empty ? string.Empty : userId.ToString();
|
|
|
|
return deviceName + "-" + guidString;
|
|
}
|
|
|
|
public UserConfiguration GetUserConfiguration(Guid userId)
|
|
{
|
|
return Configuration.DefaultUserConfiguration;
|
|
}
|
|
}
|
|
}
|