2020-08-22 15:56:24 -04:00
|
|
|
#pragma warning disable CS1591
|
|
|
|
|
2019-01-13 15:01:16 -05:00
|
|
|
using System;
|
2018-12-27 18:27:57 -05:00
|
|
|
using MediaBrowser.Controller.Entities;
|
|
|
|
|
|
|
|
namespace MediaBrowser.Controller.Library
|
|
|
|
{
|
|
|
|
public static class LibraryManagerExtensions
|
|
|
|
{
|
2023-02-04 11:56:12 -05:00
|
|
|
public static BaseItem? GetItemById(this ILibraryManager manager, string id)
|
2018-12-27 18:27:57 -05:00
|
|
|
{
|
|
|
|
return manager.GetItemById(new Guid(id));
|
|
|
|
}
|
|
|
|
}
|
2019-01-13 14:30:58 -05:00
|
|
|
}
|