Browse Source

updated nuget for live tv

Luke Pulverenti 11 years ago
parent
commit
77e01e2461

+ 8 - 2
MediaBrowser.Controller/LiveTv/ProgramInfo.cs

@@ -1,6 +1,6 @@
-using System;
+using MediaBrowser.Model.LiveTv;
+using System;
 using System.Collections.Generic;
-using MediaBrowser.Model.LiveTv;
 
 namespace MediaBrowser.Controller.LiveTv
 {
@@ -65,6 +65,12 @@ namespace MediaBrowser.Controller.LiveTv
         /// </summary>
         /// <value>The audio.</value>
         public ProgramAudio Audio { get; set; }
+
+        /// <summary>
+        /// Gets or sets the community rating.
+        /// </summary>
+        /// <value>The community rating.</value>
+        public float? CommunityRating { get; set; }
         
         public ProgramInfo()
         {

+ 6 - 0
MediaBrowser.Model/LiveTv/ProgramInfoDto.cs

@@ -22,6 +22,12 @@ namespace MediaBrowser.Model.LiveTv
         /// <value>The channel identifier.</value>
         public string ChannelId { get; set; }
 
+        /// <summary>
+        /// Gets or sets the community rating.
+        /// </summary>
+        /// <value>The community rating.</value>
+        public float? CommunityRating { get; set; }
+        
         /// <summary>
         /// Gets or sets the recording identifier.
         /// </summary>

+ 2 - 1
MediaBrowser.Server.Implementations/LiveTv/LiveTvManager.cs

@@ -209,7 +209,8 @@ namespace MediaBrowser.Server.Implementations.LiveTv
                 OfficialRating = program.OfficialRating,
                 Quality = program.Quality,
                 OriginalAirDate = program.OriginalAirDate,
-                Audio = program.Audio
+                Audio = program.Audio,
+                CommunityRating = program.CommunityRating
             };
         }
 

+ 2 - 2
Nuget/MediaBrowser.Common.Internal.nuspec

@@ -2,7 +2,7 @@
 <package xmlns="http://schemas.microsoft.com/packaging/2011/08/nuspec.xsd">
     <metadata>
         <id>MediaBrowser.Common.Internal</id>
-        <version>3.0.249</version>
+        <version>3.0.250</version>
         <title>MediaBrowser.Common.Internal</title>
         <authors>Luke</authors>
         <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>
         <copyright>Copyright © Media Browser 2013</copyright>
         <dependencies>
-            <dependency id="MediaBrowser.Common" version="3.0.249" />
+            <dependency id="MediaBrowser.Common" version="3.0.250" />
             <dependency id="NLog" version="2.1.0" />
             <dependency id="ServiceStack.Text" version="3.9.58" />
             <dependency id="SimpleInjector" version="2.3.6" />

+ 1 - 1
Nuget/MediaBrowser.Common.nuspec

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

+ 2 - 2
Nuget/MediaBrowser.Server.Core.nuspec

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