aboutsummaryrefslogtreecommitdiff
path: root/Emby.Server.Implementations
diff options
context:
space:
mode:
authorLuke Pulverenti <luke.pulverenti@gmail.com>2017-09-13 14:41:48 -0400
committerLuke Pulverenti <luke.pulverenti@gmail.com>2017-09-13 14:41:48 -0400
commit38fe239f4490eb4bf839e9b872f7d9c8172decf9 (patch)
tree8637dc9f758d709259d405109472b5c78d5b5472 /Emby.Server.Implementations
parentca1ab81d3c9993542276f58b435a308c4590434c (diff)
3.2.30.19
Diffstat (limited to 'Emby.Server.Implementations')
-rw-r--r--Emby.Server.Implementations/Channels/ChannelManager.cs4
-rw-r--r--Emby.Server.Implementations/LiveTv/LiveTvManager.cs5
-rw-r--r--Emby.Server.Implementations/LiveTv/LiveTvMediaSourceProvider.cs2
3 files changed, 11 insertions, 0 deletions
diff --git a/Emby.Server.Implementations/Channels/ChannelManager.cs b/Emby.Server.Implementations/Channels/ChannelManager.cs
index 2f726f8ab..d3950929d 100644
--- a/Emby.Server.Implementations/Channels/ChannelManager.cs
+++ b/Emby.Server.Implementations/Channels/ChannelManager.cs
@@ -426,6 +426,8 @@ namespace Emby.Server.Implementations.Channels
item.Name = channelInfo.Name;
}
+ item.OnMetadataChanged();
+
if (isNew)
{
_libraryManager.CreateItem(item, cancellationToken);
@@ -1384,6 +1386,8 @@ namespace Emby.Server.Implementations.Channels
item.SetImagePath(ImageType.Primary, info.ImageUrl);
}
+ item.OnMetadataChanged();
+
if (isNew)
{
_libraryManager.CreateItem(item, cancellationToken);
diff --git a/Emby.Server.Implementations/LiveTv/LiveTvManager.cs b/Emby.Server.Implementations/LiveTv/LiveTvManager.cs
index dc212492e..870a3b493 100644
--- a/Emby.Server.Implementations/LiveTv/LiveTvManager.cs
+++ b/Emby.Server.Implementations/LiveTv/LiveTvManager.cs
@@ -752,6 +752,11 @@ namespace Emby.Server.Implementations.LiveTv
}
}
+ if (isNew || isUpdated)
+ {
+ item.OnMetadataChanged();
+ }
+
return new Tuple<LiveTvProgram, bool, bool>(item, isNew, isUpdated);
}
diff --git a/Emby.Server.Implementations/LiveTv/LiveTvMediaSourceProvider.cs b/Emby.Server.Implementations/LiveTv/LiveTvMediaSourceProvider.cs
index 0e52f874d..62906f5d4 100644
--- a/Emby.Server.Implementations/LiveTv/LiveTvMediaSourceProvider.cs
+++ b/Emby.Server.Implementations/LiveTv/LiveTvMediaSourceProvider.cs
@@ -142,6 +142,8 @@ namespace Emby.Server.Implementations.LiveTv
var info = await _liveTvManager.GetChannelStream(keys[1], mediaSourceId, cancellationToken).ConfigureAwait(false);
stream = info.Item1;
directStreamProvider = info.Item2;
+
+ allowLiveStreamProbe = false;
}
else
{