diff --git a/MediaBrowser.Model/Dto/BaseItemDto.cs b/MediaBrowser.Model/Dto/BaseItemDto.cs
index 8f617cadfb..7928d0bf94 100644
--- a/MediaBrowser.Model/Dto/BaseItemDto.cs
+++ b/MediaBrowser.Model/Dto/BaseItemDto.cs
@@ -290,6 +290,12 @@ namespace MediaBrowser.Model.Dto
/// null if [is place holder] contains no value, true if [is place holder]; otherwise, false.
public bool? IsPlaceHolder { get; set; }
+ ///
+ /// Gets or sets the number.
+ ///
+ /// The number.
+ public string Number { get; set; }
+
///
/// Gets or sets the index number.
///
diff --git a/MediaBrowser.Server.Implementations/LiveTv/EmbyTV/EmbyTV.cs b/MediaBrowser.Server.Implementations/LiveTv/EmbyTV/EmbyTV.cs
index 7e55d77d7a..75186c1e1a 100644
--- a/MediaBrowser.Server.Implementations/LiveTv/EmbyTV/EmbyTV.cs
+++ b/MediaBrowser.Server.Implementations/LiveTv/EmbyTV/EmbyTV.cs
@@ -314,6 +314,10 @@ namespace MediaBrowser.Server.Implementations.LiveTv.EmbyTV
{
}
+ catch (Exception ex)
+ {
+ _logger.ErrorException("Error deleting recording file {0}", ex, remove.Path);
+ }
}
_recordingProvider.Delete(remove);
}
@@ -525,7 +529,7 @@ namespace MediaBrowser.Server.Implementations.LiveTv.EmbyTV
}
_logger.Debug("Getting programs for channel {0}-{1} from {2}-{3}", channel.Number, channel.Name, provider.Item1.Name, provider.Item2.ListingsId ?? string.Empty);
-
+
var programs = await provider.Item1.GetProgramsAsync(provider.Item2, channel.Number, channel.Name, startDateUtc, endDateUtc, cancellationToken)
.ConfigureAwait(false);
diff --git a/MediaBrowser.Server.Implementations/LiveTv/LiveTvManager.cs b/MediaBrowser.Server.Implementations/LiveTv/LiveTvManager.cs
index 6c00d61f29..08b0256b23 100644
--- a/MediaBrowser.Server.Implementations/LiveTv/LiveTvManager.cs
+++ b/MediaBrowser.Server.Implementations/LiveTv/LiveTvManager.cs
@@ -1845,6 +1845,10 @@ namespace MediaBrowser.Server.Implementations.LiveTv
var dto = tuple.Item1;
var channel = tuple.Item2;
+ dto.Number = channel.Number;
+ dto.ChannelType = channel.ChannelType;
+ dto.ServiceName = GetService(channel).Name;
+
dto.MediaSources = channel.GetMediaSources(true).ToList();
var channelIdString = channel.Id.ToString("N");