diff --git a/MediaBrowser.Model/Entities/Video3DFormat.cs b/MediaBrowser.Model/Entities/Video3DFormat.cs index 04475cf95a..064b02eddb 100644 --- a/MediaBrowser.Model/Entities/Video3DFormat.cs +++ b/MediaBrowser.Model/Entities/Video3DFormat.cs @@ -4,11 +4,8 @@ namespace MediaBrowser.Model.Entities public enum Video3DFormat { HalfSideBySide, - FullSideBySide, - FullTopAndBottom, - HalfTopAndBottom } } diff --git a/MediaBrowser.Providers/Savers/XmlSaverHelpers.cs b/MediaBrowser.Providers/Savers/XmlSaverHelpers.cs index 2ceb82d712..e6776af26d 100644 --- a/MediaBrowser.Providers/Savers/XmlSaverHelpers.cs +++ b/MediaBrowser.Providers/Savers/XmlSaverHelpers.cs @@ -425,6 +425,27 @@ namespace MediaBrowser.Providers.Savers builder.Append("" + SecurityElement.Escape(stream.IsDefault.ToString()) + ""); builder.Append("" + SecurityElement.Escape(stream.IsForced.ToString()) + ""); + var video = item as Video; + + if (video != null && video.Video3DFormat.HasValue) + { + switch (video.Video3DFormat.Value) + { + case Video3DFormat.FullSideBySide: + builder.Append("<3DFormat>FSBS"); + break; + case Video3DFormat.FullTopAndBottom: + builder.Append("<3DFormat>FTAB"); + break; + case Video3DFormat.HalfSideBySide: + builder.Append("<3DFormat>HSBS"); + break; + case Video3DFormat.HalfTopAndBottom: + builder.Append("<3DFormat>HTAB"); + break; + } + } + builder.Append(""); } else if (stream.Type == MediaStreamType.Audio)