浏览代码

updated 3d tag to match mcm

Luke Pulverenti 12 年之前
父节点
当前提交
02bb0fb20f

+ 1 - 1
MediaBrowser.Controller/Providers/BaseItemXmlParser.cs

@@ -586,7 +586,7 @@ namespace MediaBrowser.Controller.Providers
                 {
                     switch (reader.Name)
                     {
-                        case "Video3DFormat":
+                        case "Format3D":
                             {
                                 var video = item as Video;
 

+ 4 - 4
MediaBrowser.Providers/Savers/XmlSaverHelpers.cs

@@ -453,16 +453,16 @@ namespace MediaBrowser.Providers.Savers
                         switch (video.Video3DFormat.Value)
                         {
                             case Video3DFormat.FullSideBySide:
-                                builder.Append("<Video3DFormat>FSBS</3DFormat>");
+                                builder.Append("<Format3D>FSBS</Format3D>");
                                 break;
                             case Video3DFormat.FullTopAndBottom:
-                                builder.Append("<Video3DFormat>FTAB</3DFormat>");
+                                builder.Append("<Format3D>FTAB</Format3D>");
                                 break;
                             case Video3DFormat.HalfSideBySide:
-                                builder.Append("<Video3DFormat>HSBS</3DFormat>");
+                                builder.Append("<Format3D>HSBS</Format3D>");
                                 break;
                             case Video3DFormat.HalfTopAndBottom:
-                                builder.Append("<Video3DFormat>HTAB</3DFormat>");
+                                builder.Append("<Format3D>HTAB</Format3D>");
                                 break;
                         }
                     }