record bluray playlist file name

This commit is contained in:
Luke Pulverenti 2013-09-01 21:35:57 -04:00
parent b828af0a0a
commit f0542f69bc
9 changed files with 16 additions and 5 deletions

View File

@ -483,6 +483,7 @@ namespace MediaBrowser.Controller.Dto
dto.VideoType = video.VideoType;
dto.Video3DFormat = video.Video3DFormat;
dto.IsoType = video.IsoType;
dto.MainFeaturePlaylistName = video.MainFeaturePlaylistName;
dto.PartCount = video.AdditionalPartIds.Count + 1;

View File

@ -95,6 +95,8 @@ namespace MediaBrowser.Controller.Entities
}
}
public string MainFeaturePlaylistName { get; set; }
/// <summary>
/// Gets the playable stream files.
/// </summary>

View File

@ -36,6 +36,8 @@ namespace MediaBrowser.Model.Dto
/// <value>The name of the sort.</value>
public string SortName { get; set; }
public string MainFeaturePlaylistName { get; set; }
/// <summary>
/// Gets or sets the video3 D format.
/// </summary>

View File

@ -26,6 +26,8 @@ namespace MediaBrowser.Model.MediaInfo
/// <value>The files.</value>
public List<string> Files { get; set; }
public string PlaylistName { get; set; }
/// <summary>
/// Gets or sets the chapters.
/// </summary>

View File

@ -566,6 +566,8 @@ namespace MediaBrowser.Providers.MediaInfo
video.MediaStreams = stream.MediaStreams;
video.MainFeaturePlaylistName = stream.PlaylistName;
if (stream.RunTimeTicks.HasValue && stream.RunTimeTicks.Value > 0)
{
video.RunTimeTicks = stream.RunTimeTicks;

View File

@ -78,6 +78,8 @@ namespace MediaBrowser.Server.Implementations.BdInfo
outputStream.MediaStreams = mediaStreams;
outputStream.PlaylistName = playlist.Name;
if (playlist.StreamClips != null && playlist.StreamClips.Any())
{
// Get the files in the playlist

View File

@ -2,7 +2,7 @@
<package xmlns="http://schemas.microsoft.com/packaging/2011/08/nuspec.xsd">
<metadata>
<id>MediaBrowser.Common.Internal</id>
<version>3.0.190</version>
<version>3.0.191</version>
<title>MediaBrowser.Common.Internal</title>
<authors>Luke</authors>
<owners>ebr,Luke,scottisafool</owners>
@ -12,7 +12,7 @@
<description>Contains common components shared by Media Browser Theater and Media Browser Server. Not intended for plugin developer consumption.</description>
<copyright>Copyright © Media Browser 2013</copyright>
<dependencies>
<dependency id="MediaBrowser.Common" version="3.0.190" />
<dependency id="MediaBrowser.Common" version="3.0.191" />
<dependency id="NLog" version="2.0.1.2" />
<dependency id="ServiceStack.Text" version="3.9.55" />
<dependency id="SimpleInjector" version="2.3.0" />

View File

@ -2,7 +2,7 @@
<package xmlns="http://schemas.microsoft.com/packaging/2011/08/nuspec.xsd">
<metadata>
<id>MediaBrowser.Common</id>
<version>3.0.190</version>
<version>3.0.191</version>
<title>MediaBrowser.Common</title>
<authors>Media Browser Team</authors>
<owners>ebr,Luke,scottisafool</owners>

View File

@ -2,7 +2,7 @@
<package xmlns="http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd">
<metadata>
<id>MediaBrowser.Server.Core</id>
<version>3.0.190</version>
<version>3.0.191</version>
<title>Media Browser.Server.Core</title>
<authors>Media Browser Team</authors>
<owners>ebr,Luke,scottisafool</owners>
@ -12,7 +12,7 @@
<description>Contains core components required to build plugins for Media Browser Server.</description>
<copyright>Copyright © Media Browser 2013</copyright>
<dependencies>
<dependency id="MediaBrowser.Common" version="3.0.190" />
<dependency id="MediaBrowser.Common" version="3.0.191" />
</dependencies>
</metadata>
<files>