mirror of
https://github.com/jellyfin/jellyfin.git
synced 2024-09-07 03:48:06 +02:00
15 lines
353 B
C#
15 lines
353 B
C#
#pragma warning disable CS1591
|
|
|
|
using System;
|
|
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));
|
|
}
|
|
}
|
|
}
|