Home, Discover, radio and mixes, where covers and artist pictures come from, and how Last.fm, ListenBrainz, Spotify and music apps connect.
Home#
The Home page shows your library first: recently added albums, your albums, the artists you have the most albums by, what you played lately in DroppedNeedle, and a Browse Genres grid. Those come straight from the database, so the page is up as soon as you open it. Trending artists and popular albums (from ListenBrainz, or Last.fm if that is your primary source), your top albums and loved tracks, your own genres and your ListenBrainz weekly exploration load in the background and slide in a few seconds later. Those shelves are saved, so they survive a restart, and are quietly rebuilt when they are more than five minutes old. Popular Right Now shows each album once. If you also use Discover, Home shows a teaser from your Discover page. The cards asking to connect a download client or Jellyfin show only to admins, who set those up.
Discover#
The Discover page fills its shelves from your listening history: top picks for you, “because you listen to” rows, artists you might like, fresh releases, albums missing from your favorite artists, artists to rediscover from your Jellyfin plays, popular albums in your genres, daily mixes, radio stations, your ListenBrainz weekly exploration and what listeners like you play, anniversaries and new releases from artists you follow, plus global trends and your Last.fm weekly charts when Last.fm is linked. Albums you own are marked. The page is built in the background, so opening it never waits: you see the last page right away, and a page older than an hour rebuilds while you look at it and swaps in when it is done. What the shelves are built from is kept between builds: your listening statistics for six hours, your genres, fresh releases and the sitewide charts for twelve, similar artists, artists’ albums and popularity for up to 14 days, which album a recording belongs to for up to 30 days, and your latest scrobbles and loved tracks for 15 minutes. So a new album can take up to two weeks to show in an artist’s popular albums. An artist ListenBrainz knows nothing about is asked again after a day. These answers are kept across upgrades. An admin who wants them sooner can clear the provider answers under Settings > Cache. The Refresh button starts a fresh build. The last good page is saved, so it survives a restart, and a library scan never throws it away: albums you add or remove show as owned or not on your next visit, without a rebuild. The provider shelves on the home page are saved the same way. While you keep using Discover, the server rebuilds your page and your discover queue every twelve hours in the background; it stops a day after your last visit. When a build fails or finds nothing, as while ListenBrainz is down, the next one waits five minutes, and the next background build 15 minutes. Set DISCOVER_WARMER_ENABLED=false to turn that background work off. How many top picks you get and how much your genres weigh in them are under Settings > Advanced.
Daily mixes pick their starting artists once a week, from your library, and shuffle what they pick from those artists every day. The Primary source under Profile > Scrobbling & Discovery decides where album popularity comes from: with Last.fm as your primary source, Discover, Missing Essentials, radio, search counts and the library image refresh read Last.fm and leave ListenBrainz alone, apart from the sitewide album chart, which only ListenBrainz has. If Last.fm refuses your key, these go back to ListenBrainz for an hour at a time. The queue’s cards still show ListenBrainz listen counts, and radio asks ListenBrainz for the name of an artist outside your library. Last.fm names albums by release, so matching one costs one or two MusicBrainz calls the first time, at most 30 calls per build; albums not yet matched appear with a later build.
With both Last.fm and ListenBrainz linked, Discover’s seed and similar artists come from both, artists both suggest first, and those shelves carry both badges. An admin can turn this off under Settings > Advanced, and Discover then follows your primary source only.
When an outside service such as ListenBrainz, Last.fm or MusicBrainz is down or rate limiting, a page that needs it says which service is not answering and when to try again. The API answers 503 PROVIDER_UNAVAILABLE with the service in details.provider and the wait, when the service gave one, in details.retry_after and the Retry-After header. A service that needs a key first, or refused the saved one, answers 409 PROVIDER_NOT_CONFIGURED. The home charts are kept for twelve hours, and your own top albums for six. When ListenBrainz is not answering and Last.fm works for you, trending artists and your top albums come from Last.fm instead, and while ListenBrainz switches album popularity off or rate limits it, Discover takes popularity from Last.fm for a while.
Genres#
Genre tiles on Home and Discover use covers from your own albums in that genre: up to four, picked from different artists, and only art your library actually has (a cover image in the album folder or one embedded in the files). Genres you have nothing in get a plain color. Click a genre to see the artists and albums you own in it next to the popular ones on MusicBrainz. Your own show their first rows, with “View all” for the rest. The popular ones show three rows; “View more” opens the rest and then pages through them. While you look, the server fetches pictures for those popular artists and albums in the background, slowly, so the page is quicker next time.
The discover queue#
The discover queue on the Discover page deals you albums one at a time. It is built in the background from what you listen to: artists similar to your top artists, your genres, fresh releases, artists you love on ListenBrainz and lesser-played albums by your favorites, with a couple of trending picks mixed in. Last.fm users get similar artists and charts from Last.fm instead, and your Jellyfin most played and favorite artists fill in when ListenBrainz has too little history. Without any of them the queue is trending albums. Albums already in your library are left out. Choose “Not for me” on an album and it stays out of every future queue and your top picks for a year. To see what you hid, choose Hidden at the top of the Discover page. Un-hide takes an album off that list, for your account only, and a later queue can deal it again; the queue you have now is left as it is. An admin can change that retention under Settings > Advanced, in the Retention section. To hide the queue, switch Discover Queue off under Settings > Discover; that changes only your account. The Customise button on the Discover page opens that tab. A built queue survives a restart and counts as stale after a day, after which the page builds a new one.
Radio#
Radio plays a station from an artist, an album, a genre or a whole shelf. An artist station uses that artist and up to seven similar ones; a genre station starts from artists in your library tagged with that genre (the same ones all day) and tops up with Last.fm’s top artists for the tag. In library mode it plays only your own tracks. In hybrid mode, the default, about half the tracks are popular songs by those artists that you don’t own. Songs you don’t own play through YouTube when it is set up and are skipped otherwise. No artist gets more than four tracks, and never three in a row. Playing a shelf plays its albums in order: your own tracks where you have the album, and its first few songs where you don’t. Radio shelves of albums work the same way: similar artists’ albums for an artist, similar albums and more by the same artist for an album. They follow ListenBrainz, or Last.fm while ListenBrainz is having trouble, and need one of the two linked for your account.
Playlist suggestions#
“Suggest Albums” on a playlist’s page lists albums to add: albums by artists similar to the ones on it, plus albums in their genres. Artists already on the playlist are left out. It works for your own playlists and public ones. Suggestions start from the artists’ MusicBrainz ids. A playlist imported from Jellyfin, Navidrome or Plex doesn’t carry those, so each track’s artist is looked up in your library: by the track’s MusicBrainz recording id, or else by the artist’s name when exactly one library artist linked to MusicBrainz has that name. Tracks whose artist isn’t found that way don’t shape the suggestions. When there is nothing to suggest, the window says why.
Download all#
“Download all” on a Discover shelf creates a discovery batch: every album on it that you don’t have and nobody has asked for yet becomes a normal album request. Your quota and the approval rules apply as they would for one album, so a plain user’s batch waits for an admin, and a batch that would go over your quota is refused as a whole. Albums you already own or that are already requested are listed as skipped. A batch holds up to 30 albums. Your batches are listed with how many albums have arrived and how many are still pending. Removing a batch withdraws your pending requests from it; if someone else asked for the same album, their request carries on. When an admin removes a batch, the albums it brought in also go to the recycle bin, unless another user asked for, favorited or played them. It never touches albums that were already yours or already requested. If a step fails, that album stays in the batch so you can try again. While no recycle bin is known (its folder can’t be reached, say), albums stay in the batch the same way and the page says why. You can also remove just the batch and keep the albums. Pages can send an idempotency_key (a UUID) when creating a batch, so a retried “Download all” never files it twice.
Weekly Mix#
Your Weekly Mix is a playlist built for each user with a linked ListenBrainz account, while ListenBrainz recommendations are on. It takes your ListenBrainz weekly-jams and weekly-exploration playlists and tops them up to 100 tracks with the most played song of artists similar to the ones in them, read with your own ListenBrainz link. Without a link there is no Weekly Mix. Songs you already own play from your library. The server rebuilds every mix once a day if it is more than six days old, and you can rebuild yours any time with Refresh under Profile > Scrobbling & Discovery. If you switch on “auto-request” there, each build also requests up to five albums from the mix you don’t have yet. Admins and trusted users get this straight away; other users wait for an admin to approve it on the Requests page. An admin can reject or later revoke it, which also switches the toggle off. The app rebuilds your Weekly Mix by itself, and importing a Spotify playlist again replaces its songs, so changes that people you let edit these playlists make are replaced at the next rebuild or import.
Covers and artist pictures#
Album covers come from your own files first: an image in the album folder (cover.jpg, folder.png, front.jpg and the like) or a picture embedded in a track. The library picks these up after each scan, and large pictures are scaled down for the grid. Albums without local art get their cover from the Cover Art Archive, cached on disk. To prefer the Cover Art Archive over your files, turn off “Prefer local cover art” under Settings > Advanced.
Artist pictures come from TheAudioDB. When TheAudioDB has none, DroppedNeedle finds the artist’s Wikidata entry by its MusicBrainz id and uses the Deezer picture that entry links to, or else its Wikimedia Commons photo. The match is always by exact id, never by name. A Commons photo shows its author and license in a small line on the artist page, linked to the file’s Commons page. The first time an artist shows up the picture is fetched in the background, so a grid of new artists fills in over a few seconds instead of holding the page up. Pictures are kept on disk with the covers. AudioDB album thumbnails stand in for albums that have no cover anywhere else. A library artist that is not linked to MusicBrainz shows a mosaic of their own albums’ covers (art in the album’s files): four of them in a 2x2, two crosswise when there are only two or three, or the one cover when that is all there is. Albums under their name come first, then albums not tagged as compilations, then the newest. Subsonic and Jellyfin apps show the same picture.
A song in a playlist shows its picture only when it comes from DroppedNeedle itself or from Spotify, Deezer, Last.fm, TheAudioDB or YouTube; any other picture address is dropped and the song shows the placeholder, so nobody can add a picture that tracks who views a public or shared playlist.
When the Cover Art Archive or another picture source cannot be reached, the cover keeps loading rather than showing as missing, and it is asked for again about 30 seconds later. Only an answer from the source that it has no art shows the placeholder.
The server also fetches everything for your library ahead of time: two minutes after a library scan finishes, a library image refresh starts on its own (unless one is already running). An admin can start one any time with “Refresh library images” under Settings > Cache. It goes through your artists (page details and pictures), their similar artists and top tracks, your albums (details and covers) and finally anything TheAudioDB has not been asked about yet. It skips what is already cached, so running it again picks up where the last run stopped. A progress pill at the bottom of the page shows where it is; admins and trusted users can stop it from there. Settings > Cache shows the cached provider answers per source, the cached images and the database size, and clears the provider data or the images when you want a fresh start. Clearing the provider answers also drops everyone’s built Discover page, home shelves and discover queue; each is built again on its next visit.
Last.fm and ListenBrainz#
Last.fm works like this: the admin registers one Last.fm API application at last.fm/api/account/create, saves its key and shared secret under Settings > Last.fm and switches Last.fm on, once for the whole server. From 1 December 2026 Last.fm accepts a key only while the account that owns it has Last.fm Pro: the admin’s account for the server’s key, the user’s for their own. Without Pro, Last.fm refuses the key and its features stop for everyone using it. “Test connection” there checks the pair before or after saving it and says which one Last.fm turned down: an invalid key, a suspended key, or a shared secret that does not match the key. Each user then clicks Connect under Profile > Scrobbling & Discovery, approves DroppedNeedle on last.fm, and clicks Finish. Their scrobbles go to their own Last.fm account. Users can also bring their own API application: if the server has no key saved, Connect asks for the user’s own key and secret first, and a user can always store a pair through the API (PUT /api/v3/me/connections/lastfm). A user’s own pair replaces the server’s key for that user only. The Last.fm sections on artist and album pages follow the same rule: they read with the user’s own key when one is saved, and with the server’s key otherwise. Last.fm charts on the home page read with your own key when you saved one, and the server’s key otherwise; “your top albums” from Last.fm read your linked account. If the admin later changes the server’s key, everyone who linked with the old one has to click Connect again: Last.fm sessions belong to the key that created them. Link ListenBrainz with the token from your ListenBrainz profile. Scrobbles are saved with the play: if Last.fm or ListenBrainz is down or slow, or the server restarts, they are sent later, as long as the play is less than two weeks old. Turning forwarding off, or unlinking, stops the ones still waiting, and so does a service refusing your token; link again to scrobble new plays. When the admin switches Last.fm off, the Last.fm scrobbles still waiting are dropped, and Profile > Scrobbling & Discovery says “Last.fm is off on this server.” instead of offering Connect, with Last.fm scrobbling off and Home and Discover following ListenBrainz (the API answers 409 LASTFM_OFF; a missing key pair answers 409 PROVIDER_NOT_CONFIGURED). Artist pages show photos from AudioDB, Deezer and Wikimedia Commons (AudioDB is on by default, free key rate limits apply), with the AudioDB key and whether your browser loads its images directly or through DroppedNeedle under Settings > Advanced. Artist thumbnails across the app use the same pictures.
An artist page’s similar artists, popular songs and popular albums come from the listening service you chose, and an album page’s “You Might Also Like” from your primary source. When that service is switched off, not set up, has nothing or cannot be reached, the other one fills in, either way round, and on an artist page a line above the lists says so.
ListenBrainz recommendations are on unless an admin turns them off under Settings > ListenBrainz, and they need no account. Album and artist pages, Discover and the listen counts shown on search results read ListenBrainz with your own ListenBrainz link when you have one, and without an account otherwise. Library Management’s genres always go out without one, and so do the counts search sorts by: with ListenBrainz as your primary source, well-matched albums and songs are ordered by how often people play them, using counts already fetched, and missing ones are fetched in the background for your next search (about two ListenBrainz calls for a new search, kept 30 days), so search never waits on ListenBrainz. Last.fm followers’ searches ask ListenBrainz nothing. ListenBrainz shows an artist’s popular albums and songs only to a linked account, so without your own link the server does not ask it for them. They then come from Last.fm when you have it, and from what is already fetched for other people. Otherwise an artist page says to link ListenBrainz under Profile > Scrobbling & Discovery, and Missing Essentials on Discover asks you to connect it. That is not an outage, so no “unavailable” warning shows for it. The server never reads with an account of its own. With the switch off, nothing in the app reads ListenBrainz: Discover, Home, the queue, radio, Your Weekly Mix and Wrapped included. Shelves then come from Last.fm where it is set up, and say “Recommendations are turned off.” where nothing else can answer. Linking your own ListenBrainz account and scrobbling to it work either way.
A popular song that names no album, as Last.fm’s don’t, is looked up on MusicBrainz in the background the first time the artist’s page opens (at most 20 lookups a page, kept for a week), so it shows its album’s cover from the next visit. A popular song you have on one of the artist’s own albums, or on the album it is shown with, shows that album and plays your copy.
Music apps#
Music apps (Subsonic and Jellyfin) sign in with an app password you make under Profile > Connect Apps, or, for apps an admin has listed, through the browser (Signing in apps from the browser). Your apps list your own playlists and those shared with you, and you can add, remove and reorder songs in a shared one when its owner lets you edit it. The switch under Profile > Connect Apps, off by default for everyone, adds other people’s public playlists to those lists. It changes only what apps list: an app that already holds a public playlist’s id can still open it with the switch off, a private playlist never opens for anyone it isn’t shared with, and the web UI is unaffected. What you play in an app counts like a play in the web player: it shows in the app’s recently played and most played lists, with play counts and last-played times. A play in the web player counts, whether or not you scrobble, once you have heard half the track or four minutes of it (tracks under 30 seconds never count). A play through a connected server, a radio YouTube pick, a YouTube track link or an imported playlist entry counts as your library’s track when it carries that track’s MusicBrainz recording id. A YouTube link takes that id from the album’s tracklist, so it says which track the link stands for, not what the video holds. A full-album video carries none, and neither does a playlist entry imported by an older version or moved to another source. The id also goes to ListenBrainz with these plays when you forward them. Playing a Jellyfin, Navidrome or Plex track in the web player also reports it to that server under your own linked account (Profile > Media Server Accounts), so it shows there as it would from that server’s own apps: in its Now Playing, play counts and recently played. Without a linked account of your own nothing is reported there. Navidrome counts the play once you have heard half the track or four minutes of it, and passes it on to Last.fm or ListenBrainz when you linked them inside Navidrome. Leave “Let Navidrome handle Last.fm and ListenBrainz” on under Profile > Scrobbling & Discovery in that case; with it off, such a play is scrobbled twice. Your DroppedNeedle history holds one play per listen either way. Previews never count. Marking a song, album or artist played or unplayed in a Jellyfin app is kept for you alone. Marking an album marks each of its songs, marking an artist marks the songs on the albums they lead, and an album counts as played once all its songs are. Unplayed hides your earlier plays from your Jellyfin apps’ played mark and play count, and leaves your history, statistics, Discover and Subsonic apps as they were. A Subsonic app needs to report only when playback starts, pauses, resumes or seeks: you show as playing until the track would end, plus 45 seconds, and a pause for 45 seconds. Last.fm and ListenBrainz hear that a track is playing once per track, again only when it repeats or after a stop, and never for a pause. Jellyfin apps report every few seconds and drop out 45 seconds after their last report. Subsonic apps get each album’s and artist’s MusicBrainz ids, and Jellyfin apps each album’s and track’s, from DroppedNeedle’s match, or, before identification has reached the album, the ids the files’ tags agree on (an album whose match was taken off, or that identification found nothing for, sends none); tag ids are passed to apps only and never become an album’s or artist’s identity. A track is only transcoded when the app asks for another format or a lower bitrate. If the app names no bitrate, Opus streams at 128 kbps and MP3 at 192 kbps, never above the max bitrate you set. A bitrate asked for below 64 kbps streams at 64 kbps. Each user can run two transcodes at once, so gapless players can load the next track early. A transcode an app has not read for 30 minutes is stopped to free its slot, and the track may need playing again. Finamp’s transcoded playback uses HLS, which needs transcoding on and ffmpeg installed. Only sign-in attempts are rate limited per IP address. A run of wrong passwords from one address locks it out for a short while. A device repeating one wrong password counts once a minute and is held to about five tries a second, and an app still using a revoked app password does not count at all, so neither can lock out other apps on the same network. A Subsonic app that signs in with a token and salt counts every try, as each try looks new. Album and artist pictures in Subsonic apps come from signed links under /subsonic/img that open without signing in, so an app’s picture loader can show them; playlist covers and music always need sign-in. A link is the same for every user and does not expire. It stops working when the album or artist leaves the library, while the Subsonic API is off, or if the server’s data key is replaced, and the app gets a new link the next time it reads the album or artist. A changed album cover reaches apps the next time they read the album, and Finamp within a day. A changed artist picture can take longer to reach apps. Jellyfin apps load album and artist pictures without signing in too, as they would from a real Jellyfin server, but only by ids that this server alone can make: album and artist ids are made with the server’s data key, so nobody without an account can work one out or test whether an album is in your library. Song pictures come from the song’s album. Every id handed out is stored, so apps keep their pins and downloads across restarts. A stored album or artist id survives a replaced config/data_enc.key (droppedneedle-tool reset-key); only items added afterwards get ids under the new key. Whoever holds an old key can still work out the picture ids of albums and artists stored before it was replaced.
Spotify playlist import#
Spotify playlist import needs an app from the Spotify developer dashboard. Add the redirect URI that Settings > Spotify shows (it ends in /api/v3/acquire/spotify/auth/callback) to the app, then save the app’s client ID and secret there. With “Redirect Origin” left empty, that address is the one DroppedNeedle works out for itself, which is right when you reach it directly or through a reverse proxy listed in TRUSTED_PROXY_IPS that sends X-Forwarded-Proto; if it is not the address in your browser’s address bar, fill in Redirect Origin. Each user then clicks Connect on the Spotify card in their profile, and Disconnect there unlinks it again. An app set up for v2 lists v2’s address, which v3 does not answer: add the v3 one in the dashboard (see Upgrading from v2).
An import runs in the background, one at a time across all users, and picks up again after a restart. Each album on the playlist is matched to its MusicBrainz release group only when MusicBrainz lists one of the album’s track ISRCs; an album that can’t be proved that way is left unmatched rather than guessed by name.
Once an import finishes, each song whose matched album is in your library plays from the library’s copy: the track at the same disc and track number when its title agrees, or the track with the same title elsewhere on that album. Songs on an album that comes in later link the same way a few seconds after it lands, however it arrives (a download, the import folder, a scan, or an identification that names the album later), with no need to open the playlist. Those songs then also show in Subsonic and Jellyfin apps, which list only songs with a library file.
Playlist files#
A playlist’s menu exports it as M3U (extended M3U8) or CSV, and “Import playlist” on the Playlists page reads one of those files back into a new private playlist of yours, named after the file.
An export lists each entry’s file by its path inside its library folder, such as Portishead/Dummy/01 Mysterons.flac. If your player keeps music under a folder of its own, add a path prefix (Music/, say) and it goes before every path; the export window remembers it in this browser. Entries with no file in your library (a Spotify or YouTube entry, a removed track) are left out, and the export says how many. A CSV has a header row and the columns title, artist, album, album artist, duration (whole seconds) and path. A cell that starts with =, +, -, @, a tab or a carriage return gets a ' in front, so a spreadsheet shows it as text; the import takes that ' off again.
An import takes .m3u, .m3u8 and .csv files of up to 2 MB. A CSV may have its columns in any order and other columns besides, as long as its header names at least one of the columns above; without such a header the export’s column order is assumed. The import also reads the column names common Spotify exporters write (Track Name, Artist Name(s), Album Name and the like). A file that starts with a byte-order mark is read the same as one without. Each entry is matched to a track in your library, in this order:
- its path, exactly as the library holds it;
- the end of its path, from a folder boundary, so a prefix such as
Music/orD:\Music\doesn’t matter; - its title, artist and album, ignoring capitals, accents and spacing;
- its title and artist the same way;
- if none of those finds it and its artist cell names several artists, such as
A, BorA; B, its title, the first of them and its album, the same way.
Only tracks in your library are added, each once, in the file’s order. The import reports how many tracks it added and each entry it left out, with its title, artist and why (the page lists the first 200; the API answer holds them all): it names no file, nothing in your library matches it, or the same track came earlier in the file. It reads the first 10,000 entries; any past that are only counted, and the report says how many.