mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-04-21 01:24:44 +01:00
WIP BaseItem search refactoring
This commit is contained in:
24
MediaBrowser.Controller/Chapters/ChapterManager.cs
Normal file
24
MediaBrowser.Controller/Chapters/ChapterManager.cs
Normal 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);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user