using MediaBrowser.Model.Plugins;
namespace MediaBrowser.Providers.Plugins.StudioImages.Configuration
{
///
/// Plugin configuration class for the studio image provider.
///
public class PluginConfiguration : BasePluginConfiguration
{
private string _repository = Plugin.DefaultServer;
///
/// Gets or sets the studio image repository URL.
///
public string RepositoryUrl
{
get
{
if (string.IsNullOrEmpty(_repository))
{
_repository = Plugin.DefaultServer;
}
return _repository;
}
set
{
_repository = string.IsNullOrEmpty(value)
? Plugin.DefaultServer
: value.TrimEnd('/');
}
}
}
}