mirror of
https://github.com/jellyfin/jellyfin.git
synced 2024-11-17 19:08:53 -07:00
14 lines
352 B
C#
14 lines
352 B
C#
using System;
|
|
using System.Threading.Tasks;
|
|
using MediaBrowser.Controller.Entities;
|
|
|
|
namespace MediaBrowser.Controller.Library
|
|
{
|
|
public static class LibraryManagerExtensions
|
|
{
|
|
public static BaseItem GetItemById(this ILibraryManager manager, string id)
|
|
{
|
|
return manager.GetItemById(new Guid(id));
|
|
}
|
|
}
|
|
} |