Jellyfin Forum
Music library scraping not working: can't get any metadata from FLAC files - Printable Version

+- Jellyfin Forum (https://forum.jellyfin.org)
+-- Forum: Support (https://forum.jellyfin.org/f-support)
+--- Forum: Troubleshooting (https://forum.jellyfin.org/f-troubleshooting)
+--- Thread: Music library scraping not working: can't get any metadata from FLAC files (/t-music-library-scraping-not-working-can-t-get-any-metadata-from-flac-files)



Music library scraping not working: can't get any metadata from FLAC files - ricobelo - 2025-09-24

Hello,

I'm new Jellyfin user, and I experiencing a weird issue while trying to add my music library.

I'm running Jellyfin 10.10.7 on Debian 13/Trixie VM, and my media libraries are mounted thrught NFS exports on Jellyfin server
I added a fersh music library that way:
   

I only tuned the localization in French, keeping everything else as defaults. But as you can see I get absolutely no metadata
   

In Jellyfin logs, I only see few lines :
Code:
[2025-09-24 10:53:18.249 +02:00] [INF] Validating media library
[2025-09-24 10:53:18.438 +02:00] [WRN] Library folder "/var/lib/jellyfin/data/playlists" is inaccessible or empty, skipping
[2025-09-24 10:53:18.451 +02:00] [INF] Creating image collage and saving to "/tmp/jellyfin/4919f5d576224daab6d0f97bc1eac7b6.png"
[2025-09-24 10:53:18.718 +02:00] [INF] Completed creation of image collage and saved to "/tmp/jellyfin/4919f5d576224daab6d0f97bc1eac7b6.png"
[2025-09-24 10:53:18.883 +02:00] [WRN] Library folder "/var/lib/jellyfin/data/playlists" is inaccessible or empty, skipping
[2025-09-24 10:53:19.940 +02:00] [INF] Starting "/usr/lib/jellyfin-ffmpeg/ffprobe" with args "-analyzeduration 200M -probesize 1G -i file:\"/mnt/music/flac/AC-DC/1986_Who_Made_Who/05_ride_on.flac\" -threads 0 -v warning -print_format json -show_streams -show_format"
[2025-09-24 10:53:19.941 +02:00] [INF] Starting "/usr/lib/jellyfin-ffmpeg/ffprobe" with args "-analyzeduration 200M -probesize 1G -i file:\"/mnt/music/flac/AC-DC/1990_The_Razors_Edge/02_Fire_Your_Guns.flac\" -threads 0 -v warning -print_format json -show_streams -show_format"
show_streams -show_format"
[2025-09-24 10:53:19.947 +02:00] [INF] Starting "/usr/lib/jellyfin-ffmpeg/ffprobe" with args "-analyzeduration 200M -probesize 1G -i file:\"/mnt/music/flac/AC-DC/1980_Back_in_Black/07_You_Shook_Me_All_Night_Long.flac\" -threads 0 -v warning -print_format json -show_streams -show_format"

And that's it, like ffmpeg stucks and never continue to parse other files !

Of course, files are accessibles from jellyfin system user, and FLAC files contains correct metadata. Besides ffmpeg command successfully executes from shell :

Code:
jellyfin:~# sudo -u jellyfin /usr/lib/jellyfin-ffmpeg/ffprobe -analyzeduration 200M -probesize 1G -i file:"/mnt/music/flac/AC-DC/1986_Who_Made_Who/05_ride_on.flac" -threads 0 -v warning -print_format json -show_streams -show_format
{
    "streams": [
        {
            "index": 0,
            "codec_name": "flac",
            "codec_long_name": "FLAC (Free Lossless Audio Codec)",
            "codec_type": "audio",
            "codec_tag_string": "[0][0][0][0]",
            "codec_tag": "0x0000",
            "sample_fmt": "s16",
            "sample_rate": "44100",
            "channels": 2,
            "channel_layout": "stereo",
            "bits_per_sample": 0,
            "initial_padding": 0,
            "r_frame_rate": "0/0",
            "avg_frame_rate": "0/0",
            "time_base": "1/44100",
            "start_pts": 0,
            "start_time": "0.000000",
            "duration_ts": 15463224,
            "duration": "350.640000",
            "bits_per_raw_sample": "16",
            "extradata_size": 34,
            "disposition": {
                "default": 0,
                "dub": 0,
                "original": 0,
                "comment": 0,
                "lyrics": 0,
                "karaoke": 0,
                "forced": 0,
                "hearing_impaired": 0,
                "visual_impaired": 0,
                "clean_effects": 0,
                "attached_pic": 0,
                "timed_thumbnails": 0,
                "non_diegetic": 0,
                "captions": 0,
                "descriptions": 0,
                "metadata": 0,
                "dependent": 0,
                "still_image": 0,
                "multilayer": 0
            }
        },
        {
            "index": 1,
            "codec_name": "mjpeg",
            "codec_long_name": "Motion JPEG",
            "profile": "Baseline",
            "codec_type": "video",
            "codec_tag_string": "[0][0][0][0]",
            "codec_tag": "0x0000",
            "width": 320,
            "height": 320,
            "coded_width": 320,
            "coded_height": 320,
            "closed_captions": 0,
            "film_grain": 0,
            "has_b_frames": 0,
            "sample_aspect_ratio": "1:1",
            "display_aspect_ratio": "1:1",
            "pix_fmt": "yuvj420p",
            "level": -99,
            "color_range": "pc",
            "color_space": "bt470bg",
            "chroma_location": "center",
            "refs": 1,
            "r_frame_rate": "90000/1",
            "avg_frame_rate": "0/0",
            "time_base": "1/90000",
            "start_pts": 0,
            "start_time": "0.000000",
            "duration_ts": 31557600,
            "duration": "350.640000",
            "bits_per_raw_sample": "8",
            "disposition": {
                "default": 0,
                "dub": 0,
                "original": 0,
                "comment": 0,
                "lyrics": 0,
                "karaoke": 0,
                "forced": 0,
                "hearing_impaired": 0,
                "visual_impaired": 0,
                "clean_effects": 0,
                "attached_pic": 1,
                "timed_thumbnails": 0,
                "non_diegetic": 0,
                "captions": 0,
                "descriptions": 0,
                "metadata": 0,
                "dependent": 0,
                "still_image": 0,
                "multilayer": 0
            },
            "tags": {
                "comment": "Cover (front)",
                "title": "http://mog.com/images/users/0000/0000/3209/images/1184126765.jpeg"
            }
        }
    ],
    "format": {
        "filename": "file:/mnt/music/flac/AC-DC/1986_Who_Made_Who/05_ride_on.flac",
        "nb_streams": 2,
        "nb_programs": 0,
        "nb_stream_groups": 0,
        "format_name": "flac",
        "format_long_name": "raw FLAC",
        "start_time": "0.000000",
        "duration": "350.640000",
        "size": "30830511",
        "bit_rate": "703411",
        "probe_score": 100,
        "tags": {
            "TITLE": "Ride On",
            "ARTIST": "AC/DC",
            "track": "5",
            "TRACKTOTAL": "9",
            "ALBUM": "Who Made Who",
            "ARTISTSORT": "AC/DC",
            "GENRE": "hard rock",
            "DATE": "1986-05-20",
            "DISCID": "7308f309",
            "MUSICBRAINZ_DISCID": "Xmo6E9Tc_cqE1_mQx_xfMSFm2IE-"
        }
    }
}

The video library scraping completed without any issues...

Any idea of what's going wrong and how to fix it ?

Thanks,

Eric