Chromaprint is for scan, not config
This commit is contained in:
parent
0107c92d0f
commit
31365442b1
@ -43,13 +43,6 @@ public class QueueManager
|
|||||||
/// <returns>Queued media items.</returns>
|
/// <returns>Queued media items.</returns>
|
||||||
public ReadOnlyDictionary<Guid, List<QueuedEpisode>> GetMediaItems()
|
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;
|
Plugin.Instance!.TotalQueued = 0;
|
||||||
|
|
||||||
LoadAnalysisSettings();
|
LoadAnalysisSettings();
|
||||||
|
@ -53,6 +53,13 @@ public class BaseItemAnalyzerTask
|
|||||||
IProgress<double> progress,
|
IProgress<double> progress,
|
||||||
CancellationToken cancellationToken)
|
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(
|
var queueManager = new QueueManager(
|
||||||
_loggerFactory.CreateLogger<QueueManager>(),
|
_loggerFactory.CreateLogger<QueueManager>(),
|
||||||
_libraryManager);
|
_libraryManager);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user