jellyfin/MediaBrowser.Controller/Library/LibraryManagerExtensions.cs

16 lines
353 B
C#
Raw Normal View History

#pragma warning disable CS1591
using System;
2018-12-27 23:27:57 +00:00
using MediaBrowser.Controller.Entities;
namespace MediaBrowser.Controller.Library
{
public static class LibraryManagerExtensions
{
public static BaseItem? GetItemById(this ILibraryManager manager, string id)
2018-12-27 23:27:57 +00:00
{
return manager.GetItemById(new Guid(id));
}
}
}