mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-05-28 03:18:27 +01:00
Merge pull request #3244 from jellyfin/custom-repos
Initial implementation for custom plugin repositories
This commit is contained in:
@@ -2,7 +2,9 @@
|
||||
#pragma warning disable CS1591
|
||||
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using MediaBrowser.Model.Dto;
|
||||
using MediaBrowser.Model.Updates;
|
||||
|
||||
namespace MediaBrowser.Model.Configuration
|
||||
{
|
||||
@@ -229,6 +231,8 @@ namespace MediaBrowser.Model.Configuration
|
||||
|
||||
public string[] CodecsUsed { get; set; }
|
||||
|
||||
public List<RepositoryInfo> PluginRepositories { get; set; }
|
||||
|
||||
public bool IgnoreVirtualInterfaces { get; set; }
|
||||
|
||||
public bool EnableExternalContentInSuggestions { get; set; }
|
||||
|
||||
23
MediaBrowser.Model/Updates/RepositoryInfo.cs
Normal file
23
MediaBrowser.Model/Updates/RepositoryInfo.cs
Normal file
@@ -0,0 +1,23 @@
|
||||
#nullable disable
|
||||
using System;
|
||||
|
||||
namespace MediaBrowser.Model.Updates
|
||||
{
|
||||
/// <summary>
|
||||
/// Class RepositoryInfo.
|
||||
/// </summary>
|
||||
public class RepositoryInfo
|
||||
{
|
||||
/// <summary>
|
||||
/// Gets or sets the name.
|
||||
/// </summary>
|
||||
/// <value>The name.</value>
|
||||
public string Name { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets the URL.
|
||||
/// </summary>
|
||||
/// <value>The URL.</value>
|
||||
public string Url { get; set; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user