FAQ
MediaInfo not found
Q: I get an error about MediaInfo not being found. What do I do?
A: CrateDigger requires MediaInfo to extract metadata from media files. Install it for your platform:
- Ubuntu/Debian:
sudo apt install mediainfo - macOS:
brew install media-info - Windows:
scoop install mediainfoor download from mediaarea.net
If MediaInfo is installed but not on your PATH, set the explicit path in your config:
Chapters not embedding
Q: The identify command finds a tracklist but chapters are not embedded. Why?
A: Chapter embedding requires mkvpropedit from MKVToolNix. Check that:
- MKVToolNix is installed (
sudo apt install mkvtoolnixor equivalent) - The file is an MKV or WEBM container (MP4 files are not supported for chapter embedding)
- The tracklist has at least 2 tracks with timing data. Single-track listings are skipped because they provide no navigation value.
If mkvpropedit is installed but not on your PATH, set the path in config:
Posters not generating
Q: The enrich command runs but no poster images appear. What is wrong?
A: Poster generation depends on available background sources. Check the priority chain in your config (poster_settings). If no source is available, the gradient fallback is used. If posters are still missing:
- Make sure Pillow is installed (it is a required dependency)
- For advanced image processing, install the vision extra:
pip install "cratedigger[vision]" - Run with
--verboseto see which background sources are tried and why they fail
Files not being recognized
Q: CrateDigger skips some of my files. How do I fix this?
A: CrateDigger only processes files with recognized media extensions. Check the media_extensions config section. The defaults include common video formats (.mp4, .mkv, .webm, .avi, .mov, .m2ts, .ts) and audio formats (.mp3, .m4a, .flac, .wav, .aac, .ogg, .opus).
Also check the skip_patterns config. Files matching any skip pattern are excluded. The default patterns skip */BDMV/* and Dolby*.
Classification is wrong
Q: CrateDigger classifies a concert as a festival set, or vice versa. How do I correct it?
A: Use the content_type_rules config section to force classification with glob patterns:
{
"content_type_rules": {
"force_concert": [
"Adele/*",
"Pink Floyd/*"
],
"force_festival": [
"*/Ultra/*"
]
}
}
Patterns are matched against the relative path from the source root.
Auto mode skips too many files
Q: When I run identify --auto, most files are skipped. Can I adjust the sensitivity?
A: Auto mode requires a minimum score of 150 and a minimum gap of 20 between the best and second-best results. These thresholds are designed to avoid false matches. If your files have unusual naming conventions, the search queries may not produce strong matches.
Try these approaches:
- Run without
--autofirst, to see which tracklists match interactively - Use
--tracklistto provide a direct URL for hard-to-match files - Rename files to include the artist name and festival name clearly
Fanart lookups fail
Q: Enrich runs but fanart is not downloaded. What is going on?
A: Fanart lookups require:
fanart.enabledset totruein config (this is the default)- A valid API key. A project API key is built in, so this should work out of the box. If you get rate-limited, add your personal API key from fanart.tv.
- The artist must exist on MusicBrainz. CrateDigger looks up the MusicBrainz ID to query fanart.tv.
Run with --verbose to see the lookup process and any errors.
Library not recognized
Q: The enrich command says "not a CrateDigger library". What does that mean?
A: The enrich command requires a library that was created by the organize command. Organizing creates a .cratedigger marker directory at the library root. If you have media files that were not organized by CrateDigger, run organize first:
Then enrich the organized library: