a90175dd66
pending approval from Jellyfin
37 lines
954 B
C#
37 lines
954 B
C#
namespace ConfusedPolarBear.Plugin.IntroSkipper;
|
|
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Collections.ObjectModel;
|
|
using System.Globalization;
|
|
using System.Linq;
|
|
using System.Threading;
|
|
using MediaBrowser.Model.Entities;
|
|
using Microsoft.Extensions.Logging;
|
|
|
|
/// <summary>
|
|
/// Chapter name analyzer.
|
|
/// </summary>
|
|
public class SegmentAnalyzer : IMediaFileAnalyzer
|
|
{
|
|
private ILogger<SegmentAnalyzer> _logger;
|
|
|
|
/// <summary>
|
|
/// Initializes a new instance of the <see cref="SegmentAnalyzer"/> class.
|
|
/// </summary>
|
|
/// <param name="logger">Logger.</param>
|
|
public SegmentAnalyzer(ILogger<SegmentAnalyzer> logger)
|
|
{
|
|
_logger = logger;
|
|
}
|
|
|
|
/// <inheritdoc />
|
|
public ReadOnlyCollection<QueuedEpisode> AnalyzeMediaFiles(
|
|
ReadOnlyCollection<QueuedEpisode> analysisQueue,
|
|
AnalysisMode mode,
|
|
CancellationToken cancellationToken)
|
|
{
|
|
return analysisQueue;
|
|
}
|
|
}
|