Browse Source

Added back CustomPin (for now)

LukePulverenti Luke Pulverenti luke pulverenti 12 years ago
parent
commit
7ad612bb4b

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

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

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

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