mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-06-08 00:39:25 +01:00
Added api methods to get movie special features
This commit is contained in:
parent
29cdf55e44
commit
f68137ec4a
@@ -160,6 +160,9 @@ namespace MediaBrowser.Model.DTO
|
||||
public SeriesInfo SeriesInfo { get; set; }
|
||||
|
||||
[ProtoMember(45)]
|
||||
public MovieInfo MovieInfo { get; set; }
|
||||
|
||||
[ProtoMember(46)]
|
||||
public bool IsNew { get; set; }
|
||||
|
||||
public bool IsType(Type type)
|
||||
|
||||
11
MediaBrowser.Model/DTO/MovieInfo.cs
Normal file
11
MediaBrowser.Model/DTO/MovieInfo.cs
Normal file
@@ -0,0 +1,11 @@
|
||||
using ProtoBuf;
|
||||
|
||||
namespace MediaBrowser.Model.DTO
|
||||
{
|
||||
[ProtoContract]
|
||||
public class MovieInfo
|
||||
{
|
||||
[ProtoMember(1)]
|
||||
public int SpecialFeatureCount { get; set; }
|
||||
}
|
||||
}
|
||||
@@ -37,6 +37,7 @@
|
||||
<Compile Include="DTO\AudioInfo.cs" />
|
||||
<Compile Include="DTO\AudioOutputFormats.cs" />
|
||||
<Compile Include="DTO\DTOUserItemData.cs" />
|
||||
<Compile Include="DTO\MovieInfo.cs" />
|
||||
<Compile Include="DTO\SeriesInfo.cs" />
|
||||
<Compile Include="Authentication\AuthenticationResult.cs" />
|
||||
<Compile Include="DTO\DTOBaseItem.cs" />
|
||||
|
||||
Reference in New Issue
Block a user