mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-07-10 08:13:20 +01:00
isolated bdinfo dependancy
This commit is contained in:
@@ -45,6 +45,7 @@
|
||||
<Compile Include="Entities\BaseItemInfo.cs" />
|
||||
<Compile Include="Connectivity\ClientConnectionInfo.cs" />
|
||||
<Compile Include="Connectivity\ClientType.cs" />
|
||||
<Compile Include="MediaInfo\BlurayDiscInfo.cs" />
|
||||
<Compile Include="Entities\ChapterInfo.cs" />
|
||||
<Compile Include="Entities\LocationType.cs" />
|
||||
<Compile Include="Entities\MBRegistrationRecord.cs" />
|
||||
@@ -67,6 +68,7 @@
|
||||
<Compile Include="IO\IZipClient.cs" />
|
||||
<Compile Include="Logging\ILogger.cs" />
|
||||
<Compile Include="Logging\LogSeverity.cs" />
|
||||
<Compile Include="MediaInfo\IBlurayExaminer.cs" />
|
||||
<Compile Include="Net\HttpException.cs" />
|
||||
<Compile Include="Updates\InstallationInfo.cs" />
|
||||
<Compile Include="Updates\PackageType.cs" />
|
||||
|
||||
41
MediaBrowser.Model/MediaInfo/BlurayDiscInfo.cs
Normal file
41
MediaBrowser.Model/MediaInfo/BlurayDiscInfo.cs
Normal file
@@ -0,0 +1,41 @@
|
||||
using MediaBrowser.Model.Entities;
|
||||
using ProtoBuf;
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace MediaBrowser.Model.MediaInfo
|
||||
{
|
||||
/// <summary>
|
||||
/// Represents the result of BDInfo output
|
||||
/// </summary>
|
||||
[ProtoContract]
|
||||
public class BlurayDiscInfo
|
||||
{
|
||||
/// <summary>
|
||||
/// Gets or sets the media streams.
|
||||
/// </summary>
|
||||
/// <value>The media streams.</value>
|
||||
[ProtoMember(1)]
|
||||
public List<MediaStream> MediaStreams { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets the run time ticks.
|
||||
/// </summary>
|
||||
/// <value>The run time ticks.</value>
|
||||
[ProtoMember(2)]
|
||||
public long? RunTimeTicks { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets the files.
|
||||
/// </summary>
|
||||
/// <value>The files.</value>
|
||||
[ProtoMember(3)]
|
||||
public List<string> Files { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets the chapters.
|
||||
/// </summary>
|
||||
/// <value>The chapters.</value>
|
||||
[ProtoMember(4)]
|
||||
public List<double> Chapters { get; set; }
|
||||
}
|
||||
}
|
||||
16
MediaBrowser.Model/MediaInfo/IBlurayExaminer.cs
Normal file
16
MediaBrowser.Model/MediaInfo/IBlurayExaminer.cs
Normal file
@@ -0,0 +1,16 @@
|
||||
|
||||
namespace MediaBrowser.Model.MediaInfo
|
||||
{
|
||||
/// <summary>
|
||||
/// Interface IBlurayExaminer
|
||||
/// </summary>
|
||||
public interface IBlurayExaminer
|
||||
{
|
||||
/// <summary>
|
||||
/// Gets the disc info.
|
||||
/// </summary>
|
||||
/// <param name="path">The path.</param>
|
||||
/// <returns>BlurayDiscInfo.</returns>
|
||||
BlurayDiscInfo GetDiscInfo(string path);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user