mirror of https://github.com/jellyfin/jellyfin.git
Add targetSystem to PackageInfo
This commit is contained in:
parent
9363281fb6
commit
8adfb36f4c
|
@ -85,6 +85,7 @@
|
||||||
<Compile Include="Serialization\IProtobufSerializer.cs" />
|
<Compile Include="Serialization\IProtobufSerializer.cs" />
|
||||||
<Compile Include="Serialization\IXmlSerializer.cs" />
|
<Compile Include="Serialization\IXmlSerializer.cs" />
|
||||||
<Compile Include="Updates\CheckForUpdateResult.cs" />
|
<Compile Include="Updates\CheckForUpdateResult.cs" />
|
||||||
|
<Compile Include="Updates\PackageTargetSystem.cs" />
|
||||||
<Compile Include="Updates\InstallationInfo.cs" />
|
<Compile Include="Updates\InstallationInfo.cs" />
|
||||||
<Compile Include="Updates\PackageType.cs" />
|
<Compile Include="Updates\PackageType.cs" />
|
||||||
<Compile Include="Updates\PackageVersionClass.cs" />
|
<Compile Include="Updates\PackageVersionClass.cs" />
|
||||||
|
|
|
@ -115,25 +115,32 @@ namespace MediaBrowser.Model.Updates
|
||||||
[ProtoMember(15)]
|
[ProtoMember(15)]
|
||||||
public float price { get; set; }
|
public float price { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Gets or sets the target system for this plug-in (Server, MBTheater, MBClassic).
|
||||||
|
/// </summary>
|
||||||
|
/// <value>The target system.</value>
|
||||||
|
[ProtoMember(16)]
|
||||||
|
public PackageTargetSystem targetSystem { get; set; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Gets or sets whether or not this package is registered.
|
/// Gets or sets whether or not this package is registered.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <value>True if registered.</value>
|
/// <value>True if registered.</value>
|
||||||
[ProtoMember(16)]
|
[ProtoMember(17)]
|
||||||
public bool isRegistered { get; set; }
|
public bool isRegistered { get; set; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Gets or sets the expiration date for this package.
|
/// Gets or sets the expiration date for this package.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <value>Expiration Date.</value>
|
/// <value>Expiration Date.</value>
|
||||||
[ProtoMember(17)]
|
[ProtoMember(18)]
|
||||||
public DateTime expDate { get; set; }
|
public DateTime expDate { get; set; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Gets or sets the versions.
|
/// Gets or sets the versions.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <value>The versions.</value>
|
/// <value>The versions.</value>
|
||||||
[ProtoMember(18)]
|
[ProtoMember(19)]
|
||||||
public List<PackageVersionInfo> versions { get; set; }
|
public List<PackageVersionInfo> versions { get; set; }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -0,0 +1,21 @@
|
||||||
|
namespace MediaBrowser.Model.Updates
|
||||||
|
{
|
||||||
|
/// <summary>
|
||||||
|
/// Enum PackageType
|
||||||
|
/// </summary>
|
||||||
|
public enum PackageTargetSystem
|
||||||
|
{
|
||||||
|
/// <summary>
|
||||||
|
/// Server
|
||||||
|
/// </summary>
|
||||||
|
Server,
|
||||||
|
/// <summary>
|
||||||
|
/// MB Theater
|
||||||
|
/// </summary>
|
||||||
|
MBTheater,
|
||||||
|
/// <summary>
|
||||||
|
/// MB Classic
|
||||||
|
/// </summary>
|
||||||
|
MBClassic
|
||||||
|
}
|
||||||
|
}
|
|
@ -205,7 +205,4 @@ Global
|
||||||
GlobalSection(SolutionProperties) = preSolution
|
GlobalSection(SolutionProperties) = preSolution
|
||||||
HideSolutionNode = FALSE
|
HideSolutionNode = FALSE
|
||||||
EndGlobalSection
|
EndGlobalSection
|
||||||
GlobalSection(Performance) = preSolution
|
|
||||||
HasPerformanceSessions = true
|
|
||||||
EndGlobalSection
|
|
||||||
EndGlobal
|
EndGlobal
|
||||||
|
|
Loading…
Reference in New Issue