v2.2.1
A self-hosted music acquisition service. Search YouTube, SoundCloud, and Monochrome (Tidal lossless), tap a result and it downloads the best quality audio as FLAC straight into your music library.
If you find it useful, consider buying me a coffee: https://ko-fi.com/geekphreek
Lidarr's great for albums, but grabbing a single track you heard on the radio shouldn't require navigating menus or pulling an artist's entire discography. This is for the "I want one song, not a commitment" use case.
MusicGrabber is intentionally narrow. It is not:
- A full music manager (not Lidarr, not a replacement for Navidrome/Jellyfin)
- An album-discography automation tool (no "grab everything by this artist" workflow)
- A streaming server/player (it acquires files; it does not serve or stream your library)
- A DJ/pro-audio workflow tool (no Atmos/spatial-audio specialist pipeline)
- A custom library templating engine (no advanced token-based naming/structure rules)
If your use case is "I heard a song, I want that song in my library fast," this is the project.
- Multi-source search -- YouTube, SoundCloud, and Monochrome (Tidal lossless) searched in parallel; quality-ranked results with "Lossless" and "Hi-Res" badges. Lossless Monochrome results float to the top; YouTube and SoundCloud fill in the gaps
- Direct FLAC downloads from Monochrome -- bypasses yt-dlp entirely; FLAC streams from the Tidal CDN with embedded cover art and accurate catalogue metadata
- Automatic Monochrome fallback -- if Monochrome returns 403 on all quality tiers, MusicGrabber automatically retries on YouTube under the same job ID
- Watched playlists -- monitor Spotify, YouTube (including Mixes), Amazon Music, Tidal, and ListenBrainz playlists; auto-downloads new tracks and grabs the best quality available. Per-playlist sync mode: Append (M3U grows as tracks arrive) or Mirror (M3U stays in sync with the upstream; removed tracks drop out). "Missing" button shows tracks that never made it; Retry and Search buttons to fix them. M3U updates immediately as each track finishes
- Playlist routing -- pick any watched playlist or existing
.m3ufile from the selector below the search bar; downloads land there instead of Singles - Bulk import -- paste or upload a text file of "Artist - Title" lines; searches all sources in parallel and grabs the best result for each
- Similar artist discovery -- hover any result and click Similar to explore related artists via MusicBrainz and ListenBrainz Labs. Download the lot in one go with "Download All", optionally saved as a playlist
- Apprise notifications -- one URL covers Gotify, ntfy, Discord, Pushover, Slack, and about 50 others. Also supports Telegram webhook and SMTP email
- Navidrome pre-download duplicate check -- queries the Subsonic API before downloading; if the track is already in your library, the existing path is used for playlist routing without re-downloading
- Best quality audio -- output format is configurable (FLAC, Opus, or MP3 ~192 kbps VBR)
- Enhanced metadata -- AcoustID audio fingerprinting with MusicBrainz lookups, falling back to source tags
- Synced lyrics -- automatic lyrics fetching from LRClib, saved as
.lrcfiles - Auto-organise --
Singles/Artist/Title.flac(or flatSingles/Artist - Title.flacwith "Organise by Artist" off) - Duplicate detection -- local filesystem check plus optional Navidrome Subsonic API check
- Job queue -- track progress, retry failures, re-download or delete files, see metadata provenance
- Statistics dashboard -- download counts, success rate, daily chart, top artists, search analytics
- Release notes modal -- shows once after each update; also accessible from the Settings tab
- Preview -- hover a result for 2 seconds on desktop, or tap Preview on mobile (YouTube, SoundCloud, Monochrome)
- Dark/light theme -- toggle in the header; preference saved per browser
- Mobile-friendly UI -- designed for quick searches from your phone
- Settings tab -- configure all integrations via UI; no docker-compose editing required
- Optional API authentication -- protect your instance with an API key
- YouTube cookie support -- upload browser cookies in Settings to bypass bot detection
- Minimum bitrate enforcement -- optionally reject downloads below a configurable threshold
- PUID/PGID support -- run as a specific user for correct file ownership on NAS/SMB shares
- Optional Navidrome/Jellyfin integration -- auto-triggers library rescan after downloads
- Soulseek integration -- optional slskd support for P2P sources (in progress)
- Report/blacklist -- flag bad results from the queue; blacklisted videos and uploaders are suppressed from future searches
For YouTube and SoundCloud, FLAC conversion is primarily for standardisation and consistent tagging -- it does not improve audio quality beyond the source, it only preserves what is already there. Monochrome downloads are genuine lossless -- the FLAC comes directly from the Tidal CDN, so you get the real deal. If you prefer to keep the original format from YouTube/SoundCloud, disable FLAC conversion and files will be saved as-is.
| Search & Results | Bulk Import | Queue |
|---|---|---|
![]() |
![]() |
![]() |
| Watched Playlists | Settings | Dark & Light Theme |
|---|---|---|
![]() |
![]() |
![]() |
-
Create a docker-compose.yml
services: music-grabber: image: g33kphr33k/musicgrabber:latest container_name: music-grabber restart: unless-stopped # Required for Spotify playlists over 100 tracks (headless browser) shm_size: '2gb' ports: - "38274:8080" volumes: - /path/to/your/music:/music - ./data:/data environment: - MUSIC_DIR=/music - DB_PATH=/data/music_grabber.db - ENABLE_MUSICBRAINZ=true - DEFAULT_CONVERT_TO_FLAC=true # Optional: Run as specific user (like *arr stack) for correct file permissions # - PUID=1000 # - PGID=1000 # Optional: Navidrome auto-rescan # - NAVIDROME_URL=http://navidrome:4533 # - NAVIDROME_USER=admin # - NAVIDROME_PASS=yourpassword # Optional: Jellyfin auto-rescan # - JELLYFIN_URL=http://jellyfin:8096 # - JELLYFIN_API_KEY=your-jellyfin-api-key # Optional: Notifications # - NOTIFY_ON=playlists,bulk,errors # - TELEGRAM_WEBHOOK_URL=https://api.telegram.org/bot{token}/sendMessage?chat_id={chat_id} # - WEBHOOK_URL=https://your-webhook-endpoint.com/hook # - SMTP_HOST=smtp.example.com # - SMTP_PORT=587 # - SMTP_USER=user@example.com # - SMTP_PASS=password # - SMTP_TO=you@example.com # Optional: Use a Monochrome mirror instead of the default instance # - MONOCHROME_API_URL=https://api.monochrome.tf
-
Run
docker compose up -d
-
Access the UI at
http://your-server:38274
-
Clone and configure
git clone https://gitlab.com/g33kphr33k/musicgrabber.git cd musicgrabber -
Edit docker-compose.yml
Update the music volume path and optionally add Navidrome credentials:
volumes: - /path/to/your/music:/music # <-- your music directory - ./data:/data # <-- keep the job database
environment: - NAVIDROME_URL=http://navidrome:4533 - NAVIDROME_USER=admin - NAVIDROME_PASS=yourpassword
-
Build and run
docker compose up -d --build
-
Access the UI
Open
http://your-server:38274on your phone or browser.
The easiest way to configure MusicGrabber is via the Settings tab in the UI. You can configure:
- General: MusicBrainz metadata, lyrics fetching, default FLAC conversion, minimum audio bitrate, artist subfolder organisation
- Soulseek (slskd): URL, credentials, downloads path
- Navidrome: URL and credentials for library refresh
- Jellyfin: URL and API key for library refresh
- Notifications: Telegram webhook, generic webhook URL, and SMTP settings
- YouTube: Upload browser cookies for authenticated downloads
- Blacklist: View and manage reported tracks and blocked uploaders
- Security: API key for authentication
Settings are stored in the database and persist across container restarts.
Environment variable overrides: If you set a value via environment variable, it takes precedence over the database value and appears as "locked" in the UI.
| Variable | Default | Description |
|---|---|---|
PUID |
0 |
User ID for file ownership (like *arr stack) |
PGID |
0 |
Group ID for file ownership (like *arr stack) |
MUSIC_DIR |
/music |
Music library root inside container |
DB_PATH |
/data/music_grabber.db |
SQLite database path |
ENABLE_MUSICBRAINZ |
true |
Enable MusicBrainz metadata lookups |
ENABLE_LYRICS |
true |
Enable automatic lyrics fetching from LRClib |
ACOUSTID_API_KEY |
(shared built-in) | AcoustID API key for audio fingerprinting. A shared key is built in but may hit rate limits. Register a free key at acoustid.org and set it here (or via Settings tab) to avoid sharing quota |
DEFAULT_CONVERT_TO_FLAC |
true |
Convert downloads to FLAC by default (can be toggled per-download in UI) |
MIN_AUDIO_BITRATE |
0 |
Minimum audio bitrate in kbps. Downloads below this are rejected. 0 = disabled. Lossless (FLAC) always passes |
ORGANISE_BY_ARTIST |
true |
Create artist subfolders under Singles. Set to false for a flat directory |
WEBHOOK_URL |
- | Generic webhook URL -- receives JSON POST on download completion/failure |
MONOCHROME_API_URL |
https://api.monochrome.tf |
Monochrome API URL -- override to use a community mirror instance |
YTDLP_PLAYER_CLIENT |
(empty) | Override yt-dlp YouTube player client (expert-only, e.g. android, web,android) |
NAVIDROME_URL |
- | Navidrome server URL (e.g., http://navidrome:4533) |
NAVIDROME_USER |
- | Navidrome username for API |
NAVIDROME_PASS |
- | Navidrome password for API |
JELLYFIN_URL |
- | Jellyfin server URL (e.g., http://jellyfin:8096) |
JELLYFIN_API_KEY |
- | Jellyfin API key for library refresh |
SLSKD_URL |
- | slskd API URL (e.g., http://slskd:5030) |
SLSKD_USER |
- | slskd username |
SLSKD_PASS |
- | slskd password |
SLSKD_DOWNLOADS_PATH |
- | Path where slskd downloads are accessible (required for Soulseek downloads) |
SLSKD_REQUIRE_FREE_SLOT |
true |
Only show Soulseek results from users with free upload slots |
SLSKD_MAX_RETRIES |
5 |
Max retry attempts for failed Soulseek downloads |
WATCHED_PLAYLIST_CHECK_HOURS |
24 |
How often to check watched playlists (in hours): 24=daily, 168=weekly, 720=monthly, 0=disabled |
NOTIFY_ON |
playlists,bulk,errors |
Notification triggers (applies to all channels): singles, playlists, bulk, errors |
TELEGRAM_WEBHOOK_URL |
- | Full Telegram webhook URL (see Notifications section below) |
SMTP_HOST |
- | SMTP server hostname |
SMTP_PORT |
587 |
SMTP server port |
SMTP_USER |
- | SMTP username |
SMTP_PASS |
- | SMTP password |
SMTP_FROM |
- | From address (defaults to SMTP_USER) |
SMTP_TO |
- | Recipient address(es), comma-separated |
SMTP_TLS |
true |
Use STARTTLS |
API_KEY |
- | API key for authentication (see Security section) |
To automatically trigger a library scan after downloads, add your Navidrome credentials:
environment:
- NAVIDROME_URL=http://navidrome:4533
- NAVIDROME_USER=admin
- NAVIDROME_PASS=yourpasswordIf running on the same Docker network as Navidrome, use the container name as the hostname.
To automatically trigger a Jellyfin library scan after downloads:
environment:
- JELLYFIN_URL=http://jellyfin:8096
- JELLYFIN_API_KEY=your-api-key-hereGet your API key from Jellyfin: Dashboard → API Keys → Add.
Get notified when downloads complete or fail via Telegram, email, or a generic webhook. Configure one or more channels -- the same triggers apply to all.
Notification triggers (NOTIFY_ON):
| Value | Description |
|---|---|
singles |
Notify for each individual track download |
playlists |
Notify when playlist downloads complete |
bulk |
Notify when bulk imports complete |
errors |
Notify when any download fails |
Default is playlists,bulk,errors -- notifications for playlist/bulk completions and any failures, but not for every single track.
Telegram setup:
- Create a bot via @BotFather and copy the token
- Get your chat ID by messaging @userinfobot
- Build the webhook URL:
environment:
- NOTIFY_ON=playlists,bulk,errors
- TELEGRAM_WEBHOOK_URL=https://api.telegram.org/bot{token}/sendMessage?chat_id={chat_id}Email setup (SMTP):
environment:
- NOTIFY_ON=playlists,bulk,errors
- SMTP_HOST=smtp.example.com
- SMTP_PORT=587
- SMTP_USER=user@example.com
- SMTP_PASS=password
- SMTP_FROM=musicgrabber@example.com
- SMTP_TO=you@example.com
- SMTP_TLS=trueSMTP_TO can be a comma-separated list for multiple recipients.
Generic webhook:
Set WEBHOOK_URL to any URL. MusicGrabber sends a JSON POST with event type, title, artist, status, source, and track counts. Useful for custom integrations (Discord bots, Home Assistant, etc.).
environment:
- WEBHOOK_URL=https://your-endpoint.com/hookMusicGrabber can search slskd (a Soulseek daemon) for higher quality sources. When configured, search results from both YouTube and Soulseek are displayed, sorted by quality -- FLAC files from Soulseek appear at the top.
Searching only (no downloads): If you only want to see what's available on Soulseek without downloading, configure just the API credentials:
environment:
- SLSKD_URL=http://slskd:5030
- SLSKD_USER=your-slskd-username
- SLSKD_PASS=your-slskd-passwordFull integration (search + download): To download files from Soulseek, MusicGrabber needs access to slskd's download directory. This requires a shared volume:
volumes:
- /path/to/slskd/downloads:/slskd-downloads # Mount slskd's downloads folder
environment:
- SLSKD_URL=http://slskd:5030
- SLSKD_USER=your-slskd-username
- SLSKD_PASS=your-slskd-password
- SLSKD_DOWNLOADS_PATH=/slskd-downloads # Path inside containerSetup options:
- Same host: If slskd runs on the same machine, mount its downloads directory directly
- Different host: Use NFS, CIFS/SMB, or similar to make slskd's downloads accessible
- Same Docker network: Ensure both containers can access a shared volume
slskd organises downloads as {downloads}/{username}/{filename}, which MusicGrabber will look for automatically.
Note: Soulseek is a P2P network. Most users run slskd behind a VPN. This integration only talks to your slskd instance -- it doesn't connect directly to the Soulseek network.
Status: Soulseek integration is in progress and needs testing. New Soulseek users may experience rejected downloads until they build reputation by sharing files.
MusicGrabber can import tracks from Spotify, Amazon Music, and Tidal playlists. Paste a supported URL in the Bulk Import tab to fetch the track list, then import them via YouTube/Monochrome/SoundCloud.
How it works by source:
- Tidal: One API call to the Monochrome API (
/playlist/). Returns the full track list instantly -- no browser, no auth, no fuss. Public playlists only - Amazon Music: Headless browser scraping via Playwright. Slower but reliable for most public playlists
- Spotify small playlists (under ~100 tracks): Uses Spotify's embed endpoint to quickly fetch track data
- Spotify large playlists (100+ tracks): Automatically falls back to headless browser scraping
Headless browser method:
Spotify's embed API only returns approximately 100 tracks. For larger playlists, MusicGrabber launches a headless Chromium browser (via Playwright) that:
- Loads the full Spotify playlist page
- Automatically dismisses the cookie consent banner
- Scrolls through the entire tracklist to load all tracks (Spotify uses virtualised scrolling that lazy-loads content)
- Extracts track information incrementally during scrolling
- Filters out "Recommended" tracks at the bottom (only numbered playlist tracks are imported)
This process takes a few seconds for playlists with hundreds of tracks. Very large playlists (1000+) may take 10-20 seconds.
Docker requirements:
The headless browser requires additional shared memory. The docker-compose.yml includes:
shm_size: '2gb' # Required for ChromiumAutomatically monitor Spotify, YouTube, Amazon Music, or Tidal playlists for new tracks. When new songs are added to a watched playlist, MusicGrabber will detect them and queue them for download.
How it works:
- Add a playlist URL in the "Watched" tab
- MusicGrabber fetches the current tracklist and stores hashes of each track
- A built-in scheduler checks playlists periodically (default: daily)
- New tracks are queued for download, searching all sources for the best quality available
- If "Generate M3U" is enabled, a
.m3ufile is created and updated on every refresh as new tracks are downloaded
Configuration:
The scheduler runs automatically inside the container. Control it with:
environment:
- WATCHED_PLAYLIST_CHECK_HOURS=24 # Check daily (default)
# Or: 168 for weekly, 720 for monthly, 0 to disableEach playlist also has its own interval (daily, weekly, or monthly) that you set when adding it. The scheduler runs at the global interval and checks which playlists are due based on their individual settings.
Manual refresh:
Click "Check All Now" in the UI, or "Refresh" on individual playlists to check immediately regardless of the interval.
API endpoint:
For external automation, you can also trigger checks via API:
curl -X POST http://localhost:38274/api/watched-playlists/check-allmusic.yourdomain.com {
reverse_proxy music-grabber:8080
}
- Single tracks -- Search for a song, tap/click the result to download. By default, searches YouTube, SoundCloud, and Monochrome in parallel -- lossless results rank highest
- Preview -- On desktop, hover over a result for 2 seconds to hear a preview (works for all sources)
- Playlists -- Search for a playlist URL or name, tap the playlist result to download all tracks (YouTube playlists only)
- Processing feedback -- Shows "Processing..." immediately when tapped, then "Added to queue"
Upload a text file or paste a list of songs in the format:
ABBA – Dancing Queen
ABBA – Super Trouper
Backstreet Boys – I Want It That Way
The app will:
- Search YouTube for each song automatically
- Queue downloads for best matches
- Show success/failure summary
- All processing happens in-memory (files are not stored on server)
Supports various dash formats: -, –, --
- View progress -- See queued, in-progress, completed, and failed jobs
- Job details -- Click completed/failed jobs to see source, timestamps, download duration, and audio quality
- Re-download -- Re-queue any completed or failed download (overwrites existing file)
- Report bad tracks -- Flag wrong tracks, ContentID dodges, or poor quality from the queue. Blacklisted videos are excluded from future searches
- Delete from library -- Remove the audio file and lyrics directly from the queue. If the file is already missing, the job is marked as deleted. Artist folders are removed only when empty
- Retry failed -- Click retry on individual failed downloads
- Clear queue -- Remove all remembered jobs with the "Clear Queue" button
Downloads are organised as:
/music/
└── Singles/
├── Artist Name/ # When "Organise by Artist" is on (default)
│ └── Track Title.flac
├── Artist Name - Track Title.flac # When "Organise by Artist" is off
└── Playlist Name.m3u
- By default, tracks go into
Singles/Artist/directories - Disable "Organise by Artist" in Settings to put all tracks directly in
Singles/withArtist - Titlefilenames - Playlist downloads generate
.m3ufiles with relative paths - Watched playlists with M3U enabled keep their
.m3ufile updated on every refresh cycle - Artist and title are extracted from source metadata (Monochrome provides accurate Tidal metadata; YouTube/SoundCloud are parsed from titles)
- Common patterns like "Artist - Title" are parsed automatically
- YouTube annotations (Official Audio, Lyrics, etc.) are cleaned from titles
Monochrome/Tidal downloads come with accurate metadata directly from the Tidal catalogue -- artist, title, album, and cover art are embedded without needing any lookups.
YouTube/SoundCloud downloads with ENABLE_MUSICBRAINZ=true:
- Fingerprints the downloaded audio with AcoustID/Chromaprint to identify the actual recording
- If AcoustID matches confidently, uses the correct artist, title, album, and year from MusicBrainz
- Falls back to a text-based MusicBrainz search if fingerprinting fails or scores too low
- Falls back to cleaned source metadata if neither lookup finds anything
- Sets album to "Singles" by default when no album is found
- Embeds cover art from source thumbnails
Before downloading, checks if the track already exists:
- Exact filename match
- Case-insensitive matching
- Skips download and reports as duplicate
MusicGrabber includes optional API key authentication for protecting your instance.
Enable API authentication by setting an API key in the Settings tab or via environment variable:
environment:
- API_KEY=your-secret-key-hereWhen enabled:
- All API requests require the
X-API-Keyheader - The frontend prompts for the key on first visit and stores it in browser localStorage
- Rate limiting applies: 200 requests per minute per IP address
Setting up:
- Go to Settings → Security
- Enter an API key (any string you choose)
- Save settings
- The browser will prompt you for the key
Environment variable override: If API_KEY is set in the environment, it overrides the database value and cannot be changed via the UI.
- For external access, consider a reverse proxy with additional authentication (Caddy, nginx, Authelia)
- The API allows triggering downloads and file operations, so treat access as administrative
- Rate limiting helps prevent abuse but isn't a substitute for proper access control
Example: Adding basic auth with Caddy (in addition to API key):
music.yourdomain.com {
basicauth * {
username $2a$14$hashed_password_here
}
reverse_proxy music-grabber:8080
}
| Method | Endpoint | Description |
|---|---|---|
GET |
/ |
Web UI |
GET |
/api/config |
Get server config (version, defaults, auth_required) |
GET |
/api/settings |
Get all settings (requires auth if API key set) |
PUT |
/api/settings |
Update settings |
POST |
/api/settings/test/{service} |
Test connection (slskd, navidrome, jellyfin) |
POST |
/api/search |
Search sources ({"query": "...", "limit": 15, "source": "youtube/soundcloud/monochrome/all"}) |
POST |
/api/search/slskd |
Search Soulseek via slskd (if configured) |
GET |
/api/sources |
List available search sources (for source selector UI) |
GET |
/api/preview/{video_id} |
Get streamable audio URL for preview (source + url supported for URL-based sources like SoundCloud/Monochrome) |
POST |
/api/download |
Queue download ({"video_id": "...", "title": "...", "source": "youtube/soundcloud/monochrome", "download_type": "single/playlist"}) |
POST |
/api/bulk-import-async |
Bulk import songs (async, returns immediately) |
GET |
/api/bulk-import/{id}/status |
Get async bulk import progress |
GET |
/api/bulk-imports |
List recent bulk imports |
POST |
/api/fetch-playlist |
Fetch tracks from supported playlist URL (Spotify, Amazon Music, or Tidal) |
POST |
/api/spotify-playlist |
Backwards-compat alias for Spotify playlist/album fetch |
GET |
/api/stats |
Get statistics (download counts, daily chart, top artists, search analytics) |
DELETE |
/api/stats?confirm=true |
Reset stats history (deletes completed/failed job history and search logs; confirmation required) |
GET |
/api/jobs |
List recent jobs (includes metadata_source for provenance) |
GET |
/api/jobs/{id} |
Get job status (includes metadata_source) |
POST |
/api/jobs/{id}/retry |
Retry a failed download |
DELETE |
/api/jobs/{id}/file |
Delete downloaded file and lyrics from library |
DELETE |
/api/jobs/cleanup |
Delete jobs (?status=completed/failed/both) |
POST |
/api/blacklist |
Report a bad track / block an uploader |
GET |
/api/blacklist |
List all blacklist entries |
DELETE |
/api/blacklist/{id} |
Remove a blacklist entry |
GET |
/api/watched-playlists |
List all watched playlists |
POST |
/api/watched-playlists |
Add a playlist to watch |
GET |
/api/watched-playlists/{id} |
Get watched playlist details |
PUT |
/api/watched-playlists/{id} |
Update watched playlist settings |
DELETE |
/api/watched-playlists/{id} |
Remove a watched playlist |
POST |
/api/watched-playlists/{id}/refresh |
Check playlist for new tracks |
POST |
/api/watched-playlists/check-all |
Check all watched playlists |
GET |
/api/watched-playlists/schedule |
Get next scheduled check time |
POST |
/api/settings/test/youtube-cookies |
Test YouTube cookie validity |
GET |
/api/settings/youtube-cookies/status |
Get cookie upload status |
POST |
/api/explore/similar |
Get similar artists via MusicBrainz + ListenBrainz Labs ({"artist": "...", "mode": "easy", "limit": 25}) |
YouTube changes frequently. To update yt-dlp inside the container:
docker compose exec music-grabber yt-dlp -UOr rebuild the image to get the latest version:
docker compose build --no-cache
docker compose up -dDownloads staying inside container / not appearing in mounted volume?
- Ensure your volume mount matches the
MUSIC_DIRenvironment variable - The default is
MUSIC_DIR=/music, so mount your music folder to/music:volumes: - /path/to/your/music:/music # This MUST match MUSIC_DIR environment: - MUSIC_DIR=/music
- Check inside the container:
docker exec music-grabber ls -la /music/Singles/
Files created as root / permission denied?
- By default, the container runs as root (UID 0)
- Set
PUIDandPGIDto match your host user (like the *arr stack):environment: - PUID=1000 - PGID=1000
- Find your UID/GID with:
id $USER - Double-check the values are correct -- a wrong
PUID/PGIDcan also break Spotify playlist imports (Chromium won't launch if it can't write to its temp directories)
Spotify playlists over 100 tracks not importing fully?
- Large playlists require the headless browser fallback, which needs extra shared memory:
Add this to the
shm_size: '2gb'
music-grabberservice block indocker-compose.yml - If you see a truncation warning in the UI, the headless browser crashed -- the error message should tell you why
- On ARM (NAS, Raspberry Pi) or low-RAM hosts, Chromium can silently crash even with
shm_sizeset; in that case the embed result (up to ~100 tracks) is returned as a fallback - Wrong
PUID/PGIDvalues can also prevent Chromium from launching -- check those first
Downloads failing with 403 errors?
- YouTube's bot detection may be blocking requests
- Go to Settings → YouTube and upload browser cookies (export from a browser where you're signed into YouTube)
- Use a cookie export extension like "Get cookies.txt LOCALLY" (Chrome/Firefox)
- Cookies expire periodically -- re-export if downloads start failing again
Downloads failing for other reasons?
- Check
docker compose logs music-grabber - YouTube may have changed something -- try updating yt-dlp
- Some videos are region-locked or age-restricted
Navidrome not seeing new files?
- Verify the volume mount paths match
- Check Navidrome's scan interval if auto-rescan isn't configured
- Manually trigger a scan in Navidrome's UI
Can't access from phone?
- Ensure port 38274 is open on your firewall
- If using a reverse proxy, check the configuration
Bulk import not finding songs?
- Check the format is "Artist - Song" (with a dash separator)
- Try more specific search terms
- Some obscure tracks may not be on YouTube
- Check the results summary for failed searches
Metadata quality issues?
- Ensure
ENABLE_MUSICBRAINZ=truein environment variables (or enable it in the Settings tab) - AcoustID fingerprinting identifies most well-known tracks automatically; MusicBrainz text search is the fallback
- Both are confidence-gated -- low-confidence matches are rejected rather than applied, so no metadata is better than wrong metadata
- Very short clips (under ~5 seconds) may not fingerprint reliably
- Obscure or newly released tracks may not be in AcoustID or MusicBrainz yet -- metadata will come from YouTube/SoundCloud channel info instead
- If fingerprinting stops working, the shared built-in AcoustID key may have hit its rate limit. Register a free personal key at acoustid.org and enter it in Settings > General > AcoustID API Key (or set
ACOUSTID_API_KEYenv var) - Monochrome (Tidal) downloads always use Tidal's own metadata for artist/title/album; MusicBrainz is only consulted for the release year
Built with a mix of human creativity and AI assistance.
- Karl -- Creator and maintainer
- Claude (Anthropic) -- AI pair programmer
Do whatever you want with it.





