WIP BaseItem search refactoring

This commit is contained in:
JPVenson
2024-10-08 12:27:27 +00:00
parent d3a3d9fce3
commit 6c819fe516
9 changed files with 1408 additions and 1250 deletions

View File

@@ -0,0 +1,24 @@
#pragma warning disable CS1591
using System;
using System.Collections.Generic;
using MediaBrowser.Controller.Chapters;
using MediaBrowser.Controller.Persistence;
using MediaBrowser.Model.Entities;
namespace MediaBrowser.Providers.Chapters
{
public class ChapterManager : IChapterManager
{
public ChapterManager(IDbContextFactory<JellyfinDbContext> dbProvider)
{
_itemRepo = itemRepo;
}
/// <inheritdoc />
public void SaveChapters(Guid itemId, IReadOnlyList<ChapterInfo> chapters)
{
_itemRepo.SaveChapters(itemId, chapters);
}
}
}