mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-05-24 02:02:29 -04:00
46 lines
2.1 KiB
C#
46 lines
2.1 KiB
C#
using MediaBrowser.Controller.Configuration;
|
|
using MediaBrowser.Controller.Entities;
|
|
using MediaBrowser.Controller.IO;
|
|
using MediaBrowser.Controller.Library;
|
|
using MediaBrowser.Controller.MediaSegments;
|
|
using MediaBrowser.Controller.Providers;
|
|
using MediaBrowser.Model.IO;
|
|
using MediaBrowser.Providers.Manager;
|
|
using Microsoft.Extensions.Logging;
|
|
|
|
namespace MediaBrowser.Providers.Videos;
|
|
|
|
/// <summary>
|
|
/// Service to manage video metadata.
|
|
/// </summary>
|
|
public class VideoMetadataService : MetadataService<Video, ItemLookupInfo>
|
|
{
|
|
/// <summary>
|
|
/// Initializes a new instance of the <see cref="VideoMetadataService"/> class.
|
|
/// </summary>
|
|
/// <param name="serverConfigurationManager">Instance of the <see cref="IServerConfigurationManager"/>.</param>
|
|
/// <param name="logger">Instance of the <see cref="ILogger"/> interface.</param>
|
|
/// <param name="providerManager">Instance of the <see cref="IProviderManager"/> interface.</param>
|
|
/// <param name="fileSystem">Instance of the <see cref="IFileSystem"/> interface.</param>
|
|
/// <param name="libraryManager">Instance of the <see cref="ILibraryManager"/> interface.</param>
|
|
/// <param name="pathManager">Instance of the <see cref="IPathManager"/> interface.</param>
|
|
/// <param name="keyframeManager">Instance of the <see cref="IKeyframeManager"/> interface.</param>
|
|
/// <param name="mediaSegmentManager">Instance of the <see cref="IMediaSegmentManager"/> interface.</param>
|
|
public VideoMetadataService(
|
|
IServerConfigurationManager serverConfigurationManager,
|
|
ILogger<VideoMetadataService> logger,
|
|
IProviderManager providerManager,
|
|
IFileSystem fileSystem,
|
|
ILibraryManager libraryManager,
|
|
IPathManager pathManager,
|
|
IKeyframeManager keyframeManager,
|
|
IMediaSegmentManager mediaSegmentManager)
|
|
: base(serverConfigurationManager, logger, providerManager, fileSystem, libraryManager, pathManager, keyframeManager, mediaSegmentManager)
|
|
{
|
|
}
|
|
|
|
/// <inheritdoc />
|
|
// Make sure the type-specific services get picked first
|
|
public override int Order => 10;
|
|
}
|