The Free Software Media System - Server Backend & API
updated nuget
Luke Pulverenti787f5e8382af
diff --git a/MediaBrowser.Model/ApiClient/IApiClient.cs b/MediaBrowser.Model/ApiClient/IApiClient.csindex 91ac67a1f7..8de54f34a9 100644--- a/MediaBrowser.Model/ApiClient/IApiClient.cs+++ b/MediaBrowser.Model/ApiClient/IApiClient.cs@@ -1030,7 +1030,7 @@ namespace MediaBrowser.Model.ApiClient/// <param name="timer">The timer.</param>/// <param name="cancellationToken">The cancellation token.</param>/// <returns>Task.</returns>- Task CreateLiveTvTimerAsync(TimerInfoDto timer, CancellationToken cancellationToken);+ Task CreateLiveTvTimerAsync(BaseTimerInfoDto timer, CancellationToken cancellationToken);/// <summary>/// Updates the live tv timer asynchronous.diff --git a/MediaBrowser.Model/Configuration/DlnaOptions.cs b/MediaBrowser.Model/Configuration/DlnaOptions.csindex 893e377faf..b6398239fa 100644--- a/MediaBrowser.Model/Configuration/DlnaOptions.cs+++ b/MediaBrowser.Model/Configuration/DlnaOptions.cs@@ -10,7 +10,7 @@ namespace MediaBrowser.Model.Configurationpublic DlnaOptions(){EnablePlayTo = true;- ClientDiscoveryIntervalSeconds = 30;+ ClientDiscoveryIntervalSeconds = 60;}}}diff --git a/MediaBrowser.Model/LiveTv/SeriesTimerInfoDto.cs b/MediaBrowser.Model/LiveTv/SeriesTimerInfoDto.csindex 0198cc3995..393233c1bf 100644--- a/MediaBrowser.Model/LiveTv/SeriesTimerInfoDto.cs+++ b/MediaBrowser.Model/LiveTv/SeriesTimerInfoDto.cs@@ -1,80 +1,14 @@-using System;+using MediaBrowser.Model.Entities;+using System;using System.Collections.Generic;-using System.ComponentModel;using System.Diagnostics;using System.Runtime.Serialization;-using MediaBrowser.Model.Entities;namespace MediaBrowser.Model.LiveTv{[DebuggerDisplay("Name = {Name}")]- public class SeriesTimerInfoDto : INotifyPropertyChanged+ public class SeriesTimerInfoDto : BaseTimerInfoDto{- /// <summary>- /// Id of the recording.- /// </summary>- public string Id { get; set; }-- /// <summary>- /// Gets or sets the external identifier.- /// </summary>- /// <value>The external identifier.</value>- public string ExternalId { get; set; }-- /// <summary>- /// ChannelId of the recording.- /// </summary>- public string ChannelId { get; set; }-- /// <summary>- /// Gets or sets the name of the service.- /// </summary>- /// <value>The name of the service.</value>- public string ServiceName { get; set; }-- /// <summary>- /// Gets or sets the external channel identifier.- /// </summary>- /// <value>The external channel identifier.</value>- public string ExternalChannelId { get; set; }-- /// <summary>- /// ChannelName of the recording.- /// </summary>- public string ChannelName { get; set; }-- /// <summary>- /// Gets or sets the program identifier.- /// </summary>- /// <value>The program identifier.</value>- public string ProgramId { get; set; }-- /// <summary>- /// Gets or sets the external program identifier.- /// </summary>- /// <value>The external program identifier.</value>- public string ExternalProgramId { get; set; }-- /// <summary>- /// Name of the recording.- /// </summary>- public string Name { get; set; }-- /// <summary>- /// Description of the recording.- /// </summary>- public string Overview { get; set; }-- /// <summary>- /// The start date of the recording, in UTC.- /// </summary>- public DateTime StartDate { get; set; }-- /// <summary>- /// The end date of the recording, in UTC.- /// </summary>- public DateTime EndDate { get; set; }-/// <summary>/// Gets or sets a value indicating whether [record any time]./// </summary>@@ -105,36 +39,6 @@ namespace MediaBrowser.Model.LiveTv/// <value>The day pattern.</value>public DayPattern? DayPattern { get; set; }- /// <summary>- /// Gets or sets the priority.- /// </summary>- /// <value>The priority.</value>- public int Priority { get; set; }-- /// <summary>- /// Gets or sets the pre padding seconds.- /// </summary>- /// <value>The pre padding seconds.</value>- public int PrePaddingSeconds { get; set; }-- /// <summary>- /// Gets or sets the post padding seconds.- /// </summary>- /// <value>The post padding seconds.</value>- public int PostPaddingSeconds { get; set; }-- /// <summary>- /// Gets or sets a value indicating whether this instance is pre padding required.- /// </summary>- /// <value><c>true</c> if this instance is pre padding required; otherwise, <c>false</c>.</value>- public bool IsPrePaddingRequired { get; set; }-- /// <summary>- /// Gets or sets a value indicating whether this instance is post padding required.- /// </summary>- /// <value><c>true</c> if this instance is post padding required; otherwise, <c>false</c>.</value>- public bool IsPostPaddingRequired { get; set; }-/// <summary>/// Gets or sets the image tags./// </summary>@@ -156,7 +60,5 @@ namespace MediaBrowser.Model.LiveTvImageTags = new Dictionary<ImageType, Guid>();Days = new List<DayOfWeek>();}-- public event PropertyChangedEventHandler PropertyChanged;}}diff --git a/MediaBrowser.Model/LiveTv/TimerInfoDto.cs b/MediaBrowser.Model/LiveTv/TimerInfoDto.csindex a330f44d8e..137c957192 100644--- a/MediaBrowser.Model/LiveTv/TimerInfoDto.cs+++ b/MediaBrowser.Model/LiveTv/TimerInfoDto.cs@@ -3,8 +3,47 @@ using System.ComponentModel;namespace MediaBrowser.Model.LiveTv{- public class TimerInfoDto : INotifyPropertyChanged+ public class TimerInfoDto : BaseTimerInfoDto{+ /// <summary>+ /// Gets or sets the status.+ /// </summary>+ /// <value>The status.</value>+ public RecordingStatus Status { get; set; }++ /// <summary>+ /// Gets or sets the series timer identifier.+ /// </summary>+ /// <value>The series timer identifier.</value>+ public string SeriesTimerId { get; set; }++ /// <summary>+ /// Gets or sets the external series timer identifier.+ /// </summary>+ /// <value>The external series timer identifier.</value>+ public string ExternalSeriesTimerId { get; set; }++ /// <summary>+ /// Gets or sets the run time ticks.+ /// </summary>+ /// <value>The run time ticks.</value>+ public long? RunTimeTicks { get; set; }++ /// <summary>+ /// Gets or sets the program information.+ /// </summary>+ /// <value>The program information.</value>+ public ProgramInfoDto ProgramInfo { get; set; }++ }++ public class BaseTimerInfoDto : INotifyPropertyChanged+ {+ /// <summary>+ /// Occurs when a property value changes.+ /// </summary>+ public event PropertyChangedEventHandler PropertyChanged;+/// <summary>/// Id of the recording./// </summary>@@ -26,18 +65,12 @@ namespace MediaBrowser.Model.LiveTv/// </summary>/// <value>The external channel identifier.</value>public string ExternalChannelId { get; set; }-+/// <summary>/// ChannelName of the recording./// </summary>public string ChannelName { get; set; }- /// <summary>- /// Gets or sets the name of the service.- /// </summary>- /// <value>The name of the service.</value>- public string ServiceName { get; set; }-/// <summary>/// Gets or sets the program identifier./// </summary>@@ -49,7 +82,7 @@ namespace MediaBrowser.Model.LiveTv/// </summary>/// <value>The external program identifier.</value>public string ExternalProgramId { get; set; }-+/// <summary>/// Name of the recording./// </summary>@@ -71,22 +104,16 @@ namespace MediaBrowser.Model.LiveTvpublic DateTime EndDate { get; set; }/// <summary>- /// Gets or sets the status.- /// </summary>- /// <value>The status.</value>- public RecordingStatus Status { get; set; }-- /// <summary>- /// Gets or sets the series timer identifier.+ /// Gets or sets the name of the service./// </summary>- /// <value>The series timer identifier.</value>- public string SeriesTimerId { get; set; }+ /// <value>The name of the service.</value>+ public string ServiceName { get; set; }/// <summary>- /// Gets or sets the external series timer identifier.+ /// Gets or sets the priority./// </summary>- /// <value>The external series timer identifier.</value>- public string ExternalSeriesTimerId { get; set; }+ /// <value>The priority.</value>+ public int Priority { get; set; }/// <summary>/// Gets or sets the pre padding seconds.@@ -111,28 +138,5 @@ namespace MediaBrowser.Model.LiveTv/// </summary>/// <value><c>true</c> if this instance is post padding required; otherwise, <c>false</c>.</value>public bool IsPostPaddingRequired { get; set; }-- /// <summary>- /// Gets or sets the run time ticks.- /// </summary>- /// <value>The run time ticks.</value>- public long? RunTimeTicks { get; set; }-- /// <summary>- /// Gets or sets the priority.- /// </summary>- /// <value>The priority.</value>- public int Priority { get; set; }-- /// <summary>- /// Gets or sets the program information.- /// </summary>- /// <value>The program information.</value>- public ProgramInfoDto ProgramInfo { get; set; }-- /// <summary>- /// Occurs when a property value changes.- /// </summary>- public event PropertyChangedEventHandler PropertyChanged;}}diff --git a/Nuget/MediaBrowser.Common.Internal.nuspec b/Nuget/MediaBrowser.Common.Internal.nuspecindex 12219e81dc..c550b350c6 100644--- a/Nuget/MediaBrowser.Common.Internal.nuspec+++ b/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.343</version>+ <version>3.0.345</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.343" />+ <dependency id="MediaBrowser.Common" version="3.0.345" /><dependency id="NLog" version="2.1.0" /><dependency id="SimpleInjector" version="2.4.1" /><dependency id="sharpcompress" version="0.10.2" />diff --git a/Nuget/MediaBrowser.Common.nuspec b/Nuget/MediaBrowser.Common.nuspecindex 495dc3f2b8..a6fa5c152c 100644--- a/Nuget/MediaBrowser.Common.nuspec+++ b/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.343</version>+ <version>3.0.345</version><title>MediaBrowser.Common</title><authors>Media Browser Team</authors><owners>ebr,Luke,scottisafool</owners>diff --git a/Nuget/MediaBrowser.Server.Core.nuspec b/Nuget/MediaBrowser.Server.Core.nuspecindex 398adc2079..cc87b00300 100644--- a/Nuget/MediaBrowser.Server.Core.nuspec+++ b/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.343</version>+ <version>3.0.345</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.343" />+ <dependency id="MediaBrowser.Common" version="3.0.345" /></dependencies></metadata><files>