Chromaprint is for scan, not config

This commit is contained in:
TwistedUmbrellaX 2024-03-04 08:58:15 -05:00
parent 0107c92d0f
commit 31365442b1
2 changed files with 7 additions and 7 deletions

View File

@ -43,13 +43,6 @@ public class QueueManager
/// <returns>Queued media items.</returns>
public ReadOnlyDictionary<Guid, List<QueuedEpisode>> GetMediaItems()
{
// Assert that ffmpeg with chromaprint is installed
if (!FFmpegWrapper.CheckFFmpegVersion())
{
throw new FingerprintException(
"ffmpeg with chromaprint is not installed on this system - episodes will not be analyzed. If Jellyfin is running natively, install jellyfin-ffmpeg5. If Jellyfin is running in a container, upgrade it to the latest version of 10.8.0.");
}
Plugin.Instance!.TotalQueued = 0;
LoadAnalysisSettings();

View File

@ -53,6 +53,13 @@ public class BaseItemAnalyzerTask
IProgress<double> progress,
CancellationToken cancellationToken)
{
// Assert that ffmpeg with chromaprint is installed
if (!FFmpegWrapper.CheckFFmpegVersion())
{
throw new FingerprintException(
"ffmpeg with chromaprint is not installed on this system - episodes will not be analyzed. If Jellyfin is running natively, install jellyfin-ffmpeg5. If Jellyfin is running in a container, upgrade it to the latest version of 10.8.0.");
}
var queueManager = new QueueManager(
_loggerFactory.CreateLogger<QueueManager>(),
_libraryManager);