From f3cb85cb0da139789296ffb6ba7db5ff6b6f81b5 Mon Sep 17 00:00:00 2001 From: Deluan <deluan@navidrome.org> Date: Fri, 28 Feb 2025 12:39:30 -0800 Subject: [PATCH] feat(server): warn users of ffmpeg extractor that it is not available anymore Signed-off-by: Deluan <deluan@navidrome.org> --- conf/configuration.go | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/conf/configuration.go b/conf/configuration.go index 93388ee8c..e342192e9 100644 --- a/conf/configuration.go +++ b/conf/configuration.go @@ -29,7 +29,7 @@ type configOptions struct { DbPath string LogLevel string LogFile string - ScanInterval time.Duration + ScanInterval time.Duration // Deprecated: Remove before release ScanSchedule string SessionTimeout time.Duration BaseURL string @@ -130,7 +130,7 @@ type scannerOptions struct { Enabled bool WatcherWait time.Duration ScanOnStartup bool - Extractor string // Deprecated: BFR Remove before release? + Extractor string GenreSeparators string // Deprecated: BFR Update docs GroupAlbumReleases bool // Deprecated: BFR Update docs } @@ -300,7 +300,10 @@ func Load(noConfigDump bool) { } // BFR Remove before release - Server.Scanner.Extractor = consts.DefaultScannerExtractor + if Server.Scanner.Extractor != consts.DefaultScannerExtractor { + log.Warn(fmt.Sprintf("Extractor '%s' is not implemented, using 'taglib'", Server.Scanner.Extractor)) + Server.Scanner.Extractor = consts.DefaultScannerExtractor + } // Call init hooks for _, hook := range hooks {