1 - Configuration

Configure Navidrome to suit your needs

1.1 - Navidrome Configuration Options

How to customize Navidrome to your environment

Navidrome allows some customization using environment variables, loading from a configuration file or using command line arguments.

When the same option is set using multiple methods, Navidrome uses the following order of precedence (highest to lowest): environment variables, command line arguments, configuration file.

Configuration File

Navidrome tries to load the configuration from a navidrome.toml file in the current working directory, if it exists. You can create this file and put any of the configuration options below in it. Example of a configuration file (select your OS):

# This is just an example! Please see available options to customize Navidrome for your needs at

# https://www.navidrome.org/docs/usage/configuration/options/#available-options

LogLevel = 'DEBUG'
Scanner.Schedule = '@every 24h'
TranscodingCacheSize = '150MiB'
MusicFolder = '/mnt/music'
# This is just an example! Please see available options to customize Navidrome for your needs at

# https://www.navidrome.org/docs/usage/configuration/options/#available-options

LogLevel = 'DEBUG'
Scanner.Schedule = '@every 24h'
TranscodingCacheSize = '150MiB'

# IMPORTANT: Use single quotes for paths in Windows

MusicFolder = 'C:\Users\JohnDoe\Music'

# Set this to the path of your ffmpeg executable

FFmpegPath = 'C:\Program Files\ffmpeg\bin\ffmpeg.exe'
# This is just an example! Please see available options to customize Navidrome for your needs at

# https://www.navidrome.org/docs/usage/configuration/options/#available-options

LogLevel = 'DEBUG'
Scanner.Schedule = '@every 24h'
TranscodingCacheSize = '150MiB'
MusicFolder = '/Users/JohnDoe/Music'

# This is the default path for Homebrew installed ffmpeg

FFmpegPath = '/opt/homebrew/bin/ffmpeg'

You can also specify a different path for the configuration file, using the -c/--configfile option. Navidrome can load the configuration from toml, json, yml and ini files.

The example below assume you have created a navidrome.toml file in your home directory:

$ navidrome --configfile "/home/johndoe/navidrome.toml"
C:\> navidrome --configfile "c:\User\JohnDoe\navidrome.toml"
$ navidrome --configfile "/User/JohnDoe/navidrome.toml"

Command Line Arguments

You can set most of the config options below passing arguments to navidrome executable.

The example below shows how to set the MusicFolder using the command line, assuming you have your music library under your home directory:

$ navidrome --musicfolder "/mnt/music"
C:\> navidrome --musicfolder "c:\User\JohnDoe\Music"
$ navidrome --musicfolder "/User/JohnDoe/Music"

Please note that command line arguments must be all lowercase. For a list of all available command line options, just call navidrome --help.

For command and workflow examples (scan, inspect, backups, users, service management), see the CLI reference.

Environment Variables

Any configuration option can be set as an environment variable, just add a the prefix ND_ and make it all uppercase. Ex: ND_LOGLEVEL=debug. See below for all available options

Available Options

Basic configuration

In config fileAs an env varDescriptionDefault Value
-ND_CONFIGFILELoad configurations from an external config file"./navidrome.toml"
MusicFolderND_MUSICFOLDERFolder where your music library is stored. Can be read-only. This becomes the default library when using multi-library setup"./music"
DataFolderND_DATAFOLDERFolder to store application data (DB)"./data"
CacheFolderND_CACHEFOLDERFolder to store cache data (transcoding, images…)"<DataFolder>/cache"
LogLevelND_LOGLEVELLog level. Useful for troubleshooting. Possible values: error, warn, info, debug, trace"info"
LogFileND_LOGFILEPath to log file for output. When specified, logs will be written to this file instead of stderrEmpty (log to stderr)
AddressND_ADDRESSAddress the server will bind to. Can be an IPv4, IPv6 or a UNIX socket file (unix:/path/to/file)0.0.0.0 and :: (all IPs)
BaseUrlND_BASEURLBase URL to configure Navidrome behind a proxy (examples: /music, https://music.example.com)Empty
PortND_PORTHTTP port Navidrome will listen to4533
EnableInsightsCollectorND_ENABLEINSIGHTSCOLLECTORControls whether the server will run its Anonymous Data Collection feature to help improve the project.true

Advanced configuration

In config fileAs an environment variableDescriptionDefault Value
AgentsND_AGENTSComma-separated list of metadata agents to use for retrieving artist information, biographies, and images. Available agents: lastfm, listenbrainz, and deezer. The order determines priority - agents are tried in the specified order until one succeeds. Only enabled and configured agents will be used."deezer,lastfm,listenbrainz"
AlbumPlayCountModeND_ALBUMPLAYCOUNTMODEChange how album play count is computed. When set to "normalized", album play count will be divided by the number of album tracks"absolute"
AuthRequestLimit*ND_AUTHREQUESTLIMITHow many login requests can be processed from a single IP during the AuthWindowLength. Set to 0 to disable the limit rater5
AuthWindowLength*ND_AUTHWINDOWLENGTHWindow Length for the authentication rate limit"20s"
AutoImportPlaylistsND_AUTOIMPORTPLAYLISTSEnable/disable .m3u playlist auto-importtrue
AutoTranscodeDownloadND_AUTOTRANSCODEDOWNLOADUse the client’s transcoding configuration for downloads, if the client does not specify the desired format. If false, the original format will be used, without any transcoding.false
DefaultPlaylistPublicVisibilityND_DEFAULTPLAYLISTPUBLICVISIBILITYSet imported playlists as public by defaultfalse
ArtistArtPriority*ND_ARTISTARTPRIORITYConfigure the order to look for artist images."artist.*, album/artist.*, external"
ArtistImageFolder*ND_ARTISTIMAGEFOLDERConfigure a centralized folder for artist image lookups. When set and image-folder is included in ArtistArtPriority, Navidrome looks for images in this folder named after the artist’s MusicBrainz ID or nameEmpty
Backup.PathND_BACKUP_PATHPath to store backups. Set to "" to disable backups. Click here for details"" (disabled)
Backup.ScheduleND_BACKUP_SCHEDULESchedule for automatic backups. Use Cron syntax"" (disabled)
Backup.CountND_BACKUP_COUNTNumber of backups to keep0 (disabled)
CoverArtPriority*ND_COVERARTPRIORITYConfigure the order to look for cover art images. Use special embedded value to get embedded images from the audio files"cover.*, folder.*, front.*, embedded, external"
CoverArtQualityND_COVERARTQUALITYSet quality percentage for resized cover art images (JPEG and WebP. Does not apply to PNG)75
Deezer.Enabled*ND_DEEZER_ENABLEDSet this to false to completely disable Deezer integrationtrue
Deezer.LanguageND_DEEZER_LANGUAGELanguage to be used by Deezer integration"en"
DefaultDownsamplingFormatND_DEFAULTDOWNSAMPLINGFORMATFormat to transcode to when client requests downsampling (specify maxBitrate without a format)"opus"
DefaultLanguageND_DEFAULTLANGUAGESets the default language used by the UI when logging in from a new browser. This value must match one of the file names in the resources/i18n. Ex: for Chinese Simplified it has to be zh-Hans (case sensitive)"en"
DefaultThemeND_DEFAULTTHEMESets the default theme used by the UI when logging in from a new browser. This value must match one of the options in the UI"Dark"
DefaultShareExpirationND_DEFAULTSHAREEXPIRATIONSets the default expiration time for new shares (public links). Accepts durations like “24h” or “45m”."8760h" (1 year)
DefaultDownloadableShareND_DEFAULTDOWNLOADABLESHARESets the default downloadable state for new shares (public links). When enabled, newly created shares will be downloadable by defaultfalse
DefaultUIVolumeND_DEFAULTUIVOLUMESets the default volume used by the UI when logging in from a new browser. This value must be between 0 and 100100
DiscArtPriority*ND_DISCARTPRIORITYConfigure the priority order for disc-level cover art sources in multi-disc albums. Uses the same pattern format as CoverArtPriority. The special keyword discsubtitle matches image files whose filenames equal the disc’s subtitle"disc*.*, cd*.*, cover.*, folder.*, front.*, discsubtitle, embedded"
EnforceNonRootUserND_ENFORCENONROOTUSERWhen enabled on Unix-like systems, Navidrome will exit with an error if it detects it’s running as root (UID 0). This validation happens early, before any filesystem operations. This option has no effect on Windows systemsfalse
EnableArtworkPrecacheND_ENABLEARTWORKPRECACHEEnable image pre-caching of new added musictrue
EnableArtworkUploadND_ENABLEARTWORKUPLOADEnable artwork upload functionality for playlists, artists, and internet radios via the web UI. Accepted formats: JPEG, PNG, WebP, GIF (max 10 MB). When disabled, only admins can upload artworktrue
MaxImageUploadSizeND_MAXIMAGEUPLOADSIZEMaximum allowed image upload size in for artwork uploads10MB
MaxImageSizeND_MAXIMAGESIZELargest artwork image Navidrome reads, from your files or from external URLs. Navidrome skips larger images. If set below MaxImageUploadSize, Navidrome raises it to that value20MB
EnableCoverAnimationND_ENABLECOVERANIMATIONControls whether the player in the UI will animate the album cover (rotation)true
EnableDownloadsND_ENABLEDOWNLOADSEnable the option in the UI to download music/albums/artists/playlists from the servertrue
EnableExternalServicesND_ENABLEEXTERNALSERVICESSet this to false to completely disable ALL external integrations, including the anonymous data collection and the nice login background imagestrue
EnableFavouritesND_ENABLEFAVOURITESEnable toggling “Heart”/“Loved” for songs/albums/artists in the UI (maps to “Star”/“Starred” in Subsonic Clients)true
EnableGravatarND_ENABLEGRAVATARUse Gravatar images as the user profile image. Needs the user’s email to be filledfalse
EnableLogRedactingND_ENABLELOGREDACTINGWhether or not sensitive information (like tokens and passwords) should be redacted (hidden) in the logstrue
EnableM3UExternalAlbumArtND_ENABLEM3UEXTERNALALBUMARTAllow HTTP/HTTPS URLs in M3U #EXTALBUMARTURL directives for playlist artwork. Local file paths are always accepted regardless of this settingfalse
EnableMediaFileCoverArt*ND_ENABLEMEDIAFILECOVERARTIf set to false, it will return the album CoverArt when a song CoverArt is requestedtrue
EnableNaturalSortingND_ENABLENATURALSORTINGSort names containing numbers in human order (Foo 2 before Foo 10). Off by default because it can slow down large libraries, see #6015false
EnableNowPlayingND_ENABLENOWPLAYINGEnable/disable the Now Playing feature that tracks what songs users are currently listening to. When disabled, the “Now Playing” functionality and admin panel will be unavailabletrue
EnableReplayGainND_ENABLEREPLAYGAINEnable ReplayGain options in the UItrue
EnableScheduledDBAnalyzeND_ENABLESCHEDULEDDBANALYZEEvery 30 minutes, check if the database query statistics are more than 24 hours old or were marked stale by a database change, and refresh them with SQLite’s ANALYZE. Navidrome skips the check while a scan runs. Stale statistics can make queries slow on large librariestrue
EnableScrobbleHistoryND_ENABLESCROBBLEHISTORYEnable/disable scrobble historytrue
EnableSharingND_ENABLESHARINGEnable the Sharing featuretrue
EnableStarRatingND_ENABLESTARRATINGEnable 5-star ratings in the UItrue
EnableTranscodingConfig*ND_ENABLETRANSCODINGCONFIGEnables transcoding configuration in the UIfalse
EnableUserEditingND_ENABLEUSEREDITINGEnable regular users to edit their details and change their passwordtrue
EnableWebPEncodingND_ENABLEWEBPENCODINGEncode resized cover art as WebP instead of JPEG/PNG. Produces smaller images, at the cost of more CPU when resizing. Some older clients may not be able to display WebP imagesfalse
ExtAuth.TrustedSources*ND_EXTAUTH_TRUSTEDSOURCESComma separated list of IP CIDRs (or when listening on a UNIX socket the special value @) which are allowed to use reverse proxy authentication. Empty means “deny all”. Click here for details. Note: This option is unnecessary for most reverse proxy setups, only for authenticating reverse proxies.Empty
ExtAuth.UserHeader*ND_EXTAUTH_USERHEADERHTTP header containing the user name from an authenticating proxy. Click here for details."Remote-User"
ExtAuth.LogoutURLND_EXTAUTH_LOGOUTURLURL to redirect users to after logout when using externalized authentication. Allows completing logout from the external auth provider (SSO, OIDC, etc.)Empty
FFmpegPathND_FFMPEGPATHPath to ffmpeg executable. Use it when Navidrome cannot find it, or you want to use a specific versionEmpty (search in the PATH)
GATrackingIDND_GATRACKINGIDSend basic info to your own Google Analytics account. Must be in the format UA-XXXXXXXXEmpty (disabled)
HTTPHeaders.FrameOptionsND_HTTPHEADERS_FRAMEOPTIONSAllows the X-Frame-Options header value to be set with a custom value. Ex: "SAMEORIGIN""DENY"
IgnoredArticlesND_IGNOREDARTICLESList of ignored articles when sorting/indexing artists"The El La Los Las Le Les Os As O A"
ImageCacheSizeND_IMAGECACHESIZESize of image (art work) cache. Set to "0" to disable cache"100MB"
IndexGroupsND_INDEXGROUPSSpace-separated list of entries used to build the artist/folder index (the alphabetical shortcut list). Each entry is normally a single character, but can be a multi-character label (e.g. The) or a group like X-Z(XYZ), which displays as X-Z and links anything starting with X, Y or Z. Anything not covered is placed under #"A B C D E F G H I J K L M N O P Q R S T U V W X-Z(XYZ) [Unknown]([)"
Inspect.BacklogLimitND_INSPECT_BACKLOGLIMITBacklog limit for inspect request throttling100
Inspect.BacklogTimeoutND_INSPECT_BACKLOGTIMEOUTBacklog timeout for inspect request throttling"1m"
Inspect.EnabledND_INSPECT_ENABLEDEnable/disable inspect endpointstrue
Inspect.MaxRequestsND_INSPECT_MAXREQUESTSMaximum concurrent inspect requests1
Jellyfin.Enabled*ND_JELLYFIN_ENABLEDEnable the experimental Jellyfin API, so Jellyfin music clients can connect to Navidromefalse
Jellyfin.ServerNameND_JELLYFIN_SERVERNAMEServer name that Jellyfin clients show"Navidrome <version>"
Jellyfin.ExposedPublicUsersND_JELLYFIN_EXPOSEDPUBLICUSERSComma-separated list of usernames that Jellyfin clients can show on their login screen. Anyone who can reach the server can see this listEmpty (no users shown)
Jellyfin.AutoDiscoveryND_JELLYFIN_AUTODISCOVERYAnswer Jellyfin client searches on the local network (UDP port 7359), so clients can find the server without a typed addressfalse
Jellyfin.QuickConnectND_JELLYFIN_QUICKCONNECTLet users log in new Jellyfin client devices with a 6-digit code, approved from the web UI or another logged-in clienttrue
Jellyfin.MaxConcurrentStreamsND_JELLYFIN_MAXCONCURRENTSTREAMSHow many large list responses Navidrome sends to Jellyfin clients at the same time. Each one holds a database connection until it ends. Extra requests waitHalf the DB connection pool, at least 2
Jukebox.EnabledND_JUKEBOX_ENABLEDEnable Jukebox mode (play audio on server’s hardware) Click here for detailsfalse
Jukebox.AdminOnlyND_JUKEBOX_ADMINONLYBy default, Jukebox mode is only available to Admins. Set this option to false to allow any valid user to control ittrue
Jukebox.Devices(cannot be set as an environment variable)List of devices that can be used by the Jukebox. Click here for detailsEmpty (auto detect)
Jukebox.DefaultND_JUKEBOX_DEFAULTDevice to use for Jukebox mode, if there are multiple Jukebox.Devices entries. Click here for detailsEmpty (auto detect)
LastFM.EnabledND_LASTFM_ENABLEDSet this to false to completely disable Last.fm integrationtrue
LastFM.ApiKey*ND_LASTFM_APIKEYLast.fm API KeyEmpty
LastFM.Secret*ND_LASTFM_SECRETLast.fm API SecretEmpty
LastFM.LanguageND_LASTFM_LANGUAGETwo letter-code for language to be used to retrieve biographies from Last.fm"en"
LastFM.ScrobbleFirstArtistOnlyND_LASTFM_SCROBBLEFIRSTARTISTONLYWhen enabled, only the first artist will be scrobbled for tracks with multiple artists, instead of the display artist or concatenated listfalse
ListenBrainz.BaseURLND_LISTENBRAINZ_BASEURLSet this to override the default ListenBrainz base URL (useful with self-hosted solutions like Maloja*https://api.listenbrainz.org/1/
ListenBrainz.EnabledND_LISTENBRAINZ_ENABLEDSet this to false to completely disable ListenBrainz integrationtrue
ListenBrainz.ArtistAlgorithmND_LISTENBRAINZ_ARTISTALGORITHMAlgorithm used when querying the ListenBrainz Labs similar-artists API for similar artists. Only change this if you know what you are doing"session_based_days_9000_session_300_contribution_5_threshold_15_limit_50_skip_30"
ListenBrainz.TrackAlgorithmND_LISTENBRAINZ_TRACKALGORITHMAlgorithm used when querying the ListenBrainz Labs similar-recordings API for similar/top songs. Only change this if you know what you are doing"session_based_days_9000_session_300_contribution_5_threshold_15_limit_50_skip_30"
LyricsPriorityND_LYRICSPRIORITYControls the order and sources for fetching lyrics. Comma-separated list of sources checked in order: embedded (from tags), file extensions like .lrc, .txt, or any custom extension. Navidrome will search for lyrics files with the same name as the audio file but with the specified extension.".ttml,.yaml,.yml,.elrc,.lrc,.srt,.txt,embedded"
MaxSidebarPlaylistsND_MAXSIDEBARPLAYLISTSSet the maximum number of playlists shown in the UI’s sidebar. Note that a very large number can cause UI performance issues.100
Matcher.FuzzyThresholdND_MATCHER_FUZZYTHRESHOLDMinimum similarity score (0-100) for the fuzzy matcher when looking up similar songs. Higher values require closer matches85
Matcher.PreferStarredND_MATCHER_PREFERSTARREDBias the fuzzy matcher toward starred and highly-rated tracks when scoring similar songstrue
MPVPathND_MPVPATHPath to mpv executable. Used for Jukebox modeEmpty (search in PATH)
MPVCmdTemplateND_MPVCMDTEMPLATECmd template used to construct the call of the mpv executable. Used for Jukebox modempv --audio-device=%d --no-audio-display %f --input-ipc-server=%s
PasswordEncryptionKey*ND_PASSWORDENCRYPTIONKEYPassphrase used to encrypt passwords in the DB. Click here for details-
PID.AlbumND_PID_ALBUMSet the tag(s) to use as the Album ID. Click here for detailsmusicbrainz_albumid|albumartistid,album,albumversion,releasedate
PID.TrackND_PID_TRACKSet the tag(s) to use as the Track ID. Click here for detailsmusicbrainz_trackid|albumid,discnumber,tracknumber,title
PlaylistsPathND_PLAYLISTSPATHLimit where to search for and import playlists from. Can be a list of folders/globs (separated by : (or ; on Windows). Paths MUST be relative to MusicFolderEmpty (meaning any playlist files in your library will be imported)
Plugins.Enabled*ND_PLUGINS_ENABLEDEnable the plugin systemtrue
Plugins.FolderND_PLUGINS_FOLDERFolder where your plugins are stored. Place your .ndp files in here"<DataFolder>/plugins"
Plugins.AutoReloadND_PLUGINS_AUTORELOADAutomatically detect when .ndp files in Plugins.Folder are updated and reload plugins immediatelyfalse
Plugins.LogLevelND_PLUGINS_LOGLEVELLog level. Useful for troubleshooting. Possible values: error, warn, info, debug, traceLogLevel (LogLevel of your Navidrome instance)
Plugins.CacheSizeND_PLUGINS_CACHESIZESize of the plugin compilation cache"200MB"
PreferSortTagsND_PREFERSORTTAGSUse Sort_* tags to sort columns in the UI.false
Prometheus.EnabledND_PROMETHEUS_ENABLEDEnable extra endpoint with Prometheus metrics.false
Prometheus.MetricsPathND_PROMETHEUS_METRICSPATHCustom path for Prometheus metrics. Useful for blocking unauthorized metrics requests."/metrics"
Prometheus.PasswordND_PROMETHEUS_PASSWORDEnables Basic Auth protection for Prometheus endpoint. User will be navidrome. Leave empty to disable Basic Auth protection.Empty (no password/authentication)
RecentlyAddedByModTimeND_RECENTLYADDEDBYMODTIMEUses music files’ modification time when sorting by “Recently Added”. Otherwise use import timefalse
Scanner.EnabledND_SCANNER_ENABLEDEnable/disable the scanner. Set to false to disable automatic scanning of the music library.true
Scanner.ScheduleND_SCANNER_SCHEDULESchedule for automatic scans. Use Cron syntax0 (disabled)
Scanner.WatcherWaitND_SCANNER_WATCHERWAITTime to wait after a file change is detected before starting a scan. Useful to avoid scanning incomplete files. Set it to 0 to disable the watcher"5s"
Scanner.ScanOnStartupND_SCANNER_SCANONSTARTUPEnable/disable scanning the music library on startup. Set to false to disabletrue
Scanner.ArtistJoinerND_SCANNER_ARTISTJOINERCharacter string used to join multiple artists in display. Change this if you prefer a different separator between artist names" • "
Scanner.ArtistSplitExceptionsND_SCANNER_ARTISTSPLITEXCEPTIONSComma-separated list of artist names that must never be split by the artist tag separators. Use this to protect names that legitimately contain a separator character (e.g. AC/DC)Empty
Scanner.FollowSymlinksND_SCANNER_FOLLOWSYMLINKSWhether to follow symbolic links when scanning directories. When enabled, the scanner will traverse symlinked directories and include their contents in the library. When disabled, symlinked directories are ignored during scanningtrue
Scanner.IgnoreDotFoldersND_SCANNER_IGNOREDOTFOLDERSWhether to ignore folders whose name starts with a dot (e.g. .stfolder) when scanning. Set to false to index dot-prefixed folderstrue
Scanner.PurgeMissingND_SCANNER_PURGEMISSINGControls when missing files, albums, and artists are purged from the database during scans. Possible values: "never" (default, just mark as missing), "always" (purge after every scan), "full" (purge only after a full scan)."never"
Search.BackendND_SEARCH_BACKENDSelect the search backend. fts uses FTS5 full-text search with BM25 ranking. legacy uses the previous search implementation"fts"
Search.FullStringND_SEARCH_FULLSTRINGMatch query strings anywhere in searchable fields, not only in word boundaries. Useful for languages where words are not space separatedfalse
SessionTimeoutND_SESSIONTIMEOUTHow long Navidrome will wait before closing web ui idle sessions"48h"
ShareURLND_SHAREURLBase URL for shared links. Useful when your server address is not a public (ex: when using Tailscale). See discussion hereEmpty (use server address)
SmartPlaylistRefreshDelayND_SMARTPLAYLISTREFRESHDELAYHow often to refresh Smart Playlists. Check the smart playlists docs"5s"
Subsonic.AppendSubtitleND_SUBSONIC_APPENDSUBTITLEAppend the subtitle tag to the song title in all Subsonic API responsestrue
Subsonic.ArtistParticipationsND_SUBSONIC_ARTISTPARTICIPATIONSWhen Subsonic clients request artist’s albums, include albums where the artist participates (ex: Various Artists compilations)false
Subsonic.AppendAlbumVersionND_SUBSONIC_APPENDALBUMVERSIONAppend album version/edition information to album names in Subsonic API responses (e.g., “Album Name (Deluxe Edition)”)true
Subsonic.DefaultReportRealPathND_SUBSONIC_DEFAULTREPORTREALPATHSet to true to report the real path of the music files in the API. Can be customized individually for each client/player. This can be a security risk, so it is disabled by defaultfalse
Subsonic.EnableAverageRatingND_SUBSONIC_ENABLEAVERAGERATINGControls whether the averageRating attribute is included in Subsonic API responses. When disabled, the average rating across all users is not exposed in API responses, though it is still calculated internally. Set to false to hide other users’ rating datatrue
Subsonic.LegacyClientsND_SUBSONIC_LEGACYCLIENTSList of clients that does not work with the new OpenSubsonic API improvements."DSub"
Subsonic.MinimalClientsND_SUBSONIC_MINIMALCLIENTSList of clients that should receive a minimal response for songs and playlists, containing only the bare minimum fields (id, title, etc). Useful for clients that get confused by the extra metadata"SubMusic"
Tags(cannot be set as an environment variable)Configure custom tags to be imported from your music files. Click here for detailsEmpty
TLSCertND_TLSCERTPath for the TLS certificate file, which should include the signature chain if anyEmpty (disable TLS)
TLSKeyND_TLSKEYPath for the TLS key fileEmpty (disable TLS)
Transcoding.EnableCancellationND_TRANSCODING_ENABLECANCELLATIONStop the underlying ffmpeg process as soon as a client disconnects mid-stream (e.g. when the user skips, stops, or closes playback). Disabled by default so that an in-progress transcode runs to completion even after the client disconnects: the finished file is stored in the transcoding cache and served instantly the next time it is requested. Enable this to free CPU immediately on disconnect, at the cost of discarding that partially-transcoded workfalse
Transcoding.MaxConcurrentND_TRANSCODING_MAXCONCURRENTMaximum number of concurrent transcodes server-wide. Set to 0 for unlimited. Helps prevent an ffmpeg-based denial of service0 (unlimited)
Transcoding.MaxConcurrentPerUserND_TRANSCODING_MAXCONCURRENTPERUSERMaximum number of concurrent transcodes per user. Set to 0 for unlimited0 (unlimited)
TranscodingCacheSizeND_TRANSCODINGCACHESIZESize of transcoding cache. Set to "0" to disable cache"100MB"
UICoverArtSizeND_UICOVERARTSIZESize (in pixels) of the cover art images requested by the web UI. Larger values look sharper on high-DPI displays, but use more bandwidth and cache space. Values are clamped to the range 200-1200300
UILoginBackgroundUrlND_UILOGINBACKGROUNDURLChange background image used in the Login pagerandom music image from this Unsplash.com collection
UIPlaybackReportIntervalND_UIPLAYBACKREPORTINTERVALHow often the web UI reports playback progress to the server (used by the Now Playing feature and the playbackReport OpenSubsonic extension)"1m"
UISearchDebounceMsND_UISEARCHDEBOUNCEMSDebounce delay in milliseconds for the search input in the UI. Higher values reduce search requests while typing200
UIWelcomeMessageND_UIWELCOMEMESSAGEAdd a welcome message to the login screenEmpty
UnixSocketPermND_UNIXSOCKETPERMSet file permissions for Unix Socket File.*"0660"
-ND_SYSTEMD_PRIORITY_LOGGINGEnable syslog priority prefixes for systemd-journald. Both this variable and the JOURNAL_STREAM environment variable must be set for journal format logging to activateEmpty (disabled)

Notes

  • Durations are specified as a number and a unit suffix, such as “24h”, “30s” or “1h10m”. Valid time units are “s”, “m”, “h”.
  • Sizes are specified as a number and an optional unit suffix, such as “1GB” or “150 MiB”. Default unit is bytes. Note: “1KB” == “1000”, “1KiB” == “1024”
  • Transcoding can be required in some situations. For example: trying to play a WMA file in a webbrowser, will only work for natively supported formats by the browser you are using. (so playing that with Mozilla Firefox on Linux, will not work. Mozilla even has their own guide about audio codecs).

1.2 - Using custom tags with Navidrome

How to import and use custom tags in Navidrome. This page explains the available options to configure custom tags, including aliases, tag type, maximum length, custom separators and album-level settings.

Overview

As all tags imported are stored and indexed in the database, to improve performance and reduce storage requirements, Navidrome only imports a predefined set of tags. The complete list of default tags imported are listed here.

However, Navidrome supports importing and using custom tags from your music files. Custom tags allow you to extend the metadata beyond the default supported tags. This functionality can be configured via the configuration file.

Configuring custom tags

Custom tags are defined under the Tags configuration section. A custom tag configuration accepts the following properties:

  • Aliases: A list of all alternative names that can found in your music files, but should be considered the same tag. Ex: album artist, albumartist. This is a required field.
  • Type: Specifies the type of data stored in the tag. It can be used to validate or transform values. Supported types are int,float, date, uuid. If not specified, the tag will be treated as a string.
  • MaxLength: The length limit for the tag value. Default is 1024 characters.
  • Album: A boolean flag indicating whether this tag applies to an album as well. Default is false. If set to true, the tag will be considered when generating the PID for an album.
  • Split: Tags are always considered multivalued, but you can specify a list of delimiters used to split a tag value into multiple entries.
  • Ignore: A boolean flag indicating whether this tag should be ignored. Default is false. Useful for disabling tags that are imported by default. See example below.

Note that tags are case-insensitive, so you don’t need to specify all possible case variations in the Aliases list.

Example configuration

Below is an example of how to set up custom tag options in your configuration file.

Tags.MyCustomTag.Aliases = ["mycustomtag", "customtag"]
Tags.MyCustomTag.MaxLength = 50
Tags.MyCustomTag.Album = false
Tags.MyCustomTag.Split = ["; ", " / "]

In this example, the custom tag mycustomtag is configured with two aliases, a type of string (default), and a maximum length of 50 characters. Additionally, it sets the splitting delimiters so that if a tag value contains ; or / it will be split into multiple values.

Common use cases

Here are some common use cases for custom tags.

Adding a new tag for disambiguation

By default, Navidrome uses MusicBrainz IDs to identify albums and tracks. However, if your music library is tagged with information from other DBs, like Discogs, you can add custom tags to store the Discogs IDs.

Example:

Tags.discogs_release_id.Aliases = ['discogs_release_id']
Tags.discogs_release_id.Album = true
PID.Album = 'discogs_release_id|albumartistid,album,albumversion,releasedate'

See the PID configuration for more information on how to configure album disambiguation.

Disabling tags

Any custom tag found in your music files, but not defined with the Tags configuration option will be ignored by Navidrome. If you need to disable a tag that is already imported by default, you can do so by explicitly setting its Ignore flag to true.

Example: disabling the subtitle tag

Tags.Subtitle.Ignore = true

Changing separators

The preferable way to have multivalued tags is to use your tag editor and add multiple values for the same tag. However, if your library is already tagged with multiple values separated by a known delimiter, you can configure Navidrome to split the tag value by that delimiter into multiple entries. Just keep in mind that this can have unwanted side effects if the delimiter is used in other contexts. (Ex: using '/' as an artist delimiter can break artists like AC/DC, '&' as a delimiter can break artists like Simon & Garfunkel)

Example: Splitting the artist tag by \ and ;

Tags.Artist.Split = ['\', '; ']

If you want to disable splitting for a tag, you can set the Split option to an empty list.

Tags.Genre.Split = []

Artist splitting

By default, Navidrome will split the artist tag value by various common separators to identify multiple artists. The default Tags.Artist.Split value is:

Tags.Artist.Split = [" / ", " feat. ", " feat ", " ft. ", " ft ", "; "]

Because the slash separator is " / " (with surrounding spaces) rather than a bare /, a name like AC/DC is left intact by default. Note that "; " only requires a trailing space, so a value like Foo; Bar is still split.

To customize the separators, override this option. Be careful when adding a bare / (without spaces): it will split names like AC/DC. See Scanner.ArtistSplitExceptions to protect specific names from being split.

Note that the separators are case insensitive, so both FEAT. and feat. will be recognized by default.

Separating Writer and Composer tags

By default, Navidrome maps both composer and writer tag values to a single (multi-valued) composer field in its database. If you want to keep these as separate metadata fields, you can define custom tags for each one:

Tags.Composer.Aliases = ['composer', 'tcom', 'composer', '©wrt', 'wm/composer', 'imus']
Tags.Writer.Aliases = ['writer', 'txxx:writer', 'iwri']

This will allow you to filter or sort by writer in Smart Playlists.

Adding tags for custom filtering/sorting in Smart Playlists

If you want to create a Smart Playlist that filters or sorts by a custom tag, you can define the tag in the configuration file, then use it in the Smart Playlist as a regular field.

1.3 - Customizing Persistent IDs in Navidrome

Learn how to configure and customize Persistent IDs (PIDs) in Navidrome to customize disambiguation and improve media management.

Persistent IDs in Navidrome

Persistent IDs (PIDs) are configurable identifiers introduced to provide stable references for Tracks and Albums in Navidrome, significantly improving how media is managed and identified.

Overview of Persistent IDs

Persistent IDs are unique, user-configurable identifiers for tracks and albums, enabling Navidrome to accurately detect and manage moved or re-tagged files, and disambiguate albums with identical names or duplicated entries.

Key Features

  • Configurable and Flexible: Users can define their PID structure using various tags, including musicbrainz_trackid, albumid, discnumber, tracknumber, title, folder, albumartistid, catalognum, Discogs IDs, or even custom tags
  • Accurate File Detection: Navidrome recognizes moved or re-tagged files, preventing duplication or mismatches.
  • Album Disambiguation: Easily differentiate albums with identical names through custom tags like albumversion (e.g., Deluxe Editions).

Default Configuration

The default configuration prioritizes MusicBrainz IDs (MBIDs) when available:

PID.Track = "musicbrainz_trackid|albumid,discnumber,tracknumber,title"
PID.Album = "musicbrainz_albumid|albumartistid,album,albumversion,releasedate"
  • Track PID:

    • Uses musicbrainz_trackid if available.
    • Otherwise, combines albumid, discnumber, tracknumber, and title. (albumid is derived from PID.Album.)
  • Album PID:

    • Uses musicbrainz_albumid if available.
    • Otherwise, combines albumartistid, album, albumversion, and releasedate.

Customizing PIDs

You can create custom PID configurations to meet specific needs, such as:

  • Grouping albums by folder:

    PID.Album = "folder"
    
  • Using Discogs or custom IDs for albums:

    Tags.discogs_release_id.Aliases = ['DISCOGS_RELEASE_ID']
    PID.Album = 'discogs_release_id|albumartistid,album,albumversion,releasedate'
    
  • Using the pre-0.55.0 (pre-BFR) behaviour:

    PID.Album = "album_legacy"
    PID.Track = "track_legacy"
    

    This will use the old ID generation method, which is based on the file path for tracks and name+releaseDate for albums.

Handling File Moves and Retagging

When files are moved, Navidrome uses PIDs to accurately identify and reconnect these files on the next scan:

  • First, Navidrome attempts to match a missing file with new ones based on exact tags.
  • If exact tags do not match, Navidrome checks for a matching PID.
  • Finally, if no PID match is found, it attempts to match the file based on the original file path, excluding the file extension (ex: /artist/album/01-track.mp3 → /artist/album/01-track.flac).

This ensures minimal disruption to playlists, ratings, and play counts when managing your media library.

You can also retag your files, and Navidrome will automatically update the PIDs based on the new tags.

Artist IDs

Currently, Artist PIDs rely solely on the artist name due to limitations in TagLib/Picard regarding MBIDs for composer and other roles, potentially causing duplicate entries. For this reason they are not configurable. Future enhancements are planned to address this.

Troubleshooting and Support

If issues arise when enabling or configuring PIDs:

2 - Features

Explore Navidrome’s features and capabilities

2.1 - How to Use Smart Playlists in Navidrome (Beta)

Learn how to create and manage Smart Playlists in Navidrome, a dynamic way to organize and enjoy your music collection.

Smart Playlists in Navidrome offer a dynamic way to organize and enjoy your music collection. They are created using JSON objects stored in files with a .nsp extension. These playlists are automatically updated based on specified criteria, providing a personalized and evolving music experience.

Creating Smart Playlists

To create a Smart Playlist, you need to define a JSON object with specific fields and operators that describe the criteria for selecting tracks. The JSON object is stored in a .nsp file Here are some examples to get you started:

Example 1: Recently Played Tracks

This playlist includes tracks played in the last 30 days, sorted by the most recently played.

{
  "name": "Recently Played",
  "comment": "Recently played tracks",
  "all": [{ "inTheLast": { "lastPlayed": 30 } }],
  "sort": "lastPlayed",
  "order": "desc",
  "limit": 100
}

Example 2: 80’s Top Songs

This playlist features top-rated songs from the 1980s.

{
  "all": [
    { "any": [{ "is": { "loved": true } }, { "gt": { "rating": 3 } }] },
    { "inTheRange": { "year": [1981, 1990] } }
  ],
  "sort": "year",
  "order": "desc",
  "limit": 25
}

Example 3: Favourites

This playlist includes all loved tracks, sorted by the date they were loved.

{
  "all": [{ "is": { "loved": true } }],
  "sort": "dateLoved",
  "order": "desc",
  "limit": 500
}

Example 4: All Songs in Random Order

This playlist includes all songs in a random order. Note: This is not recommended for large libraries.

{
  "all": [{ "gt": { "playCount": -1 } }],
  "sort": "random"
  // limit: 1000 // Uncomment this line to limit the number of songs
}

Example 5: Multi-Field Sorting

This playlist demonstrates multiple sort fields - songs from the 2000s, sorted by year (descending), then by rating (descending), then by title (ascending).

{
  "name": "2000s Hits by Year and Rating",
  "all": [{ "inTheRange": { "year": [2000, 2009] } }],
  "sort": "-year,-rating,title",
  "limit": 200
}

Example 6: Library-Specific Playlist

This playlist includes only high-rated songs from a specific library (useful in multi-library setups).

{
  "name": "High-Rated Songs from Library 2",
  "all": [{ "is": { "library_id": 2 } }, { "gt": { "rating": 4 } }],
  "sort": "-rating,title",
  "limit": 100
}

Example 7: Percentage-Based Limit

This playlist includes 10% of all loved tracks, selected randomly. Use limitPercent instead of limit to specify a percentage of matching tracks (1-100). A minimum of 1 track is always returned when there are matches.

{
  "all": [{ "is": { "loved": true } }],
  "sort": "random",
  "limitPercent": 10
}

Example 8: Recently Added Albums, in Album Order

Sorting by the track-level dateadded scatters an album’s tracks, because each track has its own timestamp. Sorting by albumdateadded keeps the album together and puts the most recently added albums first, while discnumber and tracknumber order the tracks within each album.

{
  "name": "Recently Added Albums",
  "all": [{ "inTheLast": { "albumdateadded": 30 } }],
  "sort": "-albumdateadded,album,discnumber,tracknumber"
}

Example 9: Daily Mix (stable for a day)

This playlist picks 20 random tracks played in the last 30 days, and keeps the same track list for a full day before re-evaluating. Without refreshDelay, a playlist like this would change after every song you play, which breaks offline caches. See Refreshing Playlists for details.

{
  "name": "Daily Mix",
  "all": [{ "inTheLast": { "lastPlayed": 30 } }],
  "sort": "random",
  "limit": 20,
  "refreshDelay": "1d"
}

Creating Smart Playlists using the UI

Currently Smart Playlists can only be created by manually editing .nsp files. We plan to add a UI for creating and editing Smart Playlists in future releases.

In the meantime, if you want a graphical way to create playlists, you can use Feishin, a desktop/web client for Navidrome, that supports creating Smart Playlists:

Smart Playlists created/edited in Feishin will be available in Navidrome UI as soon as they are saved.

Importing Smart Playlists

Smart Playlists are imported the same way as regular (.m3u) playlists, during the library scan. Place your .nsp files in any folder in your library or the path specified by the PlaylistsPath configuration. Navidrome will automatically detect and import these playlists.

Managing Smart Playlists

Visibility and Ownership

  • Visibility: To make a Smart Playlist accessible to all users, set it to ‘public’. When referencing a playlist from another .nsp file (with inPlaylist and notInPlaylist), the playlist must be accessible to the smart playlist’s owner: owners can reference their own playlists (public or private), any user can reference public playlists, and admins can reference any playlist. See Referencing Other Playlists for details.
  • Ownership: By default, Smart Playlists are owned by the first admin user. You can change the ownership in the Playlists view to allow other users to manage them.

User-Specific Playlists

Smart Playlists based on user interactions (e.g., play count, loved tracks) are automatically updated based on the owner’s interactions. If you want personalized playlists for each user, create separate .nsp files for each user and assign ownership accordingly.

Refreshing Playlists

Smart Playlists are refreshed automatically when they are accessed by the UI or any Subsonic client. This ensures that the playlist is up-to-date when you view it. To avoid unnecessary load, there is a minimum delay between refreshes. This delay can be adjusted by setting the SmartPlaylistRefreshDelay configuration option. By default, this is set to 5s, meaning that Smart Playlists refreshes are spaced at least 5 seconds apart. You can adjust this value in the configuration file.

Per-Playlist Refresh Delay

You can override the global delay for an individual playlist by adding a refreshDelay to its .nsp file. The playlist then keeps the same track list until that much time has passed since it was last evaluated. This is useful for “daily mix” style playlists whose rules would otherwise reshuffle the tracks on every access, and it keeps the track list stable for clients that cache playlists for offline playback.

{
  "name": "Weekly Discoveries",
  "all": [{ "notInTheLast": { "lastPlayed": 90 } }],
  "sort": "random",
  "limit": 50,
  "refreshDelay": "1w"
}

The value is a duration string. Besides the standard units (h, m, s), d (days) and w (weeks) are also supported, so values like "12h", "1d", "1w" or "1d12h" all work. The delay is a rolling window measured from the last evaluation, not aligned to calendar days. When refreshDelay is not set, the global SmartPlaylistRefreshDelay applies.

Editing the playlist’s rules (by changing the .nsp file or via a client) always takes effect on the next access, even if the refresh delay has not elapsed yet.

Troubleshooting Common Issues

Playlist Not Showing Up

If a Smart Playlist is not showing up in the Navidrome UI, check the following:

  • Check the logs for any errors during the library scan.
  • Ensure the .nsp file is in the correct folder and has the correct permissions.
  • Ensure the file is correctly formatted and does not contain any syntax errors. Tip: Use a JSON validator to check the file (ex: https://jsonlint.com/)
  • Check the playlist’s visibility and ownership settings.

Referencing Other Playlists

When referencing another playlist (using the inPlaylist or notInPlaylist operators), ensure that the referenced playlist is accessible to the smart playlist’s owner:

  • The owner can reference their own playlists, whether public or private.
  • Any user can reference playlists that are set to ‘public’.
  • Admins can reference any playlist, regardless of owner or visibility.

This applies whether the referenced playlist is a regular or another Smart Playlist. If the referenced playlist is not accessible, Navidrome logs a warning during the scan and the rule simply matches no tracks, rather than failing the whole playlist.

Special Characters in Conditions

If you encounter issues with conditions like contains or endsWith, especially with special characters like underscores (_), be aware that these might be ignored in some computations. Adjust your conditions accordingly.

Sorting by multiple fields

You can now sort by multiple fields by separating them with commas. You can also control the sort direction for each field by prefixing it with + (ascending, default) or - (descending).

Examples:

  • "sort": "year,title" - Sort by year first (ascending), then by title (ascending)
  • "sort": "year,-rating" - Sort by year (ascending), then by rating (descending)
  • "sort": "-lastplayed,title" - Sort by last played date (descending), then by title (ascending)

The global order field can still be used and will reverse the direction of all sort fields.

Deleting Users with Shared Smart Playlists

If you encounter issues deleting users with shared Smart Playlists, check if the playlists are used by other users. See this issue for details.

Editing Playlists

To change the rules of a Smart Playlist, you need to edit the .nsp file directly (or use Feishin). Changes are automatically detected during the next library scan. The list of tracks in a Smart Playlist is read-only and cannot be edited directly.

Additional Resources

Fields

Here’s a table of fields you can use in your Smart Playlists:

FieldDescription
titleTrack title
albumAlbum name
hascoverartTrack has cover art
tracknumberTrack number
discnumberDisc number
yearYear of release
dateRecording date
originalyearOriginal year
originaldateOriginal date
releaseyearRelease year
releasedateRelease date
sizeFile size
compilationCompilation album
missingTrack file is missing
explicitstatusExplicit content status
dateaddedDate added to library
datemodifiedDate modified
discsubtitleDisc subtitle
commentComment
lyricsLyrics
sorttitleSorted track title
sortalbumSorted album name
sortartistSorted artist name
sortalbumartistSorted album artist name
albumcommentAlbum comment
catalognumberCatalog number
filepathFile path, relative to the MusicFolder
filetypeFile type
codecAudio codec
durationTrack duration
bitrateBitrate
bitdepthBit depth
samplerateSample rate
bpmBeats per minute
channelsAudio channels
rgtrackgainReplayGain track gain (dB)
rgtrackpeakReplayGain track peak
rgalbumgainReplayGain album gain (dB)
rgalbumpeakReplayGain album peak
lovedTrack is loved
datelovedDate track was loved
lastplayedDate track was last played
dateratedDate track was last rated
playcountNumber of times track was played
ratingTrack rating
averageratingAverage rating across all users
albumratingAlbum rating (0-5)
albumlovedWhether album is starred
albumplaycountAlbum total play count
albumlastplayedAlbum last play date
albumdatelovedDate album was starred
albumdateratedDate album was rated
albumdateaddedDate album was added to library
albumdatemodifiedDate album was last updated
albumdurationAlbum total duration (seconds)
albumsongcountNumber of tracks in the album
albumsizeAlbum total size (bytes)
artistratingArtist rating
artistlovedWhether artist is starred
artistplaycountArtist total play count
artistlastplayedArtist last play date
artistdatelovedDate artist was starred
artistdateratedDate artist was rated
mbz_album_idMusicBrainz Album ID
mbz_album_artist_idMusicBrainz Album Artist ID
mbz_artist_idMusicBrainz Artist ID
mbz_recording_idMusicBrainz Recording ID
mbz_release_track_idMusicBrainz Release Track ID
mbz_release_group_idMusicBrainz Release Group ID
library_idLibrary ID (for multi-library filtering)
Notes
  • Dates must be in the format "YYYY-MM-DD".
  • Booleans must not be enclosed in quotes. Example: { "is": { "loved": true } }.
  • Boolean fields: hascoverart, compilation, missing, loved, albumloved, artistloved.
  • filepath is relative to your music library folder. Ensure your paths are correctly specified without the /music prefix (or whatever value you set in MusicFolder).
  • Numeric fields like library_id, year, tracknumber, discnumber, size, duration, bitrate, bitdepth, samplerate, bpm, channels, playcount, rating, averagerating, albumduration, albumsongcount, albumsize, and the ReplayGain fields (rgtrackgain, rgtrackpeak, rgalbumgain, rgalbumpeak) support numeric comparisons (gt, lt, inTheRange, etc.).
  • Multi-Library: Smart Playlists can include songs from multiple libraries if the user has access to them. Use the library_id field to filter songs from specific libraries.
  • Album & Artist Fields: Fields prefixed with album or artist (e.g., albumrating, artistplaycount) filter tracks based on their parent album or artist properties. This lets you create playlists like “tracks from highly-rated albums” or “tracks from frequently-played artists”. albumdateadded, albumdatemodified, albumduration, albumsongcount and albumsize describe the album itself rather than your listening history, so they are the same for every track on an album — which is what makes them useful as a sort key (see Example 8).
Special Fields
  • random: Used for random sorting (e.g., "sort": "random")
MusicBrainz Fields

The following fields contain MusicBrainz IDs that can be used to create playlists based on specific MusicBrainz entities:

  • mbz_album_id: Filter by specific MusicBrainz album
  • mbz_album_artist_id: Filter by specific MusicBrainz album artist
  • mbz_artist_id: Filter by specific MusicBrainz artist
  • mbz_recording_id: Filter by specific MusicBrainz recording
  • mbz_release_track_id: Filter by specific MusicBrainz release track
  • mbz_release_group_id: Filter by specific MusicBrainz release group
Custom Tags

Any tags imported from the music files, that are not listed above, can be also used as fields in your Smart Playlists. Check the complete list of tags imported by navidrome. You can also add your own custom tags to your music files and use them in your Smart Playlists. Check the Custom Tags for more information.

Operators

Here’s a table of operators you can use in your Smart Playlists:

OperatorDescriptionArgument type
isEqualString, Number, Boolean
isNotNot equalString, Number, Boolean
gtGreater thanNumber
ltLess thanNumber
containsContainsString
notContainsDoes not containString
startsWithStarts withString
endsWithEnds withString
inTheRangeIn the range (inclusive)Array of two numbers or dates
beforeBeforeDate ("YYYY-MM-DD")
afterAfterDate ("YYYY-MM-DD")
inTheLastIn the lastNumber of days
notInTheLastNot in the lastNumber of days
inPlaylistIn playlistPlaylist condition (see below)
notInPlaylistNot in playlistPlaylist condition (see below)
isMissingField is absent or emptyBoolean (see below)
isPresentField has a valueBoolean (see below)

The nature of the field determines the argument type. For example, year and tracknumber require a number, while title and album require a string.

Checking for Missing or Present Tags

The isMissing and isPresent operators let you match tracks based on whether a field has any value at all, regardless of what that value is. They are supported for:

  • Tag fields, such as genre, mood, or any custom tag
  • Role fields, such as composer or conductor
  • Numeric fields where Navidrome stores no value when the tag is absent: the ReplayGain fields (rgtrackgain, rgtrackpeak, rgalbumgain, rgalbumpeak), bpm, and bitdepth (a missing bit depth also matches lossy formats such as MP3, which have no bit depth)
  • Text fields, where an empty value also counts as missing: album, comment, lyrics, catalognumber, discsubtitle, albumcomment, explicitstatus, sorttitle, sortalbum, sortartist, sortalbumartist, and the MusicBrainz ID fields (mbz_album_id, mbz_album_artist_id, mbz_artist_id, mbz_recording_id, mbz_release_track_id, mbz_release_group_id)

Each takes a single field mapped to a boolean. The boolean inverts the check, so isMissing and isPresent are mirror images of each other:

{ "all": [{ "isMissing": { "genre": true } }] }

The example above matches tracks that have no genre tag. The following all describe the opposite condition (tracks that do have a genre tag):

{ "isMissing": { "genre": false } }
{ "isPresent": { "genre": true } }

The inPlaylist and notInPlaylist operators take a condition object with the playlist’s id:

{ "inPlaylist": { "id": "dVX0hgcj4JJFjTs66xpEqI" } }

To get a playlist’s ID, navigate to the playlist in the Navidrome UI and check the URL. The ID is the last part of the URL after the /playlists/ path:

Here’s a complete example of a Smart Playlist that includes all tracks from another playlist, shuffled randomly:

{
  "all": [{ "inPlaylist": { "id": "dVX0hgcj4JJFjTs66xpEqI" } }],
  "sort": "random",
  "limit": 50
}

Alternatively, the inPlaylist and notInPlaylist operators can take a path argument, which can either be absolute or relative to your playlist. This allows your smart playlists to be tranferrable between servers.

{ "inPlaylist": { "path": "../other_playlist.nsp" } }

Here’s an example of building a smart playlist out of multiple more focused playlists. Keep all the rules under a single top-level group (all or any) and nest a group when you need to mix the two logics: a top-level any and all cannot be combined at the same level.

{
  "name": "Overplayed Favorites",
  "comment": "Most Played Favorites Played Within Last 4yr",
  "public": true,
  "all": [
    { "inPlaylist": { "path": "most-played-favorites.nsp" } },
    { "notInPlaylist": { "path": "favorites-not-played-in-4-yrs.nsp" } }
  ],
  "sort": "playCount, lastPlayed"
}

2.2 - Multi-Library Support

Learn how to set up and manage multiple music libraries in Navidrome with user-specific access controls.

Overview

Navidrome supports multiple music libraries since v0.58.0, allowing you to organize your music into separate collections with user-specific access controls. This feature is perfect for:

  • Separating different types of content (music vs. audiobooks)
  • Organizing by quality (lossy vs. lossless)
  • Separating personal collections (family members, roommates)
  • Organizing by genre or era (classical, jazz, modern)
  • Managing different sources (official releases vs. bootlegs/live recordings)

How Multi-Library Works

Default Library

When Navidrome starts, it automatically creates a default library using your MusicFolder configuration. This becomes “Library 1” and all existing users automatically get access to it, ensuring backward compatibility.

User Access Control

  • Admin users automatically have access to all libraries
  • Regular users must be explicitly granted access to libraries by an administrator
  • Users can only see and access music from libraries they have permission to use
  • Each user can switch between their accessible libraries using the library selector in the UI

Data Isolation

  • Albums are scoped to a single library; each library maintains its own set of albums and their songs.
  • Artists can have albums and songs spread across multiple libraries. The same artist may appear in several libraries, each with different albums or tracks.
  • Artist statistics and metadata are aggregated across all libraries where the artist appears.
  • Playlists can contain songs from multiple libraries (if the user has access to those libraries)
  • Smart playlists can be scoped to specific libraries
  • Search results are filtered by the user’s accessible (and selected) libraries

Setting Up Multi-Library

Creating Additional Libraries

  1. Access Library Management

    • Log in as an administrator
    • Go to Settings → Libraries
  2. Create a New Library

    • Click the "+" button to add a new library
    • Provide a Name for the library (e.g., “Audiobooks”, “FLAC Collection”)
    • Set the Path to the folder containing your music files
    • Optionally set the library as default for new users
    • Click Save
  3. Initial Scan

    • The new library will automatically begin scanning
    • Monitor the scanning progress in the Activity Panel
    • Large libraries may take time to complete the initial scan

Managing User Access

  1. Assign Libraries to Users

    • Go to Settings → Users
    • Click on a user to edit their settings
    • In the Libraries section, check the libraries the user should access
    • Click Save
  2. Verify Access

    • Users will see a library selector in the sidebar if they have access to multiple libraries
    • The library selector is displayed in the top left corner of the UI
    • Users can select multiple libraries to browse and listen to their music

Configuration Considerations

File Organization

Each library should have its own root folder structure:

/music/main/           # Default library (MusicFolder)
├── Artist 1/
├── Artist 2/
└── ...

/music/audiobooks/     # Audiobooks library
├── Author 1/
├── Author 2/
└── ...

/other_path/lossless/       # High-quality library
├── Artist 1/
├── Artist 2/
└── ...

It is up to the user where to save music collections. You can store your artists in /music or any other path you want to use.

Permissions

  • The Navidrome user must have read access to all library folders
  • Consider using the same ownership/permissions across all library folders
  • Ensure adequate disk space for each library’s cache and metadata

Performance

  • Each library maintains its own file system watcher
  • Multiple libraries scanning simultaneously may impact performance
  • Consider staggering initial scans of large libraries
  • Large numbers of libraries may affect UI performance

Using Multi-Library

Switching Libraries

  • Use the library selector in the sidebar to select visible libraries
  • All browsing, searching, and playback is scoped to the selected libraries

Cross-Library Features

  • Playlists: Can contain songs from multiple libraries (user must have access)
  • Smart Playlists: Can be scoped to specific libraries using filters
  • Search: Results from all accessible libraries (filtered by permissions)
  • Statistics: Maintained separately per library

API and Client Support

Subsonic API

  • The getMusicFolders endpoint returns all libraries accessible to the authenticated user
  • All other endpoints respect the user’s library permissions
  • Clients that support multiple music folders will work with Navidrome’s multi-library feature

Client Compatibility

Most Subsonic-compatible clients that support multiple music folders will work with Navidrome’s multi-library feature. Check your client’s documentation for music folder support.

Troubleshooting

Library Not Scanning

  • Verify the path exists and is readable by the Navidrome user
  • Check the logs for permission errors
  • Ensure the path doesn’t overlap with other libraries

User Cannot Access Library

  • Verify the user has been granted access to the library in user settings
  • Check that the library has completed its initial scan

Performance Issues

  • Monitor system resources during simultaneous library scans
  • Consider adjusting scanner settings if experiencing high I/O

Best Practices

  • Design your folder structure before creating libraries
  • Use clear, descriptive names for libraries
  • Consider future growth when organizing

2.3 - Jukebox mode

Activate Navidrome’s Jukebox mode

Introduction

Navidrome’s Jukebox feature is a built-in functionality that allows users to play music directly to the server’s audio hardware. This essentially turns your server into a jukebox, enabling you to play songs or playlists remotely through a supported Subsonic client. With the Jukebox feature, you can control the audio playback in real-time, just like you would with any other media player. It’s a convenient way to enjoy your music collection without the need for additional hardware or software. Ideal for parties, background music, or personal enjoyment, this feature enhances the versatility of your Navidrome server setup.

Navidrome’s Jukebox mode is based on the OpenSource audio player MPV. MPV is a mature and tested audio/videoplayer that is supported on many platforms. Navidrome’s Jukebox mode uses MPV for audio playback in combination with MPV’s feature to be controlled through IPC.

MPV Installation

MPV must be present on the system where the Navidrome server runs. You might find it already installed or could install it yourself using the methods given on the MPV’s installation page.

The minimal requirement is the IPC support. MPV added IPC support with version 0.7.0 for Linux and macOS and added Windows support with version 0.17.0. Your OS will most probably include newer versions (0.3X) which we recommend. After the installation check the version with:

$ mpv --version

Jukebox mode will use the MPV audio device naming scheme for its configuration. To get an overview about the available audio devices on the system do:

$ mpv --audio-device=help

Here is an example on macOS:

List of detected audio devices:
  'auto' (Autoselect device)
  'coreaudio/AppleGFXHDAEngineOutputDP:10001:0:{D109-7950-00005445}' (BenQ EW3270U)
  'coreaudio/AppleUSBAudioEngine:Cambridge Audio :Cambridge Audio USB Audio 1.0:0000:1' (Cambridge Audio USB 1.0 Audio Out)
  'coreaudio/BuiltInSpeakerDevice' (MacBook Pro-Lautsprecher)

or on Linux:

List of detected audio devices:
  'auto' (Autoselect device)
  'alsa' (Default (alsa))
  'alsa/jack' (JACK Audio Connection Kit)
  'alsa/default:CARD=Headphones' (bcm2835 Headphones, bcm2835 Headphones/Default Audio Device)

  ...

  'jack' (Default (jack))
  'sdl' (Default (sdl))
  'sndio' (Default (sndio))

Please use the full device name if you do not want to use MPV’s auto device. For example on macOS:

"coreaudio/AppleUSBAudioEngine:Cambridge Audio :Cambridge Audio USB Audio 1.0:0000:1"

Configuration

Jukebox mode is enabled by setting this option in your configuration file (normally navidrome.toml):

Jukebox.Enabled = true

In most cases, this should be the only config option needed.

The MPV binary should be found automatically on the path. In case this does not work use this configuration option:

MPVPath = "/path/to/mpv"

Jukebox mode will use MPV’s auto device for playback if no device is given.

One can supply an array of multiple devices under Jukebox.Devices (note: this config option cannot be set as an environment variable):

Jukebox.Devices = [
    # "symbolic name " "device"
    [ "internal",     "coreaudio/BuiltInSpeakerDevice" ],
    [ "dac",          "coreaudio/AppleUSBAudioEngine:Cambridge Audio :Cambridge Audio USB Audio 1.0:0000:1" ]
]

and select one by using Jukebox.Default:

Jukebox.Default = "dac"

Here is one example configuration:

# Enable/Disable Jukebox mode
Jukebox.Enabled = true

# List of registered devices, syntax:
#  "symbolic name " - Symbolic name to be used in UI's
#  "device" - MPV audio device name, do mpv --audio-device=help to get a list

Jukebox.Devices = [
    # "symbolic name " "device"
    [ "internal",     "coreaudio/BuiltInSpeakerDevice" ],
    [ "dac",          "coreaudio/AppleUSBAudioEngine:Cambridge Audio :Cambridge Audio USB Audio 1.0:0000:1" ]
]

# Device to use for Jukebox mode, if there are multiple entries above.
# Using device "auto" if missing
Jukebox.Default = "dac"

The MPVCmdTemplate / Snapcast integration

There might be cases, where you want to control the call of the mpv binary. Noteable mentions would be the integration with Snapcast for multi room audio. You can use the MPVCmdTemplate for this.

The default value is mpv --audio-device=%d --no-audio-display --pause %f --input-ipc-server=%s.

SymbolMeaning
%sPath to IPC server socket
%dAudio device (see above)
%fPath to file to play

To integrate with Snapcast alter the template:

MPVCmdTemplate = "mpv --no-audio-display --pause %f --input-ipc-server=%s --audio-channels=stereo --audio-samplerate=48000 --audio-format=s16 --ao=pcm --ao-pcm-file=/tmp/snapfifo"

This assumes Snapcast is running on the same machine as Navidrome. Check the Snapcast documentation for details.

Usage

Once Jukebox mode is enabled and configured, to start playing music through your servers speakers you’ll need to download a third-party Subsonic client. This client acts as a remote control. Not all Subsonic clients support Jukebox mode and you’ll need to check that your client supports this feature.

Jukebox mode is currently not supported through the Navidrome Web UI.

Troubleshooting

If Jukebox mode is enabled one should see the message “Starting Jukebox service” in the log. The number of detected audio devices and the device chosen will be given in the log as well:

INFO[0000] Starting playback server
INFO[0000] 4 audio devices found
INFO[0000] Using default audio device: dac

For further troubleshooting, set Navidrome’s loglevel to DEBUG:

LogLevel = 'DEBUG'

2.4 - Sharing

How to create links to your media to be shared on Facebook, X, WhatsApp

Navidrome has a “Sharing” feature which allows users to generate a shareable link for a track, album, artist, or playlist. This link can then be sent to friends, allowing them to listen or download the music without having an account on your Navidrome instance.

Enabling and Disabling Sharing

The Sharing feature is enabled by default. To turn it off, set EnableSharing=false in your configuration file, or set the environment variable ND_ENABLESHARING=false.

Any user can create shares. Each user only sees and manages the shares they created (editing a share’s description and expiration date, or deleting it); administrators can see and manage all shares. A share’s content is limited to the libraries its owner can access.

Sharing is controlled by a single server-wide toggle, so there is no per-user setting for who may create shares. If you’d rather your users not create public links, disable the feature as shown above.

Default Expiration for Shares

By default, new shares (public links) expire after 1 year (“8760h”). You can set a different default expiration time for all new shares using the DefaultShareExpiration config option. This sets how long new shares will be valid, unless you manually change the expiration when creating the share.

Set it in your config file:

DefaultShareExpiration = "8760h"  # Shares expire after 1 year by default

Or as an environment variable:

ND_DEFAULTSHAREEXPIRATION=8760h

Use values like "24h" or "1h30m". Valid suffixes are "h" (hours), "m" (minutes), and "s" (seconds).

Using the Sharing Feature

When browsing your music collection, you will notice a “Share” button or menu item available for each item, be it a track, album, artist, or playlist. To share an item, simply click on this “Share” button.

Upon clicking the “Share” button, a dialog box will appear, allowing you to configure your share. This includes setting a description other configurations for the share.

Once you have configured your share as desired, click the “Share” button. This will generate a unique shareable link, which you can then copy and share with your friends.

The generated sharable links will be in the following format: http://yourserver.com/share/XXXXXXXXXX. If you have Navidrome behind a reverse proxy, ensure you allow traffic to /share.

Subsonic API Endpoints

The Sharing feature also implements the related Subsonic API endpoints. See the API docs for implemented endpoints

Meta-tags to HTML

Meta-tags are added to the HTML to provide some information about the shared music on chat platforms. Example of a link shared in Discord:

2.5 - Scrobbling

Information on setting up scrobbling with Last.fm and ListenBrainz.

Navidrome allows you to easily scrobble your played songs to Last.fm and ListenBrainz.

Last.fm

  1. Ensure you have the API Key and API Secret set according to the instructions in External Integrations.
  2. Go to your user profile’s Personal Settings.
  3. Toggle the option Scrobble to Last.fm, a new browser tab will open directing you to Last.fm.

  1. If you are not logged in, then log in with your Last.fm credentials.

  1. Click “Yes, allow access”.

ListenBrainz

  1. Toggle the option Scrobble to ListenBrainz. If you already have a User key generated, skip to step 4.
  2. Click on the appropriate link in the pop-up that opens.

  1. On the ListenBrainz website, either generate a new token or copy your existing one, then go back to your Navidrome tab.

  1. Paste the token in the pop-up and save.

If you are using a self-hosted ListenBrainz-compatible server (e.g., Maloja), you can change the ListenBrainz.BaseURL config option to point to your instance.

Scrobble Filter

Starting with version 0.64.0, each user can keep some songs out of their scrobbles. Maybe you do not want holiday music in your Last.fm profile, or you only want songs rated 4 stars or more to shape your recommendations.

The filter uses the same JSON rules as smart playlists. Navidrome does not send matching songs to Last.fm, ListenBrainz or scrobbler plugins. It still counts the play locally, so play counts and scrobble history stay complete.

To set a filter, edit the user and paste the rules in the Scrobble filter field. Admins can do this for any user in Settings > Users. Regular users can set their own filter from their profile, if EnableUserEditing is on. Leave the field empty to scrobble everything.

Skip songs with the genre “Christmas”:

{"all":[{"is":{"genre":"Christmas"}}]}

Skip songs rated below 4 stars. Unrated songs have a rating of 0, so this skips them too:

{"all":[{"lt":{"rating":4}}]}

Skip everything in one library:

{"all":[{"is":{"library_id":3}}]}

The filter checks one song at a time, so limit, limitPercent, offset and refreshDelay make no sense here. Navidrome rejects rules that use them, and rules with unknown fields.

Scrobble History

Starting with version 0.59.0, Navidrome tracks your scrobble/listen history natively. This means that for music added after this version, Navidrome maintains a complete record of when each track was played. This historical data will be used in future features such as statistics and analytics (“Navidrome Wrapped” style reports).

2.6 - Plugins

Extend Navidrome’s functionality with community-developed plugins

Navidrome supports a plugin system that allows you to extend its functionality with community-developed extensions. Plugins run in a secure WebAssembly sandbox, providing isolation from the main application while enabling powerful customizations.

What Plugins Can Do

Plugins can extend Navidrome in several ways:

  • Metadata Agents: Fetch artist biographies, album information, and images from external sources
  • Scrobblers: Send your listening history to external services beyond the built-in Last.fm and ListenBrainz support
  • Scheduled Tasks: Run periodic background tasks
  • Event Handlers: React to events like playback or websocket events

Each plugin declares which capabilities it provides, and you can enable only the plugins you need.

Finding Plugins

Community-developed plugins can be found on GitHub using the navidrome-plugin topic.

When evaluating a plugin, consider:

  • Repository activity: Check when the plugin was last updated
  • Documentation: Look for clear installation and configuration instructions
  • Issues and discussions: Review any reported problems or user feedback
  • Source code: Plugins are open source, so you can review the code before installing

Installing Plugins

  1. Download the plugin: Go to the plugin’s GitHub repository and download the .ndp file from the Releases page.

  2. Place in plugins folder: Copy the .ndp file to your plugins directory:

    • Default location: <DataFolder>/plugins
    • Custom location: Set Plugins.Folder in your configuration
  3. Rescan for plugins: Click the “Rescan” button in the Plugins section of the web UI, or if you have Plugins.AutoReload = true configured, the plugin will be detected automatically.

  4. Enable the plugin: Go to the Navidrome web UI, navigate to the Plugins section in the admin area, and enable the plugin.

  5. Configure the plugin: Some plugins require additional configuration. Check the plugin’s documentation for required settings.

Server Configuration

The following configuration options control the plugin system:

In config fileAs an env varDescriptionDefault Value
Plugins.EnabledND_PLUGINS_ENABLEDEnable the plugin systemtrue
Plugins.FolderND_PLUGINS_FOLDERDirectory where plugin (.ndp) files are stored"<DataFolder>/plugins"
Plugins.AutoReloadND_PLUGINS_AUTORELOADWatch plugins folder for changes and reload automaticallyfalse
Plugins.LogLevelND_PLUGINS_LOGLEVELLog level for plugins (error, warn, info, debug, trace)Inherit from LogLevel
Plugins.CacheSizeND_PLUGINS_CACHESIZESize of WebAssembly compilation cache"200MB"

Example Configuration

[Plugins]
Enabled = true
Folder = "/path/to/plugins"    # Optional: custom plugins folder
AutoReload = true              # Useful during development/testing
LogLevel = "debug"             # Enable detailed plugin logging
CacheSize = "200MB"            # WASM compilation cache size

Or using environment variables (useful for Docker):

ND_PLUGINS_ENABLED=true
ND_PLUGINS_FOLDER=/data/plugins
ND_PLUGINS_AUTORELOAD=true
ND_PLUGINS_LOGLEVEL=debug

Managing Plugins in the Web UI

Once plugins are installed, you manage them through the Navidrome web interface:

Viewing Installed Plugins

Navigate to the Plugins section in the admin area to see all installed plugins. Each plugin shows its name, description, version, and current status.

Enabling and Disabling Plugins

Toggle individual plugins on or off. Disabled plugins remain installed but won’t run.

Configuring Plugin Settings

Many plugins have configurable options. Click on a plugin to view and modify its settings. The available options depend on what the plugin supports - check the plugin’s documentation for details on each setting.

User Access

Some plugins are user-scoped, meaning they operate on a per-user basis (like scrobblers). For these plugins, you need to configure which users have access:

  • All users: Grant access to every user
  • Specific users: Select individual users who can use the plugin

Library Access

Plugins that interact with your music library may need library access configured:

  • All libraries: Grant access to all libraries
  • Specific libraries: Select which libraries the plugin can access

Security

WebAssembly Sandbox

All plugins run inside a WebAssembly (WASM) sandbox provided by the Extism runtime. This means:

  • Plugins cannot directly access your filesystem (except explicitly granted library paths)
  • Network access is restricted to hosts declared in the plugin’s manifest
  • Plugins are isolated from each other and from Navidrome’s internal systems

Permission System

Each plugin declares the permissions it needs in its manifest:

  • HTTP access: Which external hosts the plugin can contact
  • Storage: Whether the plugin can store persistent data
  • Library access: Whether the plugin needs to read your music files
  • User access: Whether the plugin operates on a per-user basis

Review these permissions before enabling a plugin to understand what it can access.

Network Access to Local Services

A plugin can only open HTTP and WebSocket connections to the hosts listed in its manifest. Starting with version 0.64.0, Navidrome checks the IP address when the connection opens, not only the host name. A host name in the manifest, like api.example.com, never allows a connection to a private, loopback or link-local address, even if that name resolves to one. This blocks a plugin from reaching your local network through DNS tricks or redirects.

To reach a service on your local network, the plugin manifest must list its IP address or a CIDR range, like 192.168.1.50 or 192.168.0.0/16, or allow all hosts with "*". Plugins that let you type the service address in their settings, like AudioMuse-AI, usually use "*".

If a plugin worked before 0.64.0 and now cannot reach a service on your network, ask its author to update the manifest.

Best Practices

  • Only install plugins from trusted sources
  • Review the plugin’s source code if you have concerns
  • Start with plugins disabled and enable them one at a time
  • Monitor your logs after enabling new plugins
  • Keep plugins updated to get security fixes

Troubleshooting

Plugin Not Appearing

  • Verify the .ndp file is in the correct plugins folder
  • Check that Plugins.Enabled = true in your configuration
  • Click the “Rescan” button in the Plugins section to detect new plugins
  • Check logs for any errors during plugin discovery

Plugin Won’t Enable

  • Check the Navidrome logs for error messages
  • Verify all required permissions are configured (users, libraries)
  • Ensure the plugin’s configuration requirements are met
  • Try setting Plugins.LogLevel = "debug" for more detailed logs
  • If the logs show HTTP request ... is not allowed, the plugin uses an HTTP call that Navidrome 0.64.0 removed. Update the plugin, or ask its author for a version built with the current plugin SDK

Configuration Issues

  • Refer to the plugin’s documentation for required settings
  • Check that configuration values match the expected format
  • Look for validation errors in the logs

Checking Logs

Enable debug logging for plugins to troubleshoot issues:

[Plugins]
LogLevel = "debug" # or "trace" for more verbosity

Plugin-related log messages will contain plugin=<plugin-name> in them, making it easy to filter and identify issues.

2.7 - Jellyfin API (Experimental)

Connect Jellyfin music clients, like Finamp and Jellify, to Navidrome

Starting with version 0.64.0, Navidrome can answer a subset of the Jellyfin API. Music apps built for Jellyfin can connect to Navidrome and play your library. You do not need a Jellyfin server.

Enabling the API

The Jellyfin API is off by default. Turn it on in your configuration file:

Jellyfin.Enabled = true

Or with an environment variable:

ND_JELLYFIN_ENABLED=true

Restart Navidrome. The API is now at the /jellyfin path of your server, for example http://192.168.1.10:4533/jellyfin. If you set a BaseURL, the path goes after it: https://example.com/music/jellyfin.

Connecting a client

We test the API with Finamp, Jellify and Feishin. Other Jellyfin music clients may work too.

  1. In the client, add a new server.
  2. Enter the server address with /jellyfin at the end, for example http://192.168.1.10:4533/jellyfin.
  3. Log in with your Navidrome username and password.

Every client device that connects shows up as a player in Settings > Players. If you set a transcoding format on that player, Navidrome applies it to the Jellyfin streams too. Downloads always send the original file.

Finding the server on your network

Some clients can find Jellyfin servers on your local network, so you do not have to type the address. Navidrome can answer these searches. This is off by default, because a real Jellyfin server on the same machine uses the same port. Turn it on with:

Jellyfin.AutoDiscovery = true

Navidrome then listens on UDP port 7359. If another program already uses that port, Navidrome logs a warning and keeps running without discovery.

The client gets the address from your BaseURL, if it has a host. If not, Navidrome sends its own IP address and Port. If Navidrome listens only on one IP address (Address) and clients cannot reach that IP, set BaseURL to the address clients should use.

Docker

Clients find the server with a broadcast message. On Linux, Docker does not send broadcast messages to a container in the default (bridge) network mode, even if you publish port 7359. You must use host networking:

services:
  navidrome:
    image: deluan/navidrome:latest
    network_mode: host
    environment:
      ND_JELLYFIN_ENABLED: "true"
      ND_JELLYFIN_AUTODISCOVERY: "true"
    # ...keep your user, volumes and other settings

With the docker command line tool, use --network host.

With host networking, Docker ignores the ports section. Navidrome uses the ports of the host directly: 4533 for the web UI and API, and UDP 7359 for discovery. Navidrome also sees the real IP of the host, so you do not need to set BaseURL for discovery.

If you cannot use host networking, turn auto-discovery off and type the server address in the client.

Quick Connect

Quick Connect lets you log in a new device without typing your password on it. It is on by default.

  1. In the client, choose Quick Connect. The client shows a 6-digit code.
  2. In the Navidrome web UI, open the user menu (top right) and click Quick Connect. You can also use a Jellyfin client where you are already logged in.
  3. Type the code. Navidrome shows the app and the device that asked for it. Check that you know them, then approve.
  4. The client logs in with your user.

A code expires after 10 minutes, or when Navidrome restarts. Each code logs in one time only. Approving codes counts against the same login rate limit as a normal login.

To turn Quick Connect off:

Jellyfin.QuickConnect = false

Login screen user list

Some clients show a list of users on the login screen, so you tap a name and type only the password. Anyone who can reach your server can see this list without logging in. For that reason Navidrome shows no users by default. To show some, list their usernames:

Jellyfin.ExposedPublicUsers = "alice, bob"

Sessions

A Jellyfin login token does not expire, same as in Jellyfin. To log a user out of all their Jellyfin clients, change that user’s password. Login attempts count against the same login rate limit as the web UI.

What works

  • Libraries. Each Navidrome library the user can access shows up as its own music library in the client.
  • Browsing and search. Artists, albums, songs, genres and playlists. Clients can filter by year and record label.
  • Favorites and ratings for songs, albums, artists and playlists.
  • Playlists. Create, rename, reorder, add and remove tracks, change the cover, and delete. Only the owner can change a playlist.
  • Streaming, with transcoding and ReplayGain.
  • Lyrics, from the same sources as the web UI (see LyricsPriority).
  • Playback reports. Plays count in Navidrome and scrobble to Last.fm, ListenBrainz and scrobbler plugins.
  • Instant Mix from a song, album, playlist or genre.
  • Sonic similarity. With a sonic similarity plugin such as AudioMuse-AI, clients get similar tracks and song-to-song paths. Navidrome also answers the AudioMuse-AI endpoints that some clients, like Symfonium, call when they connect as a Jellyfin client.

Configuration options

  • Jellyfin.Enabled (ND_JELLYFIN_ENABLED, default false). Turns the Jellyfin API on.
  • Jellyfin.ServerName (ND_JELLYFIN_SERVERNAME, default "Navidrome <version>"). The server name that clients show.
  • Jellyfin.ExposedPublicUsers (ND_JELLYFIN_EXPOSEDPUBLICUSERS, default empty). Comma-separated usernames to show on the client login screen. See above.
  • Jellyfin.AutoDiscovery (ND_JELLYFIN_AUTODISCOVERY, default false). Answers Jellyfin client searches on the local network (UDP port 7359). See above.
  • Jellyfin.QuickConnect (ND_JELLYFIN_QUICKCONNECT, default true). Lets users log in new devices with a 6-digit code. See above.
  • Jellyfin.MaxConcurrentStreams (ND_JELLYFIN_MAXCONCURRENTSTREAMS, default half the database connection pool, at least 2). How many large list responses Navidrome sends at the same time. Each one holds a database connection until it ends, and extra requests wait. The default leaves the other half of the connections for the scanner, scrobbles and the web UI. You rarely need to change it.

Known limitations

  • The genre list shows genres from all libraries, not only the ones the user can access.
  • While artwork loads, clients show a placeholder in one solid color, not a blurred copy of the cover.
  • The client’s live connection only keeps the session open. Navidrome does not push events, like library changes, over it.

Troubleshooting

If a client fails on some screen, it may be calling an endpoint that Navidrome does not answer yet. Set LogLevel = "debug" and look for log lines with Jellyfin API: unhandled route. Each one shows the method and path the client asked for. Add those lines when you open an issue.

3 - Library Management

Manage your music library in Navidrome

3.1 - Tagging Guidelines

Learn how to tag your music library for optimal use with Navidrome, including best practices for tagging files, handling multiple artists, and using tag editors.

Why Proper Tagging is Important

Navidrome organizes your music library entirely based on the metadata tags in your audio files. Unlike some music players, it does not use folder names or file names to group tracks (why?). This means that having clean and consistent tags is crucial for your music to display correctly. Proper tagging ensures that albums aren’t split up, artists are listed correctly, and you can easily browse or search for your music in Navidrome.

Good tagging practices not only make your music library more enjoyable to use, but also make it future-proof: If you ever switch to a different music player/server, or want to use a different music management tool, having well-tagged files will make the transition smoother.

Tagging Basics and Best Practices

Consistent and Complete Metadata

  • Fill in essential tags for every song: At minimum, each music file should have the Title (song name), Artist, Album, Album Artist, and Track Number. Optionally include Genre, Year/Date and Disc Number (for multi-disc albums). Consistent use of these fields allows Navidrome to accurately group and identify your music.
  • Be consistent with naming: Use the same spelling and punctuation for artist and album names across all tracks. For example, decide whether an artist is “AC/DC” or “ACDC”, “The Beatles” or “Beatles”, and stick to one. Consistent naming prevents duplicate entries for what is actually the same artist or album.
  • Avoid unknown or blank tags: Make sure important fields aren’t left blank or set to generic values like “Unknown Artist”. Tracks with missing tags may be hard to find or get grouped incorrectly in Navidrome.

Key Metadata Fields and Usage

Each tag field has a specific purpose. Here are the important ones and how to use them:

  • Title: The name of the song. (Example: “Imagine”)
  • Artist: The performing artist(s) for the song. (Example: “John Lennon”) If a track has multiple artists, include all of them here (see Handling Multiple Artists below).
  • Album: The name of the album the song belongs to. All tracks in the same album should have exactly the same Album tag.
  • Album Artist: The primary artist for the album. This is usually the album’s main artist or group, or “Various Artists” for a compilation. Every track in an album should share the same Album Artist so Navidrome knows they belong to one album. For example, on a soundtrack or compilation album, set Album Artist to “Various Artists”. If a track has multiple album artists (like collaboration albums), include all of them here (see Handling Multiple Artists below).
  • Track Number: The song’s track number on the album. This can be just the track number (like “5”) or a fraction like “5/12” to indicate track 5 of 12. Use leading zeros if your tag editor requires (e.g., “05”). Proper track numbers help Navidrome sort songs in the album’s order.
  • Disc Number: If an album spans multiple discs, use this to differentiate disc 1, disc 2, etc. For example, “1/2” for Disc 1 of 2. Ensure all tracks that are on the same disc have the same disc number, and all tracks share the Album name. Navidrome will group multi-disc albums together and may show disc divisions.
  • Year/Date: The date associated with the track. While not strictly required, it is useful information and many views or clients use it. All date fields accept YYYY, YYYY-MM, or YYYY-MM-DD. Navidrome recognizes several distinct date tags, each with its own meaning:
    • DATE: The recording date of the track (stored internally as recordingdate; ID3v2.4 TDRC).
    • YEAR: Treated as the release date (it is an alias of releasedate). Note that a plain YEAR tag maps to the release date, not the recording date.
    • RELEASEDATE: The release date of the album (same field as YEAR).
    • ORIGINALDATE/ORIGINALYEAR: The original release date of the album (stored internally as originaldate).
  • Genre: The genre of the music (e.g., Rock, Jazz). This is a multi-valued field and can help when browsing or creating genre-based playlists.
  • Compilation (Part of a Compilation): A special flag for various-artists albums. For a “Various Artists” compilation album, set this tag on all its tracks so Navidrome treats them as one album. In MP3/ID3 tagging, this is often labeled “Part of a Compilation” (technically the TCMP frame) which should be set to “1” (true). In FLAC/Vorbis tags, use a tag named COMPILATION with value “1”. Not all editors show this field explicitly, but many (like iTunes or Picard) will mark an album as a compilation for you if you specify it. If you can’t find this tag, simply ensuring Album Artist is “Various Artists” usually works, but using the compilation tag is a best practice.

File and Folder Naming (Optional but Helpful)

Navidrome ignores actual file names and folder structure when organizing music (it relies on tags), but a clear naming scheme is still recommended for your own sanity and compatibility with other tools:

  • Use a folder structure like Artist/Album/ for your files, and file names like "01 - Song Title.mp3". For example: Music/Queen/A Night at the Opera/01 - Death on Two Legs.mp3. This isn’t required for Navidrome, but keeping your files organized logically makes management easier and reduces confusion.
  • Keep naming conventions consistent. For instance, decide on a pattern for file names (Track - Title or Artist - Title, etc.) and apply it across your library. Similarly, maintain consistent folder naming (avoid having one folder called “Greatest Hits” and another called “GreatestHits” for example).
  • If you use a tool like Picard or MediaMonkey, you can often configure it to rename and sort files into folders based on tags automatically. This can help enforce consistency after you’ve tagged everything.
  • Remember, if you do rename or move files, Navidrome will update on the next scan (since it scans the library folder). Just make sure the tags inside the files are correct, because that’s still what Navidrome will use to display your music.

Album Art Handling

Including album cover art enhances the Navidrome experience. Here’s how to manage artwork:

  • Embed cover art in audio files: Embedding the album cover in each music file’s tags is a reliable way to ensure Navidrome finds it. Most tagging tools allow you to add an image (JPEG/PNG) to the file’s metadata. Navidrome will display embedded cover art when browsing albums or playing songs.
  • Use folder images: Additionally, save the album cover image as a file in the album’s folder (common names are cover.jpg, folder.jpg, or front.png). By default, Navidrome looks for images with those names. If it finds one, it will use it for the album cover. This is useful if you prefer not to embed large images in every file, or to provide artwork for players that look for folder images.
  • Image quality: Use reasonably sized images. 500x500 to 1000x1000 pixels is usually plenty. Extremely large images (e.g., 3000x3000) will work, but keep in mind they take more space and can make the UI sluggish. Navidrome will cache thumbnails for performance, but it’s good practice not to go overboard.
  • Consistency: Ensure all tracks of an album have the same album art. If you embed art, embed the same image in each track of that album (most tools can do this in batch). If you’re using a folder image, one image in the folder is enough for all songs in that album.
  • Handling missing art: If you don’t have art for an album, Navidrome might try to fetch it from the internet (Last.fm or Apple Music) if enabled, but it’s best to supply your own for completeness and offline use. Taking the time to add cover art makes browsing much nicer.

Handling Multiple Artists and Collaborations

When tagging tracks with multiple artists or collaborators, it’s important to clearly and consistently represent each artist. Navidrome supports both singular (ARTIST and ALBUMARTIST) and plural (ARTISTS and ALBUMARTISTS) tags. However, multi-valued tags (ARTISTS and ALBUMARTISTS) are preferred, as they allow Navidrome to more accurately identify individual artists and improve library organization.

  • Preferred:
    • Use multiple ARTISTS tags to explicitly specify each artist individually.
    • Example (FLAC/Vorbis comments):
      ARTISTS=Alice
      ARTISTS=Bob
      
    • Navidrome clearly distinguishes each artist.
    • Facilitates better searching, sorting, and browsing.

Singular vs. Plural Tags

  • Singular (ARTIST): Typically a single text entry (e.g., “Artist1 feat. Artist2”).

    • Navidrome will attempt to parse this field into multiple artists if one of the default separators is found: " / ", " feat. ", " feat ", " ft. ", " ft ", or "; ". Matching is case-insensitive (so " FEAT. " works too), and only applies to single-valued tags — multi-valued tags are never split.
    • However, relying on separators is less precise than multi-valued tags.
  • Plural (ARTISTS): Explicitly multi-valued tag allowing multiple distinct entries.

    • Each artist can have individual associated metadata (like MusicBrainz IDs).
    • Preferred method, as it avoids ambiguity and parsing errors.

Navidrome treats the display name (the text shown in the UI) and the individual artists (the entries you can browse and click) as two separate things:

  • If you have both singular and plural tags, Navidrome uses the singular one (ARTIST or ALBUMARTIST) only as the display name, and takes the individual artists from the plural tag (ARTISTS or ALBUMARTISTS). In this case the singular tag is not split — it is shown verbatim.
  • If you provide only a plural tag (no singular one), the display name is built automatically by joining its values with " • " (e.g. Alice • Bob). This joiner is configurable via the Scanner.ArtistJoiner option.

This is why the ideal example below sets both: ARTIST controls how the name reads (Alice feat. Bob), while ARTISTS preserves Alice and Bob as distinct, individually-linkable artists.

Examples:

Ideal tagging (FLAC/Vorbis Comments example):

TITLE=Sunshine
ARTIST=Alice feat. Bob
ARTISTS=Alice
ARTISTS=Bob
ALBUM=Brighter Days
ALBUMARTIST=Alice
TRACKNUMBER=7

Less ideal (single-valued ARTIST):

TITLE=Sunshine
ARTIST=Alice feat. Bob
ALBUM=Brighter Days
ALBUMARTIST=Alice

In the ideal example, Navidrome clearly identifies each artist separately. In the less ideal example, Navidrome may split the artist names based on the default separators (like " feat. ", " / ", or "; "), but it’s less accurate. Note that the display name still shows the full ARTIST string (Alice feat. Bob); the split only affects the individual artists.

Multi-Valued Tags Support by Format

  • Vorbis/FLAC, Opus: Multi-valued tags are fully supported and straightforward.
  • ID3v2.4 (MP3): Supports true multi-valued tags, similar to Vorbis.
  • ID3v2.3 (Older MP3 format): Does not officially support multiple artists. Instead, use a consistent separator (ex: "; ") if you must combine artists into one tag, though this approach is less ideal. Avoid using this format if possible and prefer the newer ID3v2.4
  • Other tag formats (APE, MP4, WMA): Check your tag editor’s documentation for multi-valued tag support. Most modern tools can handle multi-valued tags in any format.

Best Practices:

  • Always prefer multi-valued tags (ARTISTS and ALBUMARTISTS) when supported by your tagging software.
  • If multi-valued tags are unavailable, use one of the default separators consistently (" / ", " feat. ", " ft. ", or "; ").
  • Maintain consistency throughout your library to avoid duplicate or misidentified artist entries.
  • Always verify how your tags appear in Navidrome and adjust tagging accordingly.

Proper use of multi-valued tags significantly enhances the accuracy and enjoyment of your music library in Navidrome.

Example: For a song “Sunshine” by Alice featuring Bob on the album Brighter Days (which is primarily Alice’s album):

  • In a FLAC (Vorbis comments) file, the recommended tagging is:

    TITLE=Sunshine  
    ARTIST=Alice feat. Bob  
    ARTISTS=Alice  
    ARTISTS=Bob  
    ALBUM=Brighter Days  
    ALBUMARTIST=Alice  
    TRACKNUMBER=7  
    
  • In an MP3 using the older ID3v2.3 format (which lacks multi-valued tags), the closest equivalent is:

    Title: Sunshine  
    Artist: Alice / Bob  
    Album: Brighter Days  
    Album Artist: Alice  
    Track: 7  
    

    In the FLAC example, ARTIST gives the display name (Alice feat. Bob) while the two ARTISTS fields preserve Alice and Bob as distinct, individually-linkable artists. In the ID3v2.3 example, the two names are combined in a single ARTIST field with a " / " separator; Navidrome will split them into Alice and Bob and show Alice / Bob as the display name. Both work, but the FLAC method is more explicit and accurate.

    Note: if you instead put two separate ARTIST values (Alice and Bob) with no ARTISTS tag, the display name becomes Alice • Bob — which is why the ARTIST + ARTISTS combination above is preferred.

Differences in Tag Formats (ID3, Vorbis, APE, etc.)

Different audio file formats use different tagging standards. You don’t need to know all the technical details, but it’s useful to understand the basics so you can tag consistently:

  • MP3 (ID3 tags): MP3 files use ID3 tags (versions 2.3 and 2.4 are common). Most tagging tools default to ID3v2.3 for compatibility with older players. ID3v2.4 is a newer standard that supports features like multiple values in one field. Navidrome can read both. If available, use ID3v2.4 for better multi-artist and multi-genre support. Key ID3 tag frames include:
    • TIT2 (Title)
    • TPE1 (Artist)
    • TALB (Album)
    • TPE2 (Album Artist, in practice)
    • TRCK (Track number)
    • TPOS (Disc number, called “Part of a set”)
    • TYER/TDRC (Year/Date)
    • TCON (Genre)
    • TCMP (Compilation flag)
      You normally don’t need to remember these codes; tag editors handle them for you. Just be aware that some older software might not show an “Album Artist” field for MP3 because ID3v2.3 didn’t officially have it (those tools might be writing it as a custom tag or using TPE2).
  • FLAC, Ogg Vorbis, Opus (Vorbis comments): These formats use Vorbis Comments for tags. Vorbis comments are simple “FIELD=Value” pairs and are very flexible. Common field names are in all caps by convention: e.g., TITLE, ARTIST, ALBUM, ALBUMARTIST, TRACKNUMBER, DISCNUMBER, DATE (year), GENRE. You can have multiple instances of a field to represent multiple values (e.g., two ARTIST lines). Vorbis comments don’t have fixed frames like ID3; you can even add non-standard fields (Picard, for example, can add a MUSICBRAINZ_ALBUMID tag for its own use). The main thing is to use standard field names so that Navidrome (and other players) know what to do with them. Navidrome will read these tags and support multi-valued fields natively.
  • APE tags: APE is another tagging format, used primarily in Monkey’s Audio (.ape files) and sometimes WavPack or Musepack. APE tags also consist of key-value pairs (similar to Vorbis comments). Field names might be similar (often not all-caps; could be “Artist”, “Album”, etc.). If you’re dealing with APE files, just ensure your tag editor writes the standard fields. APE tags, like Vorbis, allow multiple entries of the same field name as well. One caveat: Some MP3 files might have APE tags attached (left over from old software or for ReplayGain data). It’s generally best to avoid having both ID3 and APE on the same MP3, as it can confuse some programs. If you encounter this, use your tag tool to remove or synchronize one of them (Navidrome reads ID3 by default for MP3).
  • MP4/M4A (AAC files): These use the MP4 container’s metadata format (often called MP4 tags or atoms). You’ll see tag codes like ©ART (Artist), ©alb (Album), aART (Album Artist), trkn (track number), etc. Most tag editors (Picard, iTunes, etc.) let you edit these without worrying about the codes. Navidrome fully supports M4A/MP4 metadata, so just make sure to fill in the equivalent fields (including Album Artist and track numbers) and you’re set.
  • WMA (Windows Media): Uses ASF tags. If you have WMA files, fill in the standard fields (Title, Artist, Album, Album Artist, Track number, Year, Genre) in your tag editor. Navidrome will read those as well.
  • Other formats: Navidrome supports many formats (MP3, FLAC, Ogg, Opus, AAC, WMA, APE, etc.). The best practice is to use a good tagging tool which provides a unified interface for editing tags, regardless of the underlying format. The tool will handle mapping your input to the correct tag type for that file. As long as you fill out the tags consistently in the software, you don’t need to manually worry about the format differences — just be aware when switching formats that the same concept might have a different technical name under the hood.

Tagging Tools and Workflow

Because Navidrome is read-only with respect to your files’ metadata, you’ll need to use external tools to edit tags. Here are some recommendations and tips on workflow:

  • Use a tag editor or music manager: Pick a tool that fits your comfort level. For beginners, a user-friendly tag editor with a GUI is ideal. Some popular options:
    • MusicBrainz Picard – Free, open source (Windows/Mac/Linux). Great for auto-tagging files by matching them to the huge MusicBrainz database. Picard can lookup albums by track info or acoustic fingerprint, fill in all tags (including Album Artist and album art), and even rename/move files based on a template. It’s a powerful tool that can greatly speed up tagging and ensure consistency.
    • Mp3tag – Free (Windows, with a Mac version available). Excellent for editing tags in bulk. You can manually edit multiple files, copy/paste tag fields, or use online database lookups. Mp3tag has a simple interface but lots of power under the hood.
    • beets – Free, command-line (cross-platform). Very powerful for auto-organizing and tagging using MusicBrainz data (or Discogs, using plugins), but it requires comfort with terminal commands. Great if you want automation and don’t mind writing a configuration file.
    • Other options: Kid3 (GUI, multi-platform), MusicBee (Windows, a player with strong tagging features), MediaMonkey (Windows), foobar2000 (Windows, has tagging capabilities), or even iTunes/Apple Music for editing tags of files. All of these can write tags that Navidrome will read.
  • Workflow tips:
    1. Backup first: Before mass editing tags, especially with auto-tagging tools, back up your music files. Mistakes can happen, and you might not like the results of an automated tag rewrite.

    2. Work album by album (or artist by artist): Load a manageable chunk of files in your tag editor (for example, one album at a time). This ensures all tracks in an album get the same Album and Album Artist, etc., and it’s easier to spot and correct inconsistencies.

    3. Use online databases: Leverage tools like Picard to fetch tags and album art from databases. This can fill in missing info and standardize spelling (for instance, ensuring " feat. " is used consistently for “featuring”).

    4. Review and edit: Even with Picard or other auto-taggers, double-check the tags before saving. Make sure the album and artist names match your preferred format. Sometimes database entries have variations (like an album title including a subtitle or different punctuation).

    5. Save (write) tags: Apply the changes and save the tags to the files. If you’re renaming/moving files as part of this (many tools can do so based on tags), ensure the files end up in the correct location (your Navidrome music library folder).

    6. Rescan in Navidrome: Navidrome usually auto-detects changes, but you can trigger a library rescan or restart the server to be sure. Once scanned, check in the Navidrome interface that everything appears as expected. You can check the tags of any file in Navidrome by looking at the “Get Info”->“Raw Tags” tab:

    7. Iterate as needed: If something looks wrong in Navidrome (e.g., an album is split into two entries, or is missing artwork), go back to your tag editor to fix those tags and then re-save and rescan. Common fixes include making Album Artist and Release Dates consistent, correcting typos or extra spaces, or adding missing compilation flags.

Picard specific tips

  • In Picard’s settings, you can enable options to embed cover art and save a cover image file. Doing both is ideal (embed for portability, and cover.jpg for any software that looks for it). Picard also allows scripting for file naming — handy if you want to auto-organize your folders as mentioned.
  • Because Navidrome matches artists based on their name, enable the “Use standardized artist names” option in Picard (Preferences -> Metadata). This helps ensure consistent naming (e.g., always using “Osees” instead of variations like “Thee Oh Sees”, “Oh Sees”, etc.).
  • For a better integration with Navidrome, you can add the following scripts to your Picard configuration, to add extra tags that can help Navidrome organize your library:
    # Multiple artists
    $setmulti(albumartists,%_albumartists%)
    $setmulti(albumartistssort,%_albumartists_sort%)
    $setmulti(artistssort,%_artists_sort%)
    
    # Album Version
    $set(musicbrainz_albumcomment,%_releasecomment%)
    $if(%_recordingcomment%, $set(subtitle,%_recordingcomment%))
    
    # Release and Original dates
    $set(releasedate,%date%)
    $set(date,%_recording_firstreleasedate%)
    $set(originaldate,%originaldate%)
    $delete(originalyear)
    

Final Tips and Recap

  • Consistency is key: Uniform tags result in a well-organized Navidrome library. If you notice duplicates or split albums, it’s almost always a tagging inconsistency — fix the tags and the issue will resolve.
  • Leverage Album Artist and Compilation tags: These tags are your friends for ensuring albums stay together. Always set Album Artist (even if it’s the same as Artist for a solo album), and use “Various Artists” + the compilation flag for multi-artist albums.
  • Keep tags tidy: Little details like extra spaces at the end of names or inconsistent capitalization can lead to multiple entries (e.g., “The Beatles” vs “The Beatles “). Try to keep things tidy. Many tag editors can batch-clean or case-correct tags.
  • Continuous tagging: Make tagging part of your routine. When you add new music, tag it properly before (or immediately after) adding it to Navidrome. It’s easier to keep a library organized from the start than to fix a messy library later. Your future self will thank you!
  • Use Navidrome’s strengths: Navidrome reads a lot of tags (including comments, lyrics, grouping, mood, etc.). If you want to enrich your library, consider adding lyrics or other info via your editor — Navidrome will display lyrics if present, for example, and has filters for various tags, like Genre, Grouping, Mood, Album Type, etc.
  • Enjoy your music: A bit of effort in tagging goes a long way. Once everything is tagged well, Navidrome will present a beautiful, browsable collection. You’ll spend less time searching for songs or fixing metadata and more time listening. Happy tagging!

3.2 - Artwork location resolution

How Navidrome finds, resolves, and manages artwork for artists, albums, discs, and playlists

Artists

Fetching images for artists is controlled by the ArtistArtPriority config option. This is a comma-separated list of places to look for artist images. The default is artist.*, album/artist.*, external, meaning:

  • First try to find an artist.* image in the artist folder(s)
  • If not found, try to find an artist.* image in one of the album folders for this artist
  • If not found, try to fetch it from an external service
  • If not found, use the artist image placeholder (grey star image)

You can also configure a centralized folder for artist images using the ArtistImageFolder config option and adding image-folder to ArtistArtPriority. When configured, Navidrome will look for image files in that folder named after the artist’s MusicBrainz ID or name.

Albums

CoverArt fetching for albums is controlled by the CoverArtPriority config option. This is a comma-separated list of places to look for album art images. The default is cover.*, folder.*, front.*, embedded, external, meaning:

  • First try to find a cover.*, folder.* or front.* image in the album folder(s)
  • If not found, try to read an embedded image from one of the mediafiles for that album
  • If not found, try to fetch it from an external service (currently only Last.fm)
  • If not found, use the cover placeholder (blue record image)

Disc Cover Art

Multi-disc albums can have disc-specific artwork. Navidrome uses the DiscArtPriority config option to find disc-level images. The default is disc*.*, cd*.*, cover.*, folder.*, front.*, discsubtitle, embedded, meaning:

  • First try to find a disc*.* or cd*.* image in the disc’s folder
  • Then try cover.*, folder.*, or front.* in the disc’s folder
  • The special keyword discsubtitle matches image files whose filenames equal the disc’s subtitle
  • Try to read an embedded image from one of the mediafiles for that disc
  • If no disc-specific image is found, fall back to the album-level artwork

Example directory layout for a multi-disc album:

Music/
└── Artist - Album/
    ├── disc1/
    │   ├── disc1.jpg        ← matched by disc*.*
    │   ├── 01 - Track.flac
    │   └── 02 - Track.flac
    ├── disc2/
    │   ├── cd2.png          ← matched by cd*.*
    │   ├── 01 - Track.flac
    │   └── 02 - Track.flac
    └── cover.jpg            ← album-level fallback

Forcing the Album Artwork for All Discs

If you prefer every disc in a multi-disc album to display the album cover (instead of any disc-specific image or the embedded image of a track), set DiscArtPriority to an empty string:

DiscArtPriority = ""

With no disc-level sources to try, Navidrome skips straight to the album-level artwork fallback, so all discs share the same cover as the album. This is useful when your library has inconsistent or unwanted disc-specific images (e.g. embedded art that differs from the album cover) and you want a uniform look across discs.

MediaFiles

Some players (including Navidrome’s own WebUI) can display different cover art images for each track in an album. Navidrome resolves mediafile artwork in the following order:

  1. Try to read an embedded image from the mediafile itself
  2. For multi-disc albums, fall back to the disc-level artwork (see Disc Cover Art above)
  3. Fall back to the album cover art

MediaFile cover art can be slow in some systems and can be disabled by setting EnableMediaFileCoverArt=false.

Playlists

Playlist artwork is resolved in the following order:

  1. Uploaded image: A custom image uploaded via the web UI (see Artwork Uploads below)
  2. Sidecar image: An image file with the same base name as the playlist file, placed alongside it
  3. M3U directive: An image URL specified via the #EXTALBUMARTURL directive inside the M3U file. To allow HTTP/HTTPS URLs, set EnableM3UExternalAlbumArt to true in your configuration. Local file paths are always accepted.
  4. Tiled image: An auto-generated mosaic of up to 4 album covers from the playlist
  5. If none of the above are available, the album cover placeholder is used

Example of a playlist with a sidecar image:

Playlists/
├── My Playlist.m3u
└── My Playlist.jpg          ← sidecar image

Artwork Uploads

Navidrome allows uploading custom images for playlists, artists, and internet radio directly from the web UI. This is controlled by the EnableArtworkUpload config option (enabled by default). When disabled, only admin users can upload artwork.

Supported formats: JPEG, PNG, WebP, GIF Maximum file size: 10 MB Storage location: Uploaded images are stored in <DataFolder>/artwork/, organized by entity type (artist/, playlist/, radio/)

Playlist Cover Art

To upload a custom playlist cover, open the playlist in the Navidrome web UI and hover the mouse over the current artwork. You should see a camera icon where you can click to select the image to upload. Uploaded images take priority over all other playlist artwork sources.

Artist Images

Custom artist images can be uploaded via the web UI on the artist detail page. Follow the same process as the playlist cover art.

Internet Radio Images

You can also upload a custom image on the internet radio’s edit page. This image will be used as the station’s artwork instead of fetching its favicon (when available).

Image Format & Quality

By default, Navidrome encodes resized artwork as JPEG (or PNG, for PNG sources and square thumbnails). You can opt into WebP encoding for smaller images by enabling the EnableWebPEncoding config option (default: false), at the cost of more CPU when resizing. Note that some older clients may not be able to display WebP images.

The CoverArtQuality config option controls the encoding quality for resized JPEG and WebP output (default: 75). It does not apply to PNG.

Animated GIFs embedded in or associated with your music files are preserved during resize. They are converted to animated WebP using ffmpeg.

Troubleshooting

When artwork is wrong or missing, the navidrome artwork CLI commands show what happened. artwork explain prints the priority chain recorded for one item. It shows which candidate won, why the others lost, and whether a file was missing or present but unreadable. artwork status shows the queue, how many items have no image, and whether artwork settings changed since the last full reprocess.

Navidrome doesn’t retry missing artwork by itself. Changing an artwork setting doesn’t update artwork that is already stored, either. navidrome artwork reprocess handles both. Use --source absent to retry missing artwork, or --all to apply a setting change. For a single album or artist, admins can use Refresh Metadata in its context menu.

3.3 - Missing Files

Learn how to troubleshoot and resolve missing files in Navidrome, including common causes and solutions for missing tracks and albums.

Overview

When using Navidrome, you may encounter missing tracks or albums in your library. When moving or renaming files, Navidrome may not be able to match the old versions of your files with the new ones when scanning your library. This can result in “ghost” (grayed out) tracks or albums in your library.

Only admins can see the missing tracks and albums in the library:

Missing files are not removed from the database on new scans to avoid inadvertently losing information like ratings, and play counts and references in playlists.

You can still get the missing tracks information, including path and when it went missing by clicking in the ? icon:

Note that this information is only available for admins.

Common Causes

The main reason this can happen is that the file paths in your music library have changed, and Navidrome was not able to match the new paths with the old ones. This can happen when you move or rename files AND change tags in the same operation.

To learn how Navidrome matches missing files and newly discovered ones, see the documentation on PIDs To avoid getting into this situation, it is recommended to move or rename files first, trigger a quick scan, and then update the tags.

Another common case is when you have a network drive that is not always available, or a removable drive that is not connected:

In these cases, Navidrome will mark the files as missing until the drive is available again.

Reconnecting a Missing File to its Replacement

If the scanner could not match an old file with its new path, you can remap the two by hand from the command line. This moves the play count, rating, starred status and bookmarks from the missing file onto the replacement, the same way the scanner does it automatically.

First list the missing files to get their paths:

navidrome missing list

Then remap a missing file onto the file that replaced it:

navidrome missing fix "Rock/Old Album/track01.mp3" "Rock/New Album/track01.mp3"

The replacement must already be scanned into the library. See missing in the CLI reference for the other argument forms and the JSON output option.

Automatically Purging Missing Files

Navidrome lets you control when missing files are automatically removed from the database using the Scanner.PurgeMissing option. This option accepts three possible values:

  • "never" (default): Just mark files, albums, and artists as missing (they remain in the database, preserving ratings, play counts, and playlist references).
  • "always": Purge any missing files, albums, and artists from the database after every scan.
  • "full": Purge missing files, albums, and artists only after a full scan (not after quick/incremental scans).

To set this option, add to your config file:

Scanner.PurgeMissing = "always"

Or set the environment variable:

ND_SCANNER_PURGEMISSING=always

How to permanently delete Missing Files

If you are sure that the missing files are not coming back, you can permanently delete them from the database. Log in as an admin, click on the Settings meu, and click on the Missing Files option.

You will see a list of all missing files, with path, size and time they went missing. You will see options to export the list to a CSV file, or delete them from the database:

To delete permanently the files from the database, select the ones you want to remove and click on the Remove button.

3.4 - Exclude Content From Library

Learn how to use .ndignore to exclude content from being added to Navidrome’s library

Overview

Navidrome allows the usage of a .ndignore file to exclude content from being added to Navidrome’s library. These files can be used in the following ways:

  1. A blank .ndignore file can be added to a directory, and as a result Navidrome will ignore that folder and its subfolders from being added to Navidrome’s library.
  2. A .ndignore file also supports .gitignore syntax inside of it to set rules for content to exclude. This allows you to place a single file in your parent Music folder and then use a single file to establish rules on ignoring certain folders, filetypes, or files.

Key behaviors

  • Cascading: Patterns from parent directories apply to all subdirectories
  • Multiple files: You can place .ndignore files in different directories

Syntax Usage and Examples

A single .ndignore can be placed at the parent folder of your library and then syntax added to it.

For example, if your ~/Music folder is mounted to Navidrome then you could create ~/Music/.ndignore and add syntax to it. The following examples assume the .ndignore is placed in the parent folder of your library:

# .ndignore supports comments starting with '#'

# Ignore all .flac
*.flac

# ignore specific folders
/untagged/
/unsorted/

# Negate the .flac ignore rule for a favorite album. 
!/thursday/taking-inventory-of-a-frozen-lake/*.flac

Limitations

  • Brace expansion like *.{flac,mp3} don’t work – use separate lines instead

Technical Details

  • The .ndignore syntax utilizes the go-gitignore library. See documentation for additional syntax usage.

4 - Integration

Integrate Navidrome with external services and systems

4.1 - External Integrations (A.K.A. Agents)

Configure Navidrome to get information and images from external services

Navidrome uses external services (through agents) to enrich your music library with artist biographies, images, album covers, similar artists, and more. Multiple agents can be configured, and they are tried in priority order. If one fails or returns no results, the next one is tried.

How Agents Work

The Agents config option controls which agents are enabled and in what order. It accepts a comma-separated list of agent names.

The default is "deezer,lastfm,listenbrainz", meaning Deezer is tried first, then Last.fm, then ListenBrainz. A built-in local agent is always appended automatically as a final fallback.

To disable a specific agent, either remove it from the Agents list or set its individual *.Enabled option to false. To disable all external integrations at once, set EnableExternalServices to false.

Last.fm

Last.fm provides the broadest set of metadata among the built-in agents.

Provides: Artist biographies, artist images, similar artists, top songs, album covers, similar songs

Configuration: Requires API keys. Set the config options LastFM.ApiKey and LastFM.Secret. You can obtain these values by creating a free API account in Last.fm:

  1. Go to https://www.last.fm/api/account/create and create an API account. Only the Application Name field is mandatory:

  1. After submitting the form, you can get the API Key and Shared Secret from the Account Created page:

  1. Copy the values above to your configuration file as LastFM.ApiKey and LastFM.Secret (or set them as environment variables ND_LASTFM_APIKEY and ND_LASTFM_SECRET)
  2. After the configuration is done, you can set up scrobbling for your user.

Last.fm can be completely disabled by setting LastFM.Enabled to false.

Deezer

Deezer’s public API doesn’t require API keys or authentication, making it the simplest external integration.

Provides: Artist images, artist biographies, similar artists, top songs

Configuration: Enabled by default, no setup required. To disable it, set Deezer.Enabled to false in your configuration file or set the environment variable ND_DEEZER_ENABLED to false.

ListenBrainz

ListenBrainz provides metadata based on MusicBrainz data and community listening statistics. It works best when your music files have MusicBrainz IDs in their tags.

Provides: Artist URLs, similar artists, top songs, similar songs

Configuration: Enabled by default, no setup required for metadata. To disable it, set ListenBrainz.Enabled to false.

ListenBrainz also supports scrobbling, which requires per-user authorization.

Local Agent

The local agent is always active and serves as the final fallback. It provides top songs based on your own library’s play counts and ratings. No external service is contacted.

Extending with Plugins

Navidrome’s external metadata capabilities can be extended through plugins. Plugins can provide additional metadata agents for artist and album information and images, lyrics providers, and scrobblers. See the Plugins documentation for more information.

One example is AudioMuse-AI, which provides similar songs and artists based on sonic analysis of your own files, powering Instant Mix and similar-song features without relying on external metadata services.

4.2 - AudioMuse-AI

Use sonic analysis to power Instant Mix and similar songs/artists in Navidrome

AudioMuse-AI is a self-hosted service that analyzes the actual audio content of your music library — tempo, timbre, energy, and other sonic characteristics — and uses that analysis to find songs that sound similar. Unlike the external metadata agents, which rely on third-party databases like Last.fm or Deezer, AudioMuse-AI works entirely from your own files, so it can find matches even for obscure or unreleased music.

It integrates with Navidrome through a plugin, the AudioMuse-AI-NV-plugin. Once set up, you get:

  • Instant Mix in the Navidrome web UI: open any song’s context menu and build a queue of sonically similar tracks
  • Similar songs and similar artists in Subsonic clients such as Symfonium, Feishin, Substreamer, Tempus, and Wavio, through the standard getSimilarSongs/getSimilarSongs2 (songs/radio) and getArtistInfo/getArtistInfo2 (related artists) endpoints
  • The OpenSubsonic sonicSimilarity extension, which clients can use to fetch sonic matches and build song-to-song transitions

Requirements

  • The latest versions of all three components, kept aligned: Navidrome, the AudioMuse-AI core, and the Navidrome plugin. A version mismatch is the most common cause of problems, so always update the three together.
  • Docker and Docker Compose for AudioMuse-AI (or one of its native builds).
  • Navidrome and AudioMuse-AI must be able to reach each other over the network.

Step 1 — Deploy AudioMuse-AI

AudioMuse-AI runs as a small stack: a web app, a worker, PostgreSQL, and Redis. The provided Docker Compose file wires all of this for you — normally you only set the database credentials and timezone in its .env file. Follow the deployment instructions in the AudioMuse-AI documentation. If you prefer not to use Docker, there are native builds for Linux, macOS, and Windows on their releases page.

Once the stack is running, open the AudioMuse-AI web interface (port 8000 by default). The Setup Wizard appears on first start:

  1. Pick Navidrome as the media server and enter your Navidrome URL, user, and password.
  2. In the AudioMuse-AI authentication section, set a username, password, and API token. You will need this token later to configure the plugin.
  3. Save and finish the wizard.

Then run a first analysis before anything else: AudioMuse-AI can only find similar songs after it has analyzed them. Start a new analysis from its main page and let it finish — this can take a while on a large library. When it is done, confirm it works by using Similar Song on any track in the AudioMuse-AI UI.

Step 2 — Configure Navidrome

Make sure the plugin system is enabled (it is by default), and add audiomuseai to your Agents list. The order matters: Navidrome uses the first agent that supports sonic similarity, so keep audiomuseai first.

services:
  navidrome:
    image: deluan/navidrome:latest
    ports:
      - "4533:4533"
    environment:
      - ND_PLUGINS_ENABLED=true
      - ND_PLUGINS_AUTORELOAD=true
      - ND_AGENTS=audiomuseai,lastfm,deezer
    volumes:
      - ./data:/data
      - /path/to/music:/music:ro

Step 3 — Install the plugin

  1. Download the latest audiomuseai.ndp file from the plugin releases page.
  2. Copy it into your Navidrome plugins folder (<DataFolder>/plugins by default).
  3. Restart Navidrome, or click “Rescan” in the Plugins section of the web UI (with Plugins.AutoReload enabled, the plugin is picked up automatically).

See Installing Plugins for details on the general installation flow.

Step 4 — Configure the plugin

In the Navidrome web UI, go to Settings > Plugins, enable the AudioMuse-AI plugin, and open its settings:

  • API URL: the address where Navidrome can reach the AudioMuse-AI core app, for example http://192.168.1.50:8000. Use a host and port the Navidrome container can actually reach — not localhost, unless both run in the same network namespace.
  • API token: the same token you set in the Setup Wizard in Step 1.

Verify it works

Use Instant Mix on any song in the Navidrome web UI — it should build a queue of similar songs. You can also watch both sides of the integration in the logs:

docker compose logs -f navidrome | grep audiomuseai

On the AudioMuse-AI side, you should see API calls arriving each time you trigger Instant Mix or a similar-songs request.

Using it

  • Web UI: open a song’s context menu (the three-dots button) and select Instant Mix. This requires EnableExternalServices to be on (the default).
  • Subsonic clients: similar songs and artist radio work automatically through the standard getSimilarSongs/getSimilarSongs2 endpoints, and related/similar artists through getArtistInfo/getArtistInfo2 — all now answered by AudioMuse-AI’s sonic analysis instead of external metadata services.

OpenSubsonic sonicSimilarity extension

With the plugin active, Navidrome advertises the sonicSimilarity OpenSubsonic extension via getOpenSubsonicExtensions, adding two endpoints that clients can use directly:

  • getSonicSimilarTracks: returns the tracks most sonically similar to a given song (id), with a similarity score for each match.
  • findSonicPath: builds a smooth “path” of songs from a start song to an end song (startSongId, endSongId), where each step is sonically close to the previous one — useful for gradual mood or genre transitions.

When no plugin providing sonic similarity is loaded, the extension is not advertised and these endpoints return a 404 error.

Troubleshooting

  • 401 Unauthorized in the Navidrome log: the API token is missing or wrong. Set the same token in the plugin settings and in the AudioMuse-AI Setup Wizard.
  • No requests in the AudioMuse-AI log: Navidrome cannot reach the API URL. Check the host, port, and network path, and confirm the URL is reachable from inside the Navidrome container.
  • Empty or poor results: the library has not been analyzed yet, or the analysis is incomplete. Run the analysis in AudioMuse-AI and wait for it to finish.
  • Odd errors in general: update Navidrome, the plugin, and the AudioMuse-AI core to their latest versions. Most issues come from one of the three being out of date.

For plugin-specific debugging, set Plugins.LogLevel to "debug" — see Checking Logs.

4.3 - Externalized Authentication

Delegate authentication to another system

Configuration

Externalized authentication is disabled by default. To enable the feature, configure a trusted authentication source (your reverse proxy) with the ExtAuth.TrustedSources option. This option takes a comma-separated list of either:

  • An IPv4 or IPv6 range in CIDR notation.
  • An @ (at sign) when listening on a UNIX socket (see the Address option).

When enabled via the ExtAuth.TrustedSources option, Navidrome validates the requests’ source IP address against the ranges configured in ExtAuth.TrustedSources. If no range matches the address, externalized authentication is not used even if the authenticated user header is present (see below), and falls back to a standard authentication mechanism. For requests received through a UNIX socket, IPs can’t be validated and Navidrome will use the authenticated user header if and only if ExtAuth.TrustedSources contains @.

With externalized authentication enabled, Navidrome gets the username of the authenticated user from incoming requests’ Remote-User HTTP header. The header can be changed via the ExtAuth.UserHeader configuration option.

When using external authentication, you can configure ExtAuth.LogoutURL to redirect users to your authentication provider’s logout endpoint after they log out of Navidrome. This ensures users are fully logged out of both Navidrome and the external auth provider (SSO, OIDC, etc.).

If a user is successfully authenticated by the proxy but does not exist in the Navidrome database, it will be created with a random password. The first user created in a fresh installation (whether through externalized authentication or direct login) will always be an admin user.

You might also be interested in the EnableUserEditing option, which allows disabling the User page that lets users change their Navidrome password.

Sharing endpoint

If you plan to use the Sharing feature, where you can create unauthenticated links to parts of your library, you’ll need to whitelist the /share/* URLs.

Subsonic endpoint

The subsonic endpoint also supports externalized authentication, and will ignore the subsonic authentication parameters (u, p, t and s) if the authenticated user header is present. If the header is absent or has an empty value, Navidrome will fall back to the standard subsonic authentication scheme.

If your reverse proxy does not support the standard subsonic authentication scheme, or if the subsonic clients you want to use don’t support an alternate authentication mechanism also supported by your proxy (such as BasicAuth), you can still configure your proxy to bypass authentication on /rest/* URLs and let Navidrome perform authentication for those requests. In that case, your users will have to update their (initially random) password in Navidrome, to use it with their subsonic client.

The Navidrome web app uses a mix of internal and subsonic APIs, and receives subsonic credentials from the server to use for requests against the subsonic API. As the credentials received from the server likely won’t match those in your dedicated authentication service, you need to handle subsonic requests from the Navidrome web app (identified as the subsonic client NavidromeUI via the c query parameter) in a special way. You can either:

  • Ignore the subsonic authentication parameters and authenticate those requests the same way as non-subsonic requests. This relies on the fact that requests to the subsonic API will look the same to the proxy as requests to the internal API (e.g. same session cookies).
  • Bypass authentication on your proxy for those requests and let Navidrome handle it. This relies on the fact that the web app receives the subsonic credentials from the server when it loads, and it can load only if the proxy has already authenticated the user.

Note that if you don’t intend to support third-party subsonic clients, you can simply place the subsonic endpoint behind the same protection rule as the rest of the application, i.e. you don’t need any special handling to bypass authentication.

Security

Make sure to check the externalized authentication section in the dedicated Security Considerations page.

Examples

For the examples below, it is assumed that you are familiar with the various products in use, i.e. reverse proxy, authentication service but also Navidrome.

The examples focus on the integration between the products, and provide configuration snippets stripped down to the relevant parts, which you can adapt to the specifics of your deployment.

Caddy with forward_auth

In this example, Navidrome is behind the Caddy reverse proxy, and Authentik is used to authenticate requests, with the help of Caddy’s forward_auth middleware.

Caddyfile excerpt stripped down to the relevant parts:

example.com

# Remove any client-supplied user header
request_header -Remote-User

reverse_proxy /outpost.goauthentik.io/* http://authentik:9000

@protected not path /share/* /rest/*
forward_auth @protected http://authentik:9000 {
  uri /outpost.goauthentik.io/auth/caddy
  copy_headers X-Authentik-Username>Remote-User
}

# Authentik uses the Authorization header if present, so should be able to
# authenticate subsonic clients that support BasicAuth. Requests from the
# Navidrome Web App will be authenticated via the existing session cookie.
# If you want to have Navidrome authenticate subsonic requests, remove this
# forward_auth block.
@subsonic path /rest/*
forward_auth @subsonic http://authentik:9000 {
  uri /outpost.goauthentik.io/auth/caddy
  copy_headers X-Authentik-Username>Remote-User

  # Some clients that claim to support basicauth still expect a subsonic
  # response in case of authentication failure instead of a proper basicauth
  # response.
  @error status 1xx 3xx 4xx 5xx
  handle_response @error {
    respond <<SUBSONICERR
      <subsonic-response xmlns="http://subsonic.org/restapi" status="failed" version="1.16.1" type="proxy-auth" serverVersion="n/a" openSubsonic="true">
        <error code="40" message="Invalid credentials or unsupported client"></error>
      </subsonic-response>
      SUBSONICERR 200
  }
}

reverse_proxy navidrome:4533

Note that if you want to whitelist the unprotected paths as part of your Authentik configuration instead of doing it in Caddy, the copy_headers subdirective won’t work as expected: Authentik won’t set the X-Authentik-Username header for whitelisted paths, but Caddy will still copy the header with an incorrect value. In order to make it work, you need a workaround:

forward_auth http://authentik:9000 {
  uri /outpost.goauthentik.io/auth/caddy
  # copy_headers subdirective removed
}

# Only set the Remote-User header if the request was actually authentified (user
# header set by Authentik), as opposed to whitelisted (user header not set).
@hasUsername `{http.reverse_proxy.header.X-Authentik-Username} != null`
request_header @hasUsername Remote-User {http.reverse_proxy.header.X-Authentik-Username}

Traefik with ForwardAuth

In this example, Navidrome is behind the Traefik reverse proxy, and Authelia is used to authenticate requests, with the help of Traefik’s ForwardAuth middleware. Each service has its own subdomain. Docker Compose is used to deploy the whole thing.

The error response rewriting for subsonic authentication failure is not implemented, which means that subsonic clients are expected to handle correctly BasicAuth error responses (HTTP 401 with WWW-Authenticate header).

docker-compose.yml excerpt stripped down to the relevant parts:

services:
  authelia:
    image: authelia/authelia:4.38.8
    labels:
      # The login page and user dashboard need to be reachable from the web
      traefik.http.routers.authelia.rule: Host(`auth.example.com`)
      traefik.http.routers.authelia.entrypoints: https
      # Standard authentication middleware to be used by web services
      traefik.http.middlewares.authelia.forwardauth.address: http://authelia:9091/api/verify?rd=https://auth.example.com/
      traefik.http.middlewares.authelia.forwardauth.authResponseHeaders: Remote-User
      # Basicauth middleware for subsonic clients
      traefik.http.middlewares.authelia-basicauth.forwardauth.address: http://authelia:9091/api/verify?auth=basic
      traefik.http.middlewares.authelia-basicauth.forwardauth.authResponseHeaders: Remote-User
      # Security middleware for the entrypoints
      traefik.http.middlewares.drop-untrusted-auth-headers.headers.customrequestheaders.Remote-User:

  navidrome:
    image: deluan/navidrome:0.52.0
    labels:
      # Default rule which uses Authelia's web-based authentication. If you enable
      # navidrome's Sharing feature, you can configure Authelia to bypass
      # authentication for /share/* URLs, so you don't need an extra rule here.
      traefik.http.routers.navidrome.rule: Host(`music.example.com`)
      traefik.http.routers.navidrome.entrypoints: https
      traefik.http.routers.navidrome.middlewares: drop-untrusted-auth-headers@docker,authelia@docker
      # Requests to the subsonic endpoint use the basicauth middleware, unless
      # they come from the Navidrome Web App ("NavidromeUI" subsonic client), in
      # which case the default authelia middleware is used.
      traefik.http.routers.navidrome-subsonic.rule: Host(`music.example.com`) && PathPrefix(`/rest/`) && !Query(`c`, `NavidromeUI`)
      traefik.http.routers.navidrome-subsonic.entrypoints: https
      traefik.http.routers.navidrome-subsonic.middlewares: drop-untrusted-auth-headers@docker,authelia-basicauth@docker
    environment:
      # Navidrome does not resolve hostnames in this option, and by default
      # traefik will get assigned an IP address dynamically, so all IPs must be
      # trusted.
      # This means that any other service in the same docker network can make
      # requests to navidrome, and easily impersonate an admin.
      # If you assign a static IP to your traefik service, configure it here.
      ND_EXTAUTH_TRUSTEDSOURCES: 0.0.0.0/0
      # Since authentication is entirely handled by Authelia, users don't need to
      # manage their password in Navidrome anymore.
      ND_ENABLEUSEREDITING: false

We recommended applying the drop-untrusted-auth-headers on the entrypoints if possible (instead of configuring it on each service individually as shown here).

If you want to add support for the subsonic authentication scheme in order to support all subsonic clients, you can have a look at the Traefik plugin BasicAuth adapter for Subsonic which transforms subsonic authentication parameters into a BasicAuth header that Authelia can handle, and performs the error response rewriting.

4.4 - Monitoring Navidrome

How to monitor status of your Navidrome instance

Currently, Navidrome supports monitoring and alerting using Prometheus/OpenMetrics standard. Example Grafana dashboard:

Overview

Prometheus is a service that takes data from a metrics endpoint and collects it. Grafana is a dashboard service that can take data from a Prometheus server and display it. Navidrome has an easy way to create a metrics endpoint that Prometheus can use. Once you point Prometheus to this endpoint, and Grafana to your Prometheus server, you will be able to monitor your Navidrome instance.

The easiest way to do this is using docker-compose and Docker networks.

Configuration

You need to set ND_PROMETHEUS_ENABLED to enable Prometheus metrics endpoint. Setting custom ND_PROMETHEUS_METRICSPATH is highly recommended if your Navidrome instance is publicly available.

Minimal docker compose example file with metrics enabled, and Prometheus and Grafana containers:

version: '3'
services:
  navidrome:
    image: deluan/navidrome
    user: 1000:1000 # should be owner of volumes
    ports:
      - "4533:4533"
    environment:
      ND_PROMETHEUS_ENABLED: "true"
      ND_PROMETHEUS_METRICSPATH: "/metrics_SOME_SECRET_KEY"
    volumes:
      - "./data:/data"
      - "./music:/music"
    networks:
      - metrics-network
  prometheus:
    image: prom/prometheus
    container_name: prometheus
    command:
      - '--config.file=/prometheus/prometheus.yml'
    ports:
      - 9090:9090
    restart: unless-stopped
    volumes:
      - ./etc/prometheus:/etc/prometheus
      - ./prometheus:/prometheus
    networks:
      - metrics-network
  grafana:
    image: grafana/grafana
    container_name: grafana
    ports:
      - 3000:3000
    restart: unless-stopped
    environment:
      - GF_SERVER_ROOT_URL=<your external grafana endpoint here>
      - GF_SERVER_SERVE_FROM_SUB_PATH=false # if your external grafana endpoint has a subpath or not
    volumes:
      - ./etc/grafana:/etc/grafana/provisioning/datasources
    networks:
      - metrics-network
networks:
  metrics-network:
    driver: bridge

Example prometheus.yml config to parse this instance:

global:
  scrape_interval: 10s
scrape_configs:
  - job_name: 'navidrome'
    metrics_path: /metrics_SOME_SECRET_KEY
    scheme: http
    static_configs:
      - targets: ['navidrome:4533']

Dashboard

Grafana dashboards are available here: #24397 #18038.

Simple to install but fully fledged Grafana docker compose configuration can be found here.

5 - Administration

Administrative tasks for your Navidrome server

5.1 - Automated Backup

Information on the in-built backup system

Navidrome version 0.54.x introduces a backup feature that allows the music server’s data to get periodically exported. This guide will walk you through configuring backups using both a configuration file and environment variables, where to locate the backups, and how to restore from a backup.

Configuring Backup with config.toml

To configure backups using the navidrome.toml file, insert the following lines to set up backups:

[Backup]
Path = "/path/to/backup/folder"
Count = 7
Schedule =  "0 0 * * *"
  • Backup.Path: The directory where backups will be stored. Replace “/path/to/backup/folder” with the desired path.
  • Backup.Count: The number of backup files to keep.
  • Backup.Schedule: cron-like syntax to define how often backups occur. The example above schedules a backup every 24 hours at midnight.

Configuring Backup with Environment Variables

Alternatively, you can configure backups using environment variables ND_BACKUP_PATH, ND_BACKUP_SCHEDULE, and ND_BACKUP_COUNT.

environment:
  ND_BACKUP_PATH: /backup
  ND_BACKUP_SCHEDULE: "0 0 * * *"
  ND_BACKUP_COUNT: 7
volumes:
  - ./data:/data
  - ./backup:/backup

Manually Creating a Backup

You can manually create a backup via the navidrome backup create command:

sudo navidrome backup create

If you use docker compose, you can do the same with:

sudo docker compose run <service_name> backup create
# service_name is usually `navidrome` 

When manually creating a backup, no prune cycle is run, so none of the existing backups will be pruned. However, next time the automated backup process runs, the normal prune cycle will run and potentially remove several backups until the number of backups is down to the configured backup count setting. To manually run a prune cycle, use the navidrome backup prune command:

sudo navidrome backup prune

If you use docker compose, you can do the same with:

sudo docker compose run <service_name> backup prune
# service_name is usually `navidrome`

Locating Backup

Once configured, Navidrome will store backups in the directory specified by the BackupFolder or ND_BACKUP_PATH setting. To verify the location:

  • Check the Config File: If using a configuration file, look for the Backup config node and confirm that all three options are configured.
  • Check Environment Variables: If using environment variables, ensure that all three variables is set correctly.

Restoring a Backup

When you restore a backup, the existing data in the database is wiped and the data in the backup gets copied into the database.

Note: YOU MUST BE SURE TO RUN THIS COMMAND WHILE THE NAVIDROME APP IS NOT RUNNING/LIVE.

Restore a backup by running the navidrome backup restore command.

Additional Resources

For more detailed configuration options and examples, refer to the Navidrome Configuration Options page. This resource provides comprehensive guidance on customizing Navidrome to fit your needs.

By following this guide, you can effectively set up and manage backups for your Navidrome music server, ensuring your data is protected and easily recoverable.

5.2 - Command-Line Interface (CLI)

Reference for the Navidrome command-line commands

Navidrome has a built-in CLI for administration, maintenance, and troubleshooting. Each command has its own page. This page covers what the commands share.

Quick start

Show the list of commands:

navidrome --help

Show help for one command or subcommand:

navidrome <command> --help
navidrome <command> <subcommand> --help

If you run navidrome with no command, it starts the server.

Commands

CommandWhat it does
artworkInspect artwork and resolve it again
backupCreate, prune, and restore database backups
doctorCheck the database for problems
inspectPrint the tags of music files as Navidrome reads them
missingList missing files and remap them onto existing files
pluginList, configure, enable, and disable plugins
plsList, export, and import playlists
scanScan the music library
searchRebuild the full-text search index
serviceInstall and control Navidrome as an OS service
userCreate, edit, list, and delete users

Global flags

Every command accepts these flags.

FlagDescription
-c, --configfileConfig file to load. Default is ./navidrome.toml
-n, --nobannerDon’t print the startup banner
--musicfolderFolder with your music
--datafolderFolder for application data, such as the database. Navidrome needs write access to it
--cachefolderFolder for cache data, such as transcoded audio and images. Navidrome needs write access
-l, --loglevelLog level. One of error, info, debug, or trace
--logfileFile to write logs to. Without it, Navidrome logs to stderr

Commands read the same config file and ND_ environment variables as the server. Run them with the same settings as your server, or they will look at a different database. The server also takes flags such as --port and --address. Run navidrome --help to see them, and see Configuration Options for every setting.

navidrome -c /etc/navidrome/navidrome.toml --nobanner user list

Running the CLI in Docker

If Navidrome runs in a container, run CLI commands in a container too. That way they use the same /data, /music, config file, and environment variables as your server.

Docker Compose

Use docker compose run with the name of your Navidrome service. It is usually navidrome:

# Show CLI help
docker compose run --rm navidrome --help

# Run a full scan
docker compose run --rm navidrome scan --full

# List users
docker compose run --rm navidrome user list

To run a command in the container that is already running, use docker compose exec. Put the navidrome binary name before the command:

docker compose exec navidrome navidrome user list

Docker run

Start a one-off container with the same image tag, volumes, and environment variables as your main Navidrome container:

docker run --rm -it \
  --user $(id -u):$(id -g) \
  -v /path/to/music:/music:ro \
  -v /path/to/data:/data \
  --env-file /path/to/navidrome.env \
  -e ND_CONFIGFILE=/data/navidrome.toml \
  deluan/navidrome:latest \
  user list

-it gives the command a terminal. Commands that ask for input need it, such as user create, which asks for a password.

Notes and best practices

  • Flags change between releases. Run --help to see the flags of the version you have.
  • In scripts, pass --configfile so the command reads the config you expect.
  • Stop Navidrome before you run backup restore or search rebuild.
  • backup restore, backup prune, and missing fix can’t be undone. Check the paths and IDs you pass, and run navidrome backup create first.

5.2.1 - navidrome artwork

Inspect artwork and resolve it again

The artwork commands tell you why a cover is wrong or an artist image is missing, without opening the database. They also queue artwork to resolve again, one item at a time or in bulk. See Artwork resolution for how Navidrome picks an image.

Usage

navidrome artwork <subcommand> [flags]

All commands also accept the global flags.

Artwork kinds

Each kind of artwork has a short code. Not every subcommand accepts every kind.

CodeKindexplainrefreshreprocesscancel
arArtist✓✓✓✓
alAlbum✓✓✓✓
plPlaylist✓✓✓✓
raRadio✓✓✓✓
mfMedia file✓✓✓
dcDisc✓

reprocess skips media files. A track’s artwork comes only from its embedded tags, and Navidrome reads them at scan time or the first time someone views the track. Media files still end up in the queue, so cancel can remove them.

Disc artwork has no stored state. Navidrome resolves it on every request and caches the result by content, so refresh has nothing to clear.

explain accepts playlists and radios. It shows their stored state and queue row, but they have no priority chain to walk.

Subcommands

SubcommandDescription
statusShow the queue, where artwork comes from, items with no image, and the settings state
explainShow why one item got the artwork it has
refreshClear the artwork state of some items and queue them again
reprocessQueue artwork in bulk, by kind or by current source
cancelRemove pending artwork work in bulk, by kind or by queue priority

artwork status

Shows the queue by kind and priority, how many items use each source, how many items have no image, and whether artwork settings changed since the last full reprocess.

navidrome artwork status

Flags

This subcommand has no flags.

Output

The Absent block splits items with no image in two. NO IMAGE counts items where every candidate answered and none had an image. FAILED counts items where Navidrome ran out of retries, for example because a provider kept timing out. Those are the best candidates for another try.

Absent (resolved, no image found)
  KIND      NO IMAGE  FAILED
  artist    212       37
  album     48        0

Navidrome retries neither group by itself. artwork reprocess --source absent retries both, and --source failed retries only the ones that gave up.

The Config block compares a fingerprint of six settings: CoverArtPriority, ArtistArtPriority, ArtistImageFolder, Agents, EnableExternalServices, and EnableM3UExternalAlbumArt.

Config
  State:                fingerprint changed — stored artwork keeps the old resolution; run 'artwork reprocess --all' to apply it
  Stored fingerprint:   7e537a22febc07d3
  Current fingerprint:  c49003a68a82ee68
  Fingerprint inputs (changing any of these makes the stored artwork stale):
    CoverArtPriority:           cover.*, folder.*, front.*, embedded, external
    ...

Changing one of these settings does not update artwork that is already stored. Stored artwork keeps what the old settings found, and Navidrome logs a warning at startup. Run artwork reprocess --all to apply the new settings to the whole library. A full reprocess with no filters also saves the new fingerprint, and the warning goes away.

artwork explain

Shows why one item got the artwork it has. The output has the item’s stored artwork state, its queue row, the settings that decide its artwork, and the priority chain. The chain shows which candidate won and why each one above it lost.

navidrome artwork explain [<kind>] <id> [--live]

You can name the item three ways. Use a bare ID, a full artwork ID such as al-<id>, or a <kind> <id> pair. For a bare ID, Navidrome looks up the kind itself, so artists, albums, playlists, radios, and media files don’t need <kind>. Discs have no table to look up, so a disc always needs its kind. A disc artwork ID is the album ID and the disc number, joined by a colon.

By default, explain prints the chain the server recorded the last time it resolved the item. That is what really happened, and reading it costs no new lookups. The header shows when Navidrome recorded it. --live walks the chain again right now, and the header reads Chain (walked now). Discs have no stored state, so explain always walks a disc’s chain on the spot.

Flags

FlagDefaultDescription
--livefalseWalk the chain again now, with real external lookups, instead of printing the recorded chain. Also starts plugin agents, which may open external connections

Examples

# Explain an album by its bare ID
navidrome artwork explain 6XTD9naRGpIrZLoA99pH1r

# The same album, by its full artwork ID
navidrome artwork explain al-6XTD9naRGpIrZLoA99pH1r

# Walk the chain again now
navidrome artwork explain al 6XTD9naRGpIrZLoA99pH1r --live

# Explain disc 2 of an album
navidrome artwork explain dc 6XTD9naRGpIrZLoA99pH1r:2

Output

Item
  Kind:  album (al)
  ID:    6XTD9naRGpIrZLoA99pH1r
  Name:  OK Computer

Stored
  Source:        folder
  Hash:          fa90ba01c3d4e5f6
  Source path:   /music/Radiohead/OK Computer/cover.jpg
  Attempted at:  2026-04-19T03:22:11Z

Queue
  (not queued)

Config
  CoverArtPriority:  cover.*, folder.*, front.*, embedded, external
  Agents:            lastfm, spotify

Chain (recorded 2026-04-19T03:22:11Z)
  CANDIDATE  OUTCOME  DETAIL
  cover.*    hit      /music/Radiohead/OK Computer/cover.jpg

Result
  resolved from folder

The Chain table uses these outcomes:

OutcomeMeaning
hitThis candidate produced the image
missNavidrome looked and found nothing
unreadableA file exists, but Navidrome could not open or decode it
skippedNavidrome never tried this candidate. DETAIL says why
errorA lookup or processing step failed. DETAIL has the error

Watch for unreadable. It points to a damaged file you can fix, while miss means nothing was there. Stored state alone can’t tell the two apart.

When resolution fails, the Queue block shows why. While Navidrome is still retrying, Last attempt failed lists the steps of the latest attempt. After it stops retrying, Gave up after lists the steps of the final one. If Navidrome found a candidate but could not process it, or an external lookup failed, Result says indeterminate rather than not resolved. Nothing proved the item has no artwork, and a retry may still find some.

Older Navidrome versions did not record chains, and explain tells you when it resolved an item before recording started. Run it with --live to see the chain. A live run is also worth comparing against Stored. If stored says external:lastfm and the live walk resolves from folder, the stored state is stale. Run artwork refresh to fix it.

artwork refresh

Clears the stored artwork state of each item and queues it at the highest priority. Admins can do the same for one album or artist in the web UI, with Refresh Metadata in the context menu.

navidrome artwork refresh [<kind>] <id>...

IDs work the same as in explain. Use bare IDs, full artwork IDs like al-<id>, or one <kind> followed by several IDs of that kind. Bare and full IDs carry their own kind, so you can mix kinds in one call. If Navidrome can’t find an ID, it reports the ID, skips it, and refreshes the rest.

The old state is gone, so the item shows a placeholder until Navidrome resolves it again.

Flags

This subcommand has no flags.

Examples

# Refresh one album by its bare ID
navidrome artwork refresh 6XTD9naRGpIrZLoA99pH1r

# Refresh an album and an artist in one call
navidrome artwork refresh al-6XTD9naRGpIrZLoA99pH1r ar-1dfeR4HaWDbWqFHLkxsg1d

# Refresh two albums
navidrome artwork refresh al 1dfeR4HaWDbWqFHLkxsg1d 6XTD9naRGpIrZLoA99pH1r

artwork reprocess

Queues artwork in bulk. reprocess is the only way to retry absent artwork, because Navidrome never goes back to an item with no image by itself. It is also how you apply an artwork setting change to the whole library. See artwork status.

navidrome artwork reprocess [--kind ...] [--source ...] [--all] [--dry-run] [-y]

You must pass --kind, --source, or --all. Without one, the command fails, so you can’t resolve the whole library again by accident. --source alone covers every kind. If you name a source that no item uses, the command fails and lists the sources in use.

Before it queues anything, the command prints a breakdown and an estimate of external lookups, then asks you to confirm. A running server works through queued items in the background. A stopped server starts on them at its next startup.

Flags

FlagDefaultDescription
--kindKinds to reprocess: ar, al, pl, ra. Repeatable
--sourceOnly items that resolve from these sources now, such as folder, embedded, external:lastfm, absent, or failed. Repeatable
--allfalseReprocess every kind
--dry-runfalseShow what the command would queue, then exit without queueing
-y, --yesfalseSkip the confirmation prompt

failed selects absent items where Navidrome gave up after its retries.

Examples

# Preview artists that use Last.fm images now
navidrome artwork reprocess --kind ar --source external:lastfm --dry-run

# Retry only the items that gave up, for example after a provider outage
navidrome artwork reprocess --source failed

# Retry every item that has no image
navidrome artwork reprocess --source absent

# Apply a changed artwork setting to the whole library
navidrome artwork reprocess --all

artwork cancel

Removes pending artwork work from the queue. reprocess fills the queue, and cancel empties it.

navidrome artwork cancel [--kind ...] [--priority ...] [--all] [--dry-run] [-y]

You must pass --kind, --priority, or --all. Like reprocess, the command prints a breakdown and asks you to confirm before it deletes anything.

Use --priority to call off a bulk job and keep everything else. reprocess queues items at recheck priority, and on a large library that can mean tens of thousands of external lookups. Cancel recheck to stop that job. Items you refreshed by hand sit at bump, so they stay queued.

Queue priorities, highest first:

PriorityQueued by
bumpartwork refresh, a request for an item with no artwork state, or saving a radio
scanThe scanner, for items it added or changed
backfillNothing in current versions. You can still cancel rows an older version queued
recheckartwork reprocess, and the hourly check for items with no artwork state

Flags

FlagDefaultDescription
--kindKinds to cancel: ar, al, pl, ra, mf. Repeatable
--priorityOnly rows queued at these priorities: bump, scan, backfill, recheck. Repeatable
--allfalseCancel every kind at every priority
--dry-runfalseShow what the command would cancel, then exit without cancelling
-y, --yesfalseSkip the confirmation prompt

Examples

# See what is queued at recheck priority
navidrome artwork cancel --priority recheck --dry-run

# Call off a bulk reprocess and keep manual refreshes queued
navidrome artwork cancel --priority recheck

# Empty the queue
navidrome artwork cancel --all --yes

5.2.2 - navidrome backup

Create, prune, and restore database backups

The backup commands make a copy of the Navidrome database, delete old copies, and restore a copy. Navidrome can also make backups on a schedule. See Automated Backup.

Backups go to the folder in the Backup.Path setting. Each backup file has a name like navidrome_backup_2026.04.01_04.00.00.db, with the date and time it was made.

Usage

navidrome backup <subcommand> [flags]

The alias bkp works too, so navidrome bkp create is the same as navidrome backup create.

All commands also accept the global flags.

Subcommands

SubcommandDescription
createMake a backup of the database now
pruneDelete old backups and keep the newest ones
restoreReplace the database with a backup

backup create

Makes a backup of the database. This command doesn’t delete old backups, even when you have more than Backup.Count. Run backup prune for that.

navidrome backup create [-d <folder>]

Flags

FlagDefaultDescription
-d, --backup-dirBackup.PathFolder to write the backup to

Examples

# Back up to the folder in Backup.Path
navidrome backup create

# Back up to another folder
navidrome backup create --backup-dir /mnt/backups/navidrome

backup prune

Deletes old backups and keeps the newest ones. It only looks at files named like navidrome_backup_<date>_<time>.db, and leaves other files in the folder alone.

navidrome backup prune [-d <folder>] [-k <count>] [-f]

By default, prune keeps as many backups as Backup.Count. If the number to keep is 0, prune deletes every backup. It asks you to type YES first, unless you pass --force.

Flags

FlagDefaultDescription
-d, --backup-dirBackup.PathFolder with the backups
-k, --keep-countBackup.CountNumber of backups to keep. 0 deletes all backups
-f, --forcefalseDon’t ask for confirmation when you delete all backups

Examples

# Keep the number of backups set in Backup.Count
navidrome backup prune

# Keep only the newest 7 backups
navidrome backup prune --keep-count 7

# Delete all backups without a prompt
navidrome backup prune --keep-count 0 --force

backup restore

Replaces the current database with a backup. It asks you to type YES first, unless you pass --force.

navidrome backup restore --backup-file <file> [-f]

If --backup-file is a file name or a relative path, the command looks for it in the Backup.Path folder. An absolute path works from anywhere.

Flags

FlagDefaultDescription
-b, --backup-fileBackup file to restore. Required
-f, --forcefalseSkip the confirmation prompt

Examples

# Restore a backup from the Backup.Path folder
navidrome backup restore --backup-file navidrome_backup_2026.04.01_04.00.00.db

# Restore a backup from another folder
navidrome backup restore --backup-file /mnt/backups/navidrome/navidrome_backup_2026.04.01_04.00.00.db

# With Docker Compose, stop the server first
docker compose stop navidrome
docker compose run --rm navidrome backup restore --backup-file navidrome_backup_2026.04.01_04.00.00.db
docker compose start navidrome

5.2.3 - navidrome doctor

Check the database for problems

The doctor command checks the database for problems. It only reads the database and never changes your data. Run it when Navidrome logs errors such as database disk image is malformed, or when every scan fails.

Usage

navidrome doctor

Flags

doctor has no flags of its own. It accepts the global flags.

Examples

# Check the database
navidrome doctor

# Stop a script when the database has problems
navidrome doctor || exit 1

# Check the database with Docker Compose
docker compose run --rm navidrome doctor

What it checks

doctor runs two checks.

  • Integrity check. Looks for corruption in the database file. If the damage is only in the search index, doctor tells you to run navidrome search rebuild. Damage anywhere else can’t be fixed automatically. Restore a backup with navidrome backup restore, or try SQLite’s .recover command.
  • Foreign key check. Looks for orphaned rows, which point to rows that no longer exist. This is not corruption. navidrome scan -f clears some of them in library data, and you have to delete the rest by hand.

The integrity check stops after a fixed number of problems. When it hits that limit, the damage may be bigger than the list shows, and doctor won’t suggest a search index rebuild.

Output

A healthy database looks like this:

Checking database integrity...
Integrity check passed.
Checking foreign keys...
Foreign key check passed.
Database is healthy.

doctor exits with status 1 when a check finds a problem or can’t finish, so you can use it in scripts.

5.2.4 - navidrome inspect

Print the tags of music files as Navidrome reads them

The inspect command prints the tags of one or more music files, the way Navidrome reads them. Use it when an album shows up split in two, or a tag you set doesn’t appear in Navidrome. For each file it prints the raw tags stored in the file and the mapped tags Navidrome uses. See Tagging for how Navidrome maps tags.

Usage

navidrome inspect [flags] <file> [<file>...]

All commands also accept the global flags.

Flags

FlagDefaultDescription
-f, --formatjsonindentOutput format. One of pretty, toml, yaml, json, jsonindent

pretty prints a text block for each file, with the raw and mapped tags in TOML. json prints everything on one line, and jsonindent prints indented JSON.

Examples

# Print the tags of one file as indented JSON
navidrome inspect "/music/Artist/Album/01 Track.flac"

# Print the tags of every MP3 in a folder, as YAML
navidrome inspect --format yaml /music/Artist/Album/*.mp3

# Easy-to-read output
navidrome inspect --format pretty "/music/Artist/Album/01 Track.flac"

# Inspect a file with Docker Compose. Use the path inside the container
docker compose run --rm navidrome inspect "/music/Artist/Album/01 Track.flac"

Notes

inspect skips files that are not audio files, and files it can’t read. It logs a warning for each one and goes on with the rest.

5.2.5 - navidrome missing

List missing files and remap them onto existing files

The missing commands list files marked as missing, and remap a missing file onto an existing one.

The scanner marks a file missing when it no longer finds it on disk. When you rename or move a file, the scanner normally reconnects it and carries over play counts, ratings, starred status, and bookmarks. If the scanner can’t match the two files, the old entry stays missing and the new file starts with no history. missing fix does that remap by hand.

See Missing Files for why files go missing, how to review them in the web UI, and how to purge them for good.

Usage

navidrome missing <subcommand> [flags]

All commands also accept the global flags.

Subcommands

SubcommandDescription
listList all files marked as missing
fixRemap a missing file onto an existing file

missing list

Lists all files marked as missing. The CSV output has these columns: id, library id, title, album, artist, and path.

navidrome missing list [-f csv|json]

Flags

FlagDefaultDescription
-f, --formatcsvOutput format. One of csv, json

Examples

# List missing files as CSV
navidrome missing list

# List missing files as JSON
navidrome missing list --format json

missing fix

Moves the data of a missing file onto an existing file.

navidrome missing fix <missing> <target>

The first argument is the missing file. The second is the file that gets its data. Each argument can be a media file ID, a library-relative path, or a libraryID:path pair. Use an ID or a libraryID:path pair when the same path exists in more than one library.

Flags

This subcommand has no flags.

Examples

# Remap by library-relative path
navidrome missing fix "Rock/Old Album/track01.mp3" "Rock/New Album/track01.mp3"

# Remap by media file ID
navidrome missing fix 3Unsdwsei9i2ZvRtFKRfwA 7KpqZmXe4Ab2NvTuGHRcxQ

# Pick the library with a libraryID:path pair
navidrome missing fix 2:"Podcasts/ep01.mp3" 2:"Podcasts/episode-01.mp3"

5.2.6 - navidrome plugin

List, configure, enable, and disable plugins

The plugin commands list, check, configure, enable, and disable plugins. They do the same things as the plugin screens in the web UI. See Plugins for how the plugin system works.

Usage

navidrome plugin <subcommand> [flags]

All commands also accept the global flags.

Commands that work with installed plugins need the plugin system enabled. Plugins.Enabled is on by default. You can still use plugin info and plugin validate on a .ndp package file when the plugin system is disabled.

Subcommands

SubcommandDescription
listList installed plugins
infoShow details for an installed plugin or a .ndp package
validateCheck the manifest of an installed plugin or a .ndp package
enableEnable a plugin
disableDisable a plugin
editChange a plugin’s config, permissions, or both
rescanFind plugins added to or removed from the plugins folder

plugin list

Lists installed plugins.

navidrome plugin list [-f table|csv|json]

Flags

FlagDefaultDescription
-f, --formattableOutput format. One of table, csv, json

Examples

# List installed plugins as a table
navidrome plugin list

# List installed plugins as JSON
navidrome plugin list -f json

plugin info

Shows details for an installed plugin or a .ndp package file. An argument that ends in .ndp is a package file. Anything else is the ID of an installed plugin.

navidrome plugin info <id|file.ndp> [-f text|json]

Flags

FlagDefaultDescription
-f, --formattextOutput format. One of text, json

Examples

# Show details for an installed plugin
navidrome plugin info my-plugin

# Check a downloaded package before you install it
navidrome plugin info ./my-plugin-1.2.0.ndp

plugin validate

Checks the manifest of an installed plugin or a .ndp package file. For an installed plugin, it also checks the stored configuration when one exists. It reads the argument the same way as info.

navidrome plugin validate <id|file.ndp>

Flags

This subcommand has no flags.

Examples

# Check an installed plugin
navidrome plugin validate my-plugin

# Check a package file
navidrome plugin validate ./my-plugin-1.2.0.ndp

plugin enable

Enables an installed plugin.

navidrome plugin enable <id>

Flags

This subcommand has no flags.

Examples

navidrome plugin enable my-plugin

plugin disable

Disables an installed plugin.

navidrome plugin disable <id>

Flags

This subcommand has no flags.

Examples

navidrome plugin disable my-plugin

plugin edit

Changes a plugin’s config, the users and libraries it can access, and whether it can write to libraries. Pass at least one flag. The flags come in pairs, and you can’t use both flags of a pair in one call.

navidrome plugin edit <id> [flags]

Flags

FlagDefaultDescription
--configPlugin config as a JSON string
--config-fileFile to read the plugin config JSON from. Use - to read from stdin
--usersUsernames the plugin can access, as alice,bob or ["alice","bob"]
--all-usersfalseGive the plugin access to all users
--librariesLibrary IDs the plugin can access, as 1,2 or [1,2]
--all-librariesfalseGive the plugin access to all libraries
--write-accessfalseLet the plugin write to libraries
--no-write-accessfalseDon’t let the plugin write to libraries

The pairs are --config and --config-file, --users and --all-users, --libraries and --all-libraries, and --write-access and --no-write-access.

Examples

# Set a plugin's config
navidrome plugin edit my-plugin --config '{"apiKey":"abc123"}'

# Read the config from stdin
cat config.json | navidrome plugin edit my-plugin --config-file -

# Give access to all users and let the plugin write to libraries
navidrome plugin edit my-plugin --all-users --write-access

# Limit the plugin to two libraries
navidrome plugin edit my-plugin --libraries 1,2

plugin rescan

Looks in the plugins folder again and picks up plugins you added or removed. The folder comes from Plugins.Folder, which defaults to the plugins folder inside DataFolder.

navidrome plugin rescan

Flags

This subcommand has no flags.

Examples

# Pick up a new .ndp file you copied into the plugins folder
navidrome plugin rescan

5.2.7 - navidrome pls

List, export, and import playlists

The pls commands list playlists, export them to M3U files, and import M3U files as playlists.

Navidrome also imports M3U files it finds in your library when it scans. You don’t need pls import for those. See AutoImportPlaylists and PlaylistsPath in Configuration Options.

Usage

navidrome pls --playlist <name-or-id> [--output <file>]
navidrome pls <subcommand> [flags]

pls with no subcommand exports one playlist. pls export does the same, and it can also export many playlists at once.

All commands also accept the global flags.

Flags

These flags are for pls with no subcommand.

FlagDefaultDescription
-p, --playlistName or ID of the playlist to export. Required
-o, --outputFile to write the playlist to. Without it, or with -, prints to stdout

Examples

# Print a playlist to stdout
navidrome pls --playlist "Road Trip Mix"

# Write a playlist to a file
navidrome pls --playlist "Road Trip Mix" --output ./road-trip.m3u8

Subcommands

SubcommandDescription
listList playlists
exportExport playlists to M3U files
importImport M3U files as playlists

pls list

Lists playlists, sorted by owner. The CSV output has these columns: playlist id, playlist name, owner id, owner name, and public.

navidrome pls list [-u <user>] [-f csv|json]

Flags

FlagDefaultDescription
-u, --userOnly list playlists of this username or user ID
-f, --formatcsvOutput format. One of csv, json

Examples

# List all playlists as CSV
navidrome pls list

# List the playlists of one user as JSON
navidrome pls list --user alice --format json

pls export

Exports one playlist or many playlists to M3U files.

navidrome pls export [-p <playlist>] [-u <user>] [-o <folder>]

What it does depends on the flags you pass:

  • With --playlist and no --output, it prints that playlist to stdout.
  • With --playlist and --output, it writes that playlist to a file in the output folder.
  • Without --playlist, it writes every playlist to the output folder. Add --user to export only the playlists of one user. --output is required here.

--output is a folder, and the folder must already exist. This is different from pls --output, which takes a file. Each file gets the name of its playlist, such as Road Trip Mix.m3u. If two playlists have the same name, Navidrome adds the first 6 characters of the playlist ID to the file name, such as Road Trip Mix_3Unsdw.m3u.

Flags

FlagDefaultDescription
-p, --playlistName or ID of one playlist to export
-o, --outputFolder to write the M3U files to
-u, --userOnly export playlists of this username or user ID

Examples

# Export all playlists to a folder
navidrome pls export --output ./playlists

# Export the playlists of one user
navidrome pls export --user alice --output ./playlists

# Export one playlist to a folder
navidrome pls export --playlist "Road Trip Mix" --output ./playlists

pls import

Imports one or more M3U files as playlists. Navidrome matches each entry in the file to a track in your library. For each file, it prints how many tracks matched and how many it didn’t find. If one file fails, the command prints the error and goes on with the rest.

navidrome pls import [-u <user>] [--sync] <file> [<file>...]

By default, the first admin user owns the imported playlists. Pass --user to pick another owner.

A synced playlist follows its M3U file. You can’t edit its tracks in Navidrome. If the file is in your library, the scanner updates the playlist when the file changes. Without --sync, the playlist keeps the tracks from the import, and you can edit them.

Flags

FlagDefaultDescription
-u, --userFirst adminUsername or user ID of the playlist owner
--syncfalseMark the imported playlists as synced

Examples

# Import one file
navidrome pls import ./road-trip.m3u

# Import many files for one user
navidrome pls import --user alice ./playlists/*.m3u

# Import a playlist from the library and keep it synced with the file
navidrome pls import --sync "/music/Playlists/Favorites.m3u"

# With Docker Compose, mount the files so the container can read them
docker compose run --rm -v ./playlists:/playlists navidrome pls import /playlists/road-trip.m3u

5.2.8 - navidrome scan

Scan the music library

The scan command scans your music library for new, changed, and removed files. Use it to start a scan from a script, to force a full scan, or to scan only some folders.

Usage

navidrome scan [flags]

All commands also accept the global flags.

Flags

FlagDefaultDescription
-f, --fullfalseCheck all folders and ignore modification times
-t, --targetScan only this folder, as a libraryID:folderPath pair. Repeatable
--target-fileFile with folders to scan, one libraryID:folderPath pair per line

Navidrome also has a --subprocess flag. The server uses it to run scans, so don’t pass it yourself.

Examples

# Scan for changes
navidrome scan

# Full scan
navidrome scan --full

# Scan only two folders, in two libraries
navidrome scan -t 1:Music/Rock -t 2:Audiobooks

# Read the folders to scan from a file
navidrome scan --target-file ./scan-targets.txt

# Full scan with Docker Compose
docker compose run --rm navidrome scan --full

Scan targets

A target is a library ID and a folder in that library, joined by a colon. The folder path is relative to the root folder of the library. For example, 1:Music/Rock is the Music/Rock folder in library 1.

To find library IDs, run navidrome user list. Its libraries column shows each library as id:path. See Multi-Library for how libraries work.

A target file has one target on each line. The command skips empty lines. If you pass both --target-file and --target, the command uses only the file.

5.2.9 - navidrome search

Rebuild the full-text search index

The search command maintains the full-text search index.

Usage

navidrome search <subcommand> [flags]

All commands also accept the global flags.

Subcommands

SubcommandDescription
rebuildDelete the search index and build it again from the library data

search rebuild

Deletes the full-text search index and builds it again from your library data. The index only holds copies of data stored elsewhere in the database, so you lose nothing. Navidrome checks the new index before it saves it.

navidrome search rebuild [-f]

Use it in two cases:

  • navidrome doctor reports that the corruption is limited to the search index.
  • Search misses items that are in your library. doctor can’t detect an index that is out of sync but not corrupt, so a rebuild is the thing to try.

Without --force, the command asks you to type YES to continue.

Flags

FlagDefaultDescription
-f, --forcefalseSkip the confirmation prompt

Examples

# Check the database, then rebuild a corrupted search index
navidrome doctor
navidrome search rebuild

# With Docker Compose, stop the server first
docker compose stop navidrome
docker compose run --rm navidrome search rebuild
docker compose start navidrome

5.2.10 - navidrome service

Install and control Navidrome as an OS service

The service commands install Navidrome as a service in your OS service manager, then start, stop, and check it. The service manager is systemd on most Linux systems, launchd on macOS, and the Service Control Manager on Windows. navidrome service --help shows the one your system uses.

The installation guides for Linux, macOS, and Windows show the full setup.

Usage

navidrome service <subcommand> [flags]

The alias svc works too, so navidrome svc status is the same as navidrome service status.

All commands also accept the global flags.

Subcommands

SubcommandDescription
installInstall Navidrome as a service
uninstallRemove the service
startStart the service
stopStop the service
statusShow whether the service is running
executeRun Navidrome in the foreground, as the service manager does

service install

Installs Navidrome as a system service. Before it installs, it prints the working directory, music folder, data folder, and log location the service will use. You usually need root or Administrator rights to install a service.

navidrome service install [-u <user>] [-w <folder>] [-c <config file>]

If you pass --configfile, the service uses that config file. Without it, the service looks for navidrome.toml in its working directory. The service manager restarts Navidrome if it fails. Logs go to the data folder, unless you set LogFile.

On Linux, the systemd unit also reads environment variables from /etc/sysconfig/navidrome if that file exists.

Flags

FlagDefaultDescription
-u, --userOS user that runs the service
-w, --working-directoryFolder of the navidrome binaryWorking directory of the service

Examples

# Install the service with a config file, run by the navidrome user
sudo navidrome service install --user navidrome --configfile /etc/navidrome/navidrome.toml

# Install with a different working directory
sudo navidrome svc install --working-directory /var/lib/navidrome

service uninstall

Removes the service from the service manager. Your music and data folders stay as they are.

navidrome service uninstall

Flags

This subcommand has no flags.

Examples

sudo navidrome svc uninstall

service start

Starts the service.

navidrome service start

Flags

This subcommand has no flags.

Examples

sudo navidrome svc start

service stop

Stops the service. Navidrome gets 10 seconds to shut down cleanly.

navidrome service stop

Flags

This subcommand has no flags.

Examples

sudo navidrome svc stop

service status

Prints whether the service is Running, Stopped, or Unknown.

navidrome service status

Flags

This subcommand has no flags.

Examples

navidrome svc status

service execute

Runs Navidrome in the foreground as a service. The service manager runs this command to start Navidrome, so you don’t need it. To run Navidrome in the foreground yourself, run navidrome.

navidrome service execute

Flags

This subcommand has no flags.

5.2.11 - navidrome user

Create, edit, list, and delete users

The user commands create, edit, list, and delete Navidrome users.

These commands need at least one admin user in the database. On a new install, create the first admin in the web UI.

Usage

navidrome user <subcommand> [flags]

All commands also accept the global flags.

Subcommands

SubcommandAliasDescription
createcCreate a user
editeChange a user
listList users
deletedDelete a user

user create

Creates a user. The command asks for the password twice. Press Enter with no password to cancel. There is no flag for the password, so run the command in a terminal. With docker run, add -it.

navidrome user create --username <username> [flags]

Without --library-ids, the user can access all libraries. Admins can always access all libraries, so the command ignores --library-ids when you pass --admin. If a library ID doesn’t exist, the command fails and creates nothing.

Flags

FlagDefaultDescription
-u, --usernameUsername to log in with. Required
--nameThe usernameDisplay name of the user
-e, --emailEmail address of the user
-a, --adminfalseMake the user an admin
-i, --library-idsAll librariesComma-separated IDs of the libraries the user can access

Examples

# Create an admin user
navidrome user create --username alice --email [email protected] --admin

# Create a regular user who can access libraries 1 and 3 only
navidrome user create --username bob --name "Bob Smith" --library-ids 1,3

user edit

Changes a user. Find the user by username or ID, then pass the flags for what you want to change. If nothing changes, the command says so.

navidrome user edit --user <username-or-id> [flags]

Some flags come in pairs, and you can’t use both flags of a pair in one call. The pairs are --set-admin and --set-regular, --email and --remove-email, and --name and --remove-name.

--set-admin gives the user access to all libraries. --set-regular keeps the libraries the user has, so add --library-ids to limit them.

Flags

FlagDefaultDescription
-u, --userUsername or ID of the user to change. Required
--set-adminfalseMake the user an admin
--set-regularfalseMake the user a regular user
--set-passwordfalseAsk for a new password
-e, --emailNew email address
--remove-emailfalseClear the email address
--nameNew display name
--remove-namefalseClear the display name
-i, --library-idsComma-separated IDs of the libraries the user can access. Replaces the current list. Ignored with --set-admin

Examples

# Make an admin a regular user
navidrome user edit --user alice --set-regular

# Change a password. The command asks for the new one
navidrome user edit --user alice --set-password

# Limit a user to libraries 1 and 2
navidrome user edit --user bob --library-ids 1,2

user list

Lists all users. The CSV output has these columns: user id, username, user’s name, user email, admin, created at, updated at, last access, last login, and libraries. The libraries column lists each library as id:path, separated by |.

navidrome user list [-f csv|json]

Flags

FlagDefaultDescription
-f, --formatcsvOutput format. One of csv, json

Examples

# List users as CSV
navidrome user list

# List users as JSON
navidrome user list --format json

user delete

Deletes a user. The command doesn’t ask for confirmation. It won’t delete the last user.

navidrome user delete --user <username-or-id>

Flags

FlagDefaultDescription
-u, --userUsername or ID of the user to delete. Required

Examples

navidrome user delete --user alice

5.3 - Security Considerations

Information on how to making your installation more secure

Permissions

You should NOT run Navidrome as root. Ideally you should have it running under its own user and enable the EnforceNonRootUser configuration option. Navidrome only needs read-only access to the Music Folder, and read-write permissions to the Data Folder.

Encrypted passwords

To be able to keep compatibility with the Subsonic API and its clients, Navidrome needs to store user’s passwords in its database. By default, Navidrome encrypts the passwords in the DB with a shared encryption key, just for the sake of obfuscation as this key can be easily found in the codebase.

This key can be overridden by the config option PasswordEncryptionKey. Once this option is set and Navidrome is restarted, it will re-encrypt all passwords with this new key. This is a one-time only configuration, and after this point the config option cannot be changed anymore or else users won’t be able to authenticate.

Network configuration

Even though Navidrome comes with an embedded, full-featured HTTP server, you should seriously consider running it behind a reverse proxy (Ex: Caddy, Nginx, Traefik, Apache) for added security, including setting up SSL. There are tons of good resources on the web on how to properly setup a reverse proxy.

When using Navidrome in such configuration, you may want to prevent Navidrome from listening to all IPs configured in your computer, and only listen to localhost. This can be achieved by setting the Address flag to localhost.

Externalized authentication

When externalized authentication is enabled, Navidrome trusts the authenticated user header (configured with the ExtAuth.UserHeader option, by default Remote-User).

In principle, the authenticated user header is ignored if requests don’t come from a reverse proxy trusted with the ExtAuth.TrustedSources option. This check can however be fooled by requests with a forged source IP address if the reverse proxy can be bypassed (e.g. a request sent by a compromised service running next to Navidrome).

When using externalized authentication in a fresh installation, the first user created through this method will automatically be granted admin privileges, consistent with the behavior when creating the first user through the web interface.

Listening on a UNIX socket

If you are listening on a UNIX socket (Address option) and enable externalized authentication (ExtAuth.TrustedSources configured with the special value @), any process able to write to the socket can forge authenticated requests.

Make sure to properly protect the socket with user access controls (see the UnixSocketPerm option).

Reverse proxy with a dynamic IP address

Navidrome does not support resolving hostnames in the ExtAuth.TrustedSources configuration option.

In scenarios where the reverse proxy has a dynamic IP address, for example when you use docker, you might consider using 0.0.0.0/0 to allow requests from the reverse proxy. This essentially disables the check, so you have to make sure that only the reverse proxy can send requests to Navidrome.

In particular with docker and docker-compose, without extra configuration containers are usually placed on the same default network and can therefore freely communicate.

Potential HPP vulnerability

When externalized authentication is enabled, Navidrome currently does not disable the other authentication methods. This could potentially create an HTTP Parameter Pollution vulnerability if the reverse proxy is misconfigured, or due to a bug or oversight in Navidrome.

You should make sure that the authenticated user header is always set for requests against protected endpoints. As a rule of thumb, for an externalized authentication setup, the only endpoints that are not protected are /rest/* (depending on whether your proxy can handle the subsonic authentication scheme) and /share/*.

Transcoding configuration

To configure transcoding, Navidrome’s WebUI provide a screen that allows you to edit existing transcoding configurations and to add new ones. That is similar to other music servers available in the market that provide transcoding on-demand.

The issue with this is that it potentially allows an attacker to run any command in your server. This married with the fact that some Navidrome installations don’t use SSL and/or run it as a super-user (root or Administrator), is a recipe for disaster!

In an effort to make Navidrome as secure as possible, we decided to disable the transcoding configuration editing in the UI by default. If you need to edit it (add or change a configuration), start Navidrome with the ND_ENABLETRANSCODINGCONFIG set to true. After doing your changes, don’t forget to remove this option or set it to false.

Limit login attempts

To protect against brute-force attacks, Navidrome is configured by default with a login rate limiter, It uses a Sliding Window algorithm to block too many consecutive login attempts. It is enabled by default and you don’t need to do anything. The rate limiter can be fine tuned using the flags AuthRequestLimit and AuthWindowLength and can be disabled by setting AuthRequestLimit to 0, though it is not recommended.

5.4 - Anonymous Data Collection

Information on how data is collected by the Navidrome project

Overview

Navidrome includes an anonymous usage statistics feature designed to help improve the project for all users. This page explains what data is collected, how it is used, and how to opt out if you prefer not to participate.


Key Principles

  • Anonymous Data Only: Navidrome collects only non-personal, anonymous data to guide future improvements.
  • What’s Collected: See Collected Data.
  • What’s NOT Collected: No emails, IP addresses, usernames, or other identifiable data. See Excluded Data.
  • Opt-Out Available: Enabled by default, but you can disable it anytime.
  • In-House Data Handling: Collected data goes to an open-source server hosted by the project—no third-party services.
  • Full Transparency: Logs and UI indicators show when data is sent and what it contains.

What Will Be Collected?

Below is a plain-English explanation of what each field is generally intended to represent. Each field corresponds to a piece of information about the running application or its environment:

Top-level Fields

  • InsightsID: A unique, randomly generated identifier for a given Navidrome instance. It’s a random ID that allows reports from the same instance to be grouped together. It is NOT directly connected to any of your data, and it cannot be used to directly identify you or your instance.

  • Version: Shows which Navidrome version each report came from. In aggregate analysis, this tells you how many users are on a particular version and can highlight upgrade patterns.

  • Uptime: The amount of time an instance has been running. When aggregated, this helps gauge the overall stability and average runtime before restarts across the community.


Build Information

Information about custom builds. Aggregated, this can reveal common build configurations used by the community, and if there are any issues (e.g. performance impact or high memory usage) specific to certain build configurations.

  • Build.Settings: Key-value pairs representing the compile-time settings for Navidrome (build tags, compiler options, etc.).

  • Build.GoVersion: The version of Go used to compile Navidrome.


OS Information

  • OS.Type: Operating system type (e.g., “linux”, “windows”, “darwin”). When aggregated, this shows the distribution of OS usage.

  • OS.Distro: OS distribution name for Linux-based systems (e.g., “ubuntu”, “debian”). Useful in aggregate form to see which Linux distributions are most common.

  • OS.Version: The version of the operating system or distribution. Aggregating these versions helps track environment trends and legacy OS usage.

  • OS.Containerized: Whether Navidrome is running in a containerized environment (Docker, Kubernetes, etc..)

  • OS.Arch: CPU architecture (e.g., “amd64”, “arm”). This allows to understand how Navidrome is typically deployed (e.g., on Raspberry Pis vs. standard x86 servers).

  • OS.NumCPU: The number of logical CPUs available. Aggregated, it helps form a picture of typical hardware profiles used across deployments.


Memory Information

Aggregated memory usage helps analyze typical resource consumption patterns and, together with other metrics, help identify causes for memory leaks.

  • Mem.Alloc: Current memory allocated by the Go runtime (in bytes).

  • Mem.TotalAlloc: Memory allocated over the lifetime of the application.

  • Mem.Sys: Total memory requested from the underlying system.

  • Mem.NumGC: Number of completed garbage collection runs. Collected in aggregate, this shows a high-level overview of how Navidrome manages memory across various deployments.


File System Information

Each FS-related field captures information about the directories or storage mediums used by Navidrome. Aggregating this data can help understand how frequently different types of storage are configured and where media content is commonly stored. This information is just the type of the filesystem (ex: nfs, ext4, ntfs…) used for each type of storage, not the actual path.

  • FS.Music: File system type for storing music files.

  • FS.Data: File system type storing Navidrome’s database.

  • FS.Cache: File system type storing cached data.

  • FS.Backup: The file system type for backups.

Each of these includes Type, describing the kind of storage (e.g., local disk, network mount). Aggregating them shows how widely different storage setups are used, and their impact on performance.


Library Information

These fields represent aggregate counts of media items and user data within each instance’s library. Across many deployments, they help illustrate general usage trends of the Navidrome library functionality.

  • Library.Tracks: Total number of songs (tracks).

  • Library.Albums: Total number of albums.

  • Library.Artists: Count of distinct artists.

  • Library.Playlists: Number of playlists.

  • Library.Shares: Number of shares (public links).

  • Library.Radios: The count of radio station entries or streaming sources.

  • Library.ActiveUsers: Number of currently active users in the last 7 days. This helps understand the average load the server is operating under.

  • Library.ActivePlayers: Number of currently active players in the last 7 days. This allows to understand what are the most used players.


Configuration Settings

These are various Navidrome configuration flags and settings. In aggregate, they help show which features are commonly enabled or how the service is typically set up across the community. These are mostly boolean flags or simple settings, NO identifiable data is collected (paths, ids, tokens, etc..). For a reference of what each one represents, take a look at the configuration options page in the documentation.

  • Config.LogLevel
  • Config.LogFileConfigured
  • Config.TLSConfigured
  • Config.ScanSchedule
  • Config.TranscodingCacheSize
  • Config.ImageCacheSize
  • Config.EnableArtworkPrecache
  • Config.EnableDownloads
  • Config.EnableSharing
  • Config.EnableStarRating
  • Config.EnableLastFM
  • Config.EnableListenBrainz
  • Config.EnableSpotify
  • Config.EnableMediaFileCoverArt
  • Config.EnableJukebox
  • Config.EnablePrometheus
  • Config.SessionTimeout
  • Config.SearchFullString
  • Config.RecentlyAddedByModTime
  • Config.PreferSortTags
  • Config.BackupSchedule
  • Config.BackupCount
  • Config.DefaultBackgroundURL
  • Config.DevActivityPanel
  • Config.EnableCoverAnimation

In Summary:
When gathered from many Navidrome instances, these metrics and settings are invaluable in understanding the aggregate patterns of usage, deployment environments, media collections, and configuration preferences. This aggregated data is not intended for diagnosing single-instance issues; rather, it provides a high-level view of how Navidrome is deployed and used by its community overall.

Here’s a sample of the data sent: https://gist.github.com/deluan/1c8944fb92329c1658d96bb72a8e8db4

Data Retention

  • Sent daily
  • Retained for 30 days, then permanently deleted.

What Will NOT Be Collected?

To protect your privacy, the following will not be collected:

  • No Personal Information: No emails, usernames, or anything identifiable.
  • No Network Information: No IP addresses or device fingerprints.
  • No Detailed Playback History: Individual song plays are not tied to specific users.
  • No Library Details: Song/artist/album/playlist names are excluded.
  • No Sensitive Configuration Data: Passwords, tokens, or logs with personal info are never collected.

Why Collect This Data?

Collecting anonymous usage statistics helps:

  • Identify popular platforms and configurations.
  • Prioritize features and fixes based on usage patterns.
  • Ensure updates don’t unintentionally disrupt the majority of users.

Privacy and Transparency

Transparency Measures

  1. Human-Readable Documentation: This page explains all details in a clear, accessible way.
  2. Log Transparency: Each data submission logs:
    • The exact payload sent.
    • The destination URL. Example:
    Sent Insights data (for details see http://navidrome.org/docs/getting-started/insights  data="{\"id\":\"4c457065-101a-435a-b158-244b573579cd\",\"version\":\"0.53.3-SNAPSHOT (7f47e0a53)\",\"uptime\":0,\"build\":{\"settings\":{\"-buildmode\":\"exe\",\"-compiler\":\"gc\",\"-ldflags\":\"-extldflags '-static -latomic' -w -s         -X github.com/navidrome/navidrome/consts.gitSha=7f47e0a53         -X github.com/navidrome/navidrome/consts.gitTag=v0.53.3-SNAPSHOT\",\"-tags\":\"netgo\",\"CGO_ENABLED\":\"1\",\"GOAMD64\":\"v1\",\"GOARCH\":\"amd64\",\"GOOS\":\"linux\",\"vcs\":\"git\",\"vcs.modified\":\"true\",\"vcs.revision\":\"7f47e0a5373d1ea067de8929c828ee0cd85a0795\",\"vcs.time\":\"2024-12-15T02:01:46Z\"},\"goVersion\":\"go1.23.4\"},\"os\":{\"type\":\"linux\",\"distro\":\"qts\",\"version\":\"5.2.2\",\"arch\":\"amd64\",\"numCPU\":4},\"mem\":{\"alloc\":2750544,\"totalAlloc\":9076584,\"sys\":14243080,\"numGC\":4},\"fs\":{\"music\":{\"type\":\"ext2/ext3/ext4\"},\"data\":{\"type\":\"ext2/ext3/ext4\"},\"cache\":{\"type\":\"ext2/ext3/ext4\"},\"backup\":{\"type\":\"ext2/ext3/ext4\"}},\"library\":{\"tracks\":85200,\"albums\":6255,\"artists\":1319,\"playlists\":26,\"shares\":19,\"radios\":7,\"activeUsers\":1},\"config\":{\"logLevel\":\"debug\",\"transcodingCacheSize\":\"100GB\",\"imageCacheSize\":\"50GB\",\"enableArtworkPrecache\":true,\"enableDownloads\":true,\"enableSharing\":true,\"enableStarRating\":true,\"enableLastFM\":true,\"enableListenBrainz\":true,\"enableMediaFileCoverArt\":true,\"enableSpotify\":true,\"enableCoverAnimation\":true,\"sessionTimeout\":\"168h0m0s\",\"recentlyAddedByModTime\":true,\"backupSchedule\":\"5 4 * * *\",\"backupCount\":5,\"devActivityPanel\":true,\"defaultBackgroundURL\":true}}" server="https://insights.navidrome.org/collect" status="200 OK"
    
  3. UI Indicator: You will be able to see the last submission date/time in the About dialog:


How to Opt-Out

Data collection is enabled by default, but you can disable it anytime, by setting the new config option EnableInsightsCollector (or ND_ENABLEINSIGHTSCOLLECTOR env var) to false. If you have EnableExternalServices set to false, it will also disable the insights collection.

Detailed instructions will be provided in the release notes.


Data Collection Server

The data collection server is open-source and hosted by the Navidrome project, ensuring secure, in-house handling. Check it out: Navidrome Insights Server.


Thank You for Your Support

By allowing anonymous usage statistics, you’re contributing to the future of Navidrome. Your trust is invaluable, and if you’re uncomfortable, you can always opt out—no questions asked.

For questions or concerns, feel free to reach out via:

Thank you for being part of the Navidrome community!

Deluan
Navidrome Developer