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.VideoType = video.VideoType;
dto.Video3DFormat = video.Video3DFormat; dto.Video3DFormat = video.Video3DFormat;
dto.IsoType = video.IsoType; dto.IsoType = video.IsoType;
dto.MainFeaturePlaylistName = video.MainFeaturePlaylistName;
dto.PartCount = video.AdditionalPartIds.Count + 1; dto.PartCount = video.AdditionalPartIds.Count + 1;

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -2,7 +2,7 @@
<package xmlns="http://schemas.microsoft.com/packaging/2011/08/nuspec.xsd"> <package xmlns="http://schemas.microsoft.com/packaging/2011/08/nuspec.xsd">
<metadata> <metadata>
<id>MediaBrowser.Common.Internal</id> <id>MediaBrowser.Common.Internal</id>
<version>3.0.190</version> <version>3.0.191</version>
<title>MediaBrowser.Common.Internal</title> <title>MediaBrowser.Common.Internal</title>
<authors>Luke</authors> <authors>Luke</authors>
<owners>ebr,Luke,scottisafool</owners> <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> <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> <copyright>Copyright © Media Browser 2013</copyright>
<dependencies> <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="NLog" version="2.0.1.2" />
<dependency id="ServiceStack.Text" version="3.9.55" /> <dependency id="ServiceStack.Text" version="3.9.55" />
<dependency id="SimpleInjector" version="2.3.0" /> <dependency id="SimpleInjector" version="2.3.0" />

View File

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

View File

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