diff options
| author | Luke Pulverenti <luke.pulverenti@gmail.com> | 2015-10-24 11:33:22 -0400 |
|---|---|---|
| committer | Luke Pulverenti <luke.pulverenti@gmail.com> | 2015-10-24 11:33:22 -0400 |
| commit | 9babddb2715b1fcc4a40043d7d9bddfeb958be20 (patch) | |
| tree | 36b36d8881899e52adefd6d29a0da4253c17abbf /MediaBrowser.Server.Implementations/LiveTv | |
| parent | b6f019b7f2d16d5c3ba4e51a4f7cd6f58b877c0a (diff) | |
update live tv cache location
Diffstat (limited to 'MediaBrowser.Server.Implementations/LiveTv')
| -rw-r--r-- | MediaBrowser.Server.Implementations/LiveTv/EmbyTV/EmbyTV.cs | 2 | ||||
| -rw-r--r-- | MediaBrowser.Server.Implementations/LiveTv/Listings/SchedulesDirect.cs | 3 |
2 files changed, 3 insertions, 2 deletions
diff --git a/MediaBrowser.Server.Implementations/LiveTv/EmbyTV/EmbyTV.cs b/MediaBrowser.Server.Implementations/LiveTv/EmbyTV/EmbyTV.cs index cdfe9ebef4..f4fd04f371 100644 --- a/MediaBrowser.Server.Implementations/LiveTv/EmbyTV/EmbyTV.cs +++ b/MediaBrowser.Server.Implementations/LiveTv/EmbyTV/EmbyTV.cs @@ -882,7 +882,7 @@ namespace MediaBrowser.Server.Implementations.LiveTv.EmbyTV private string GetChannelEpgCachePath(string channelId) { - return Path.Combine(DataPath, "epg", channelId + ".json"); + return Path.Combine(_config.CommonApplicationPaths.CachePath, "embytvepg", channelId + ".json"); } private readonly object _epgLock = new object(); diff --git a/MediaBrowser.Server.Implementations/LiveTv/Listings/SchedulesDirect.cs b/MediaBrowser.Server.Implementations/LiveTv/Listings/SchedulesDirect.cs index 65b920c90a..04f55d16b7 100644 --- a/MediaBrowser.Server.Implementations/LiveTv/Listings/SchedulesDirect.cs +++ b/MediaBrowser.Server.Implementations/LiveTv/Listings/SchedulesDirect.cs @@ -94,6 +94,7 @@ namespace MediaBrowser.Server.Implementations.LiveTv.Listings if (station == null) { + _logger.Info("No Schedules Direct Station found for channel {0} with name {1}", channelNumber, channelName); return programsInfo; } @@ -249,7 +250,7 @@ namespace MediaBrowser.Server.Implementations.LiveTv.Listings foreach (ChannelInfo channel in channels) { - var station = GetStation(channel.Number, channel.Number); + var station = GetStation(channel.Number, channel.Name); if (station != null) { |
