aboutsummaryrefslogtreecommitdiff
path: root/Emby.Server.Implementations/Channels/ChannelManager.cs
diff options
context:
space:
mode:
authorAnthony Lavado <anthonylavado@users.noreply.github.com>2019-01-02 14:02:48 -0500
committerGitHub <noreply@github.com>2019-01-02 14:02:48 -0500
commita06a5c8d18badb73df64cb09a3ab677922379823 (patch)
tree3ae3c19fc2bb822a81c57f948043c67ea68dbd95 /Emby.Server.Implementations/Channels/ChannelManager.cs
parente12888c2c5288ab2e313d74b6fad01a82720f4e2 (diff)
parent0cafd7dfefe07bf8e1d997c384561707e1b22c6a (diff)
Merge branch 'dev' into project-updates
Diffstat (limited to 'Emby.Server.Implementations/Channels/ChannelManager.cs')
-rw-r--r--Emby.Server.Implementations/Channels/ChannelManager.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/Emby.Server.Implementations/Channels/ChannelManager.cs b/Emby.Server.Implementations/Channels/ChannelManager.cs
index 00da46f30..c2160d338 100644
--- a/Emby.Server.Implementations/Channels/ChannelManager.cs
+++ b/Emby.Server.Implementations/Channels/ChannelManager.cs
@@ -901,8 +901,8 @@ namespace Emby.Server.Implementations.Channels
private T GetItemById<T>(string idString, string channelName, out bool isNew)
where T : BaseItem, new()
{
- var id = GetIdToHash(idString, channelName).GetMBId(typeof(T));
-
+ var id = _libraryManager.GetNewItemId(GetIdToHash(idString, channelName), typeof(T));
+
T item = null;
try