aboutsummaryrefslogtreecommitdiff
path: root/Emby.Server.Implementations/Channels/ChannelManager.cs
diff options
context:
space:
mode:
authorBond_009 <bond.009@outlook.com>2019-01-02 12:14:31 +0100
committerVasily <JustAMan@users.noreply.github.com>2019-01-02 17:58:44 +0300
commit3a65fb1da2009df246ae6f1252d44d24e882e554 (patch)
tree6119f2818c78b9c60a889650637197536ba40c9a /Emby.Server.Implementations/Channels/ChannelManager.cs
parentf3030812ea8f79d4878a158695df0eb8a741b1e7 (diff)
Remove obsolete GetMBId
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