You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
795 B
25 lines
795 B
using System;
|
|
using MediaBrowser.Common.Configuration;
|
|
using MediaBrowser.Model.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;
|
|
}
|
|
}
|
|
}
|