Date: Fri, 10 Apr 2026 21:20:47 +0000 From: =?utf-8?Q?Jes=C3=BAs?= Daniel Colmenares Oviedo <dtxdf@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: 9ce62a269dad - main - multimedia/navidrome: Don't install ffmpeg by default Message-ID: <69d969af.19dbc.7251f3a4@gitrepo.freebsd.org>
index | next in thread | raw e-mail
The branch main has been updated by dtxdf: URL: https://cgit.FreeBSD.org/ports/commit/?id=9ce62a269dad49883084753a18c3f17c777c693b commit 9ce62a269dad49883084753a18c3f17c777c693b Author: Jesús Daniel Colmenares Oviedo <dtxdf@FreeBSD.org> AuthorDate: 2026-04-10 20:42:42 +0000 Commit: Jesús Daniel Colmenares Oviedo <dtxdf@FreeBSD.org> CommitDate: 2026-04-10 21:20:29 +0000 multimedia/navidrome: Don't install ffmpeg by default Don't install multimedia/ffmpeg by default so that users can install the flavour they want at runtime (e.g.: multimedia/ffmpeg@default or multimedia/ffmpeg@nox11). And while here, update the configuration file to remove obsolete parameters and add new ones. Now FFmpegPath is added, as it is required for transcoding to work when running Navidrome via the rc(8) script. Reported by: t@ida2.de (email) --- multimedia/navidrome/Makefile | 1 - multimedia/navidrome/files/config.toml.sample.in | 47 ++++++++++++------------ multimedia/navidrome/files/pkg-message.in | 3 ++ 3 files changed, 27 insertions(+), 24 deletions(-) diff --git a/multimedia/navidrome/Makefile b/multimedia/navidrome/Makefile index e956a3687f99..5ed3f12c88b0 100644 --- a/multimedia/navidrome/Makefile +++ b/multimedia/navidrome/Makefile @@ -19,7 +19,6 @@ LICENSE_FILE= ${WRKSRC}/LICENSE ONLY_FOR_ARCHS= aarch64 amd64 LIB_DEPENDS= libtag.so:audio/taglib -RUN_DEPENDS= ffmpeg:multimedia/ffmpeg USES= cpe go:1.25+,modules pkgconfig diff --git a/multimedia/navidrome/files/config.toml.sample.in b/multimedia/navidrome/files/config.toml.sample.in index 9aeda433ab9e..a4ccb4b24877 100644 --- a/multimedia/navidrome/files/config.toml.sample.in +++ b/multimedia/navidrome/files/config.toml.sample.in @@ -6,15 +6,18 @@ # Folder where your music library is stored. Can be read-only MusicFolder = "%%DATADIR%%/music" # Folder to store application data (database, cache, etc.) -#DataFolder = "/var/db/navidrome" -# How frequently to scan for changes in your music library using cron syntax. Set it to 0 to disable scans -#ScanSchedule = "@every 1m" +#DataFolder = "/var/db/navidrome" + +# Enable/disable the scanner. Set to false to disable automatic scanning of the music library. +#Scanner.Enabled = true +# How frequently to scan for changes in your music library using cron syntax. +#Scanner.Schedule = "@every 1m" # Log level. Useful for troubleshooting. Possible values: error, info, debug, trace. Default: info -LogLevel = "info" +LogLevel = "info" # HTTP port Navidrome will use -#Port = 4533 +#Port = 4533 # IP address the server will bind to. Comment out to use 0.0.0.0 and :: (all IPs) Address = "127.0.0.1" @@ -37,37 +40,35 @@ Address = "127.0.0.1" #GATrackingID = "" # List of ignored articles when sorting/indexing artists -#IgnoredArticles = "The El La Los Las Le Les Os As O A" +#IgnoredArticles = "The El La Los Las Le Les Os As O A" # Match query strings anywhere in searchable fields, not only in word boundaries. Useful for languages where words are not space separated -#SearchFullString = false +#Search.FullString = false # Configure the order to look for cover art images. Use special embedded value to get embedded images from the audio files #CoverArtPriority = "embedded, cover.*, folder.*, front.*" -# Set JPEG quality percentage for resized cover art images -#CoverJpegQuality = 75 +# Set quality percentage for resized WebP cover art images +#CoverArtQuality = 75 # Enable the option in the UI to download music/albums/artists/playlists from the server #EnableDownloads = true # How long Navidrome will wait before closing web ui idle sessions -#SessionTimeout = "24h" +#SessionTimeout = "24h" # How many login requests can be processed from a single IP during the AuthWindowLength. Set to 0 to disable the limit rater -#AuthRequestLimit = 5 +#AuthRequestLimit = 5 # Window Length for the authentication rate limit -#AuthWindowLength = "20s" -# Select metadata extractor implementation. Options: taglib or ffmpeg -#Scanner.Extractor = "taglib" +#AuthWindowLength = "20s" +# Set this to false to completely disable Last.fm integration +#LastFM.Enabled = false # Last.FM ApiKey -#LastFM.ApiKey = "" +#LastFM.ApiKey = "" # Last.FM Shared Secret -#LastFM.Secret = "" +#LastFM.Secret = "" # Two letter-code for language to be used to retrieve biographies from Last.FM -#LastFM.Language = "en" - -# Spotify Client ID -#Spotify.ID = "" -# Spotify Client Secret -#Spotify.Secret = "" +#LastFM.Language = "en" # Use Gravatar images as the user profile image. Needs the user's email to be filled. Default: false -EnableGravatar = true +EnableGravatar = true + +# Path to ffmpeg executable. +FFmpegPath = "%%PREFIX%%/bin/ffmpeg" diff --git a/multimedia/navidrome/files/pkg-message.in b/multimedia/navidrome/files/pkg-message.in index a714d0d283db..f5c0575ba70e 100644 --- a/multimedia/navidrome/files/pkg-message.in +++ b/multimedia/navidrome/files/pkg-message.in @@ -21,6 +21,9 @@ Navidrome is configured to scan for music under "%%DATADIR%%/music". This can be changed in the configuration file or by adding "--musicfolder <path>" to "navidrome_flags". +For transcoding to work, you must install multimedia/ffmpeg@default or +multimedia/ffmpeg@nox11. + EOM } ]home | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?69d969af.19dbc.7251f3a4>
