Jellyfin Forum
Jellyfin not adding all movies or 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 not adding all movies or shows (/t-jellyfin-not-adding-all-movies-or-shows)



Jellyfin not adding all movies or shows - jellyfinboy13 - 2024-08-12

I'm looking at moving away from Plex so I have setup Jellyfin to try it out.

Jellyfin is running in a Docker container running on Debian. 
Version is 10.9.9 
Jellyfin has access to Movie and TV shows stored on a TrueNAS server.
Jellyfin client is running on macOS Sonoma

I have 3500+ movies that all come up on Plex. There is one directory for Movies. In that directory there are sub-directories for each Movie title. Filetypes are .mkv, .mp4 and some avi. Jellyfin is only finding 368 movies. Some are .mkv - some are.mp4.

TV shows are stored in a different main directory using Series Name - Seasons - Shows structure. It's only finding 8 Series out of hundreds.

Any ideas?


RE: Jellyfin not adding all movies or shows - TheDreadPirate - 2024-08-12

What folder did you point the movies library to? I see a listing that looks like it is a show. "A Chefs life s01e01".


RE: Jellyfin not adding all movies or shows - jellyfinboy13 - 2024-08-12

Sorry that's a TV Episode that's in my Movies folder. I've tidied that up.

I've also checked to be sure Jellyfin has access to right directories for Movies and TV shows. As I mentioned before it's finding some of the media, but just a small fraction.


RE: Jellyfin not adding all movies or shows - TheDreadPirate - 2024-08-12

Can you share your full jellyfin log via pastebin?


RE: Jellyfin not adding all movies or shows - jellyfinboy13 - 2024-08-13

(2024-08-12, 08:38 PM)TheDreadPirate Wrote: Can you share your full jellyfin log via pastebin?

This is a portion of the log. The entire log was larger than pastebin would allow. Thanks and let me know if you need anything else or a certain portion of the log.

https://pastebin.com/Fe1FPWTG


RE: Jellyfin not adding all movies or shows - TheDreadPirate - 2024-08-13

I've never seen this before. Either the metadata on your files is universally incorrect or the system clock on your server is way off.

Code:
[2024-08-13 03:56:08.674 -04:00] [ERR] Error determining CreationTimeUtc for "/media/share/Cathode/Scrubs/Season 2/Scrubs - S02E03 - My Case Study DVD.avi"
System.ArgumentOutOfRangeException: Valid values are between -62135596800 and 253402300799, inclusive. (Parameter 'seconds')
   at System.DateTimeOffset.FromUnixTimeSeconds(Int64 seconds)
   at System.IO.FileStatus.GetCreationTime(SafeFileHandle handle, ReadOnlySpan`1 path, Boolean continueOnError)
   at Emby.Server.Implementations.IO.ManagedFileSystem.GetCreationTimeUtc(FileSystemInfo info)



RE: Jellyfin not adding all movies or shows - jellyfinboy13 - 2024-08-14

I've left Jellyfin alone for a day and it has chugged through most of my content successfully. I'm not sure what changed, but I'll take it as a win. Smiling-face 

I took a look at the latest log and noticed this bit:

Code:
[2024-08-14 04:24:09.521 -04:00] [INF] "Scan Media Library" Failed after 0 minute(s) and 0 seconds
[2024-08-14 04:26:42.611 -04:00] [ERR] Error in Directory watcher for: "/media/share/Projection/NZB"
System.IO.IOException: The configured user limit (15152) on the number of inotify watches has been reached, or the operating system failed to allocate a required resource.
[2024-08-14 04:26:42.611 -04:00] [INF] Stopping directory watching for path "/media/share/Projection/NZB"
[2024-08-14 04:26:42.618 -04:00] [ERR] Error in Directory watcher for: "/media/share/Cathode"
System.IO.IOException: The configured user limit (15152) on the number of inotify watches has been reached, or the operating system failed to allocate a required resource.
[2024-08-14 04:26:42.618 -04:00] [INF] Stopping directory watching for path "/media/share/Cathode"
[2024-08-14 04:26:49.365 -04:00] [INF] Watching directory "/media/share/Projection/NZB"
[2024-08-14 04:26:50.105 -04:00] [INF] Watching directory "/media/share/Cathode"

Should I be concerned about this? If so, what corrective measures can I take?


RE: Jellyfin not adding all movies or shows - TheDreadPirate - 2024-08-14

Slightly? I'm assuming everything is on a NAS and that you have real time monitoring enabled in your library(s). If you do have real time monitoring enabled, you should disable. AFAIK, there aren't any network file systems that actually/properly support inotify.