mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-09-29 15:31:04 -04:00
Fix StudioImageProvider (cherry picked from commit 5de2db9f5294d7a614d00ff6a6fc1dc0a2919c57) Signed-off-by: crobibero <cody@robibe.ro>
32 lines
749 B
C#
32 lines
749 B
C#
#pragma warning disable CS1591
|
|
|
|
using MediaBrowser.Model.Plugins;
|
|
|
|
namespace MediaBrowser.Providers.Plugins.StudioImages.Configuration
|
|
{
|
|
public class PluginConfiguration : BasePluginConfiguration
|
|
{
|
|
private string _repository = Plugin.DefaultServer;
|
|
|
|
public string RepositoryUrl
|
|
{
|
|
get
|
|
{
|
|
if (string.IsNullOrEmpty(_repository))
|
|
{
|
|
_repository = Plugin.DefaultServer;
|
|
}
|
|
|
|
return _repository;
|
|
}
|
|
|
|
set
|
|
{
|
|
_repository = string.IsNullOrEmpty(value)
|
|
? Plugin.DefaultServer
|
|
: value.TrimEnd('/');
|
|
}
|
|
}
|
|
}
|
|
}
|