Jellyfin Forum
jellyfin failing to read FLAC metadata/not importing complete shows - 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: jellyfin failing to read FLAC metadata/not importing complete shows (/t-jellyfin-failing-to-read-flac-metadata-not-importing-complete-shows)



jellyfin failing to read FLAC metadata/not importing complete shows - crissaegrim - 2025-02-13

**TLDR:** FLAC metadata not importing correctly.  https://i.imgur.com/ydOb4LY.png
---

New jellyfin user here.  Should I wait a while more?  (Though CPU is very low; this is a new install--I'd imagine it's all steams ahead importing, but no.)

All my files are failing to populate: https://i.imgur.com/ydOb4LY.png

I thought it was a permissions issue, but it's not.  The container can read the file just fine: https://i.imgur.com/GGjsjBZ.png

How it looks in picard: https://i.imgur.com/f4omM8U.png

And my TV shows/movies aren't importing.  For example: https://i.imgur.com/2z6p6CF.png  The container can read just fine.  But I only have 14 shows on the list (should be thousands).  https://i.imgur.com/iD7jXDV.png

Thousands:  https://i.imgur.com/LaZFbdQ.png


RE: jellyfin failing to read FLAC metadata/not importing complete shows - TheDreadPirate - 2025-02-13

Can you share your full jellyfin log via privatebin.net?


RE: jellyfin failing to read FLAC metadata/not importing complete shows - crissaegrim - 2025-02-13

Here ya go: https://privatebin.net/?edab9efe35e0d8c2#6uzGEW5NbacY2rPK41wKSXLdT6ghVsZKguuNUXiScG8K

A clue:

Code:
System.UnauthorizedAccessException: Access to the path '/plex/music/Tsha/Tsha - Water (2022) [FLAC] [24B-44.1kHz]/cover.jpg' is denied.
---> System.IO.IOException: Permission denied

The container user can see/read it though...?

Code:
root@jellyfin:/var/log/jellyfin# head -10 '/plex/music/Tsha/Tsha - Water (2022) [FLAC] [24B-44.1kHz]/cover.jpg'
����JFIF��␦ICC_PROFILE

cms0mntrRGB XYZ �
acspMSFTlcms���-lcms
                    dmndjdesc�hdmdd�hwtptPrXYZdbXYZxgXYZ�rTRC�
                                                            gTRC

Permissions on 'others' is r:

Code:
root@jellyfin:/var/log/jellyfin# ls -lah '/plex/music/Tsha/Tsha - Water (2022) [FLAC] [24B-44.1kHz]/cover.jpg'
-rw-rw-r-- 1 nobody nogroup 19M Oct 18  2022 '/plex/music/Tsha/Tsha - Water (2022) [FLAC] [24B-44.1kHz]/cover.jpg'



RE: jellyfin failing to read FLAC metadata/not importing complete shows - TheDreadPirate - 2025-02-13

Is this an NFS share?

What is probably going on is that the either the server or the storage is not fast enough and the image extraction is timing out on the first try. You can try extending the time out value.

Go to where you mounted /config and open /config/config/system.xml. There is a value called ImageExtractionTimeoutMs. The default is 10 seconds, when the XML is setup to zero. Set it to 20 or 30 seconds? 20000 or 30000 milliseconds. Restart Jellyfin after setting this value.


RE: jellyfin failing to read FLAC metadata/not importing complete shows - crissaegrim - 2025-02-13

(2025-02-13, 03:36 PM)TheDreadPirate Wrote: Is this an NFS share?

What is probably going on is that the either the server or the storage is not fast enough and the image extraction is timing out on the first try.  You can try extending the time out value.

Go to where you mounted /config and open /config/config/system.xml.  There is a value called ImageExtractionTimeoutMs.  The default is 10 seconds, when the XML is setup to zero.  Set it to 20 or 30 seconds?  20000 or 30000 milliseconds.  Restart Jellyfin after setting this value.

Yes.  NFS share.  CPU usage is basically idle.  https://i.imgur.com/Gi5ra6v.png

I'm "tailing" the log, and I don't see any new entries: https://i.imgur.com/xj88oO5.png  Frozen here.  No new entries.

ImageExtractionTimeoutMs It's set at 30secs.  Imports are verrrry slow.  Trickling in basically?  I'm seeing 1 new item every 5-6 mins.
I think it gave up importing; I'm not seeing new items.

Code:
root@jellyfin:/etc/jellyfin# grep Extraction system.xml

  <ImageExtractionTimeoutMs>30000</ImageExtractionTimeoutMs>



RE: jellyfin failing to read FLAC metadata/not importing complete shows - TheDreadPirate - 2025-02-13

Rescan and "replace all metadata"? Check "replace all images"?


RE: jellyfin failing to read FLAC metadata/not importing complete shows - crissaegrim - 2025-02-13

Code:
[2025-02-13 11:48:57.747 -05:00] [ERR] Error in "Embedded Image Extractor"

MediaBrowser.Common.FfmpegException: ffmpeg image extraction timed out for file:"/plex/tv-shows/Secret Forest {tvdb-324596}/Season 02/Secret Forest - S02E02 - Episode 2.mkv" after 30000ms

I might have to increase timeout to infinity, never had this issue with plex.  I have huge REMUX's; can be 100+GB per file.