فهرست منبع

Added back CustomPin (for now)

LukePulverenti Luke Pulverenti luke pulverenti 12 سال پیش
والد
کامیت
7ad612bb4b
2فایلهای تغییر یافته به همراه5 افزوده شده و 0 حذف شده
  1. 4 0
      MediaBrowser.Controller/Xml/BaseItemXmlParser.cs
  2. 1 0
      MediaBrowser.Model/Entities/BaseItem.cs

+ 4 - 0
MediaBrowser.Controller/Xml/BaseItemXmlParser.cs

@@ -117,6 +117,10 @@ namespace MediaBrowser.Controller.Xml
                     item.CustomRating = reader.ReadElementContentAsString();
                     break;
 
+                case "CustomPin":
+                    item.CustomPin = reader.ReadElementContentAsString();
+                    break;
+
                 case "Runtime":
                 case "RunningTime":
                     {

+ 1 - 0
MediaBrowser.Model/Entities/BaseItem.cs

@@ -30,6 +30,7 @@ namespace MediaBrowser.Model.Entities
         public string OfficialRating { get; set; }
         
         public string CustomRating { get; set; }
+        public string CustomPin { get; set; }
 
         public string Language { get; set; }
         public string Overview { get; set; }