Jellyfin Forum
Not Detecting Episode No. Corrently - Printable Version

+- Jellyfin Forum (https://forum.jellyfin.org)
+-- Forum: Support (https://forum.jellyfin.org/f-support)
+--- Forum: Troubleshooting (https://forum.jellyfin.org/f-troubleshooting)
+---- Forum: Media Scanning & Identification (https://forum.jellyfin.org/f-media-scanning-identification)
+---- Thread: Not Detecting Episode No. Corrently (/t-not-detecting-episode-no-corrently)



Not Detecting Episode No. Corrently - itscooldani - 2025-02-23

I have a series I'm trying to add to Jellyfin, but the episode numbers are not being correctly detected from the filename.

The path for the series is set up correctly as far as I can tell. Currently the format is "Series Name/Season 1/S01E123 - Name of Episode.mp4". Sometimes episodes in this folder get correctly numbered, or sometimes they're given what seems to be a random number.

You can see this one is detected correctly:    
While this one is not:    

Here is an example of the naming scheme in NCDU:    

It's even giving episodes in the same season the same episode number    

Despite having the same name format. Does anyone have an idea of why this might be? Here are some logs I think are relevant.

The only other thing I can think of is that the series in TVDB is not complete - there are only 28 or so episodes listed. But it doesn't seem to be in relation to what is or isnt on TVDB, so I'm not sure.

Edit: I just noticed that it stopped working at 256? Does jellyfin have a 256 episode limite per season or something like that? I can still manually set the episode numbers correctly > 256 tho Confused-face


RE: Not Detecting Episode No. Corrently - TheDreadPirate - 2025-02-23

Jellyfin definitely does not have a 256 episode limit. Plenty of Jellyfin users with One Piece and the 1000+ episodes in that Anime. I have several shows with over 256 episodes.

Incomplete data in TVDB is definitely part or THE problem. If there is no TVDB/TMDB/OMDB metadata where is Jellyfin supposed to get data from? If it can't get info from TVDB/TMDB/etc., Jellyfin will make a best effort with the limited info available. And there is very limited info available for this podcast.

You'd probably have better luck with creating your own NFOs.


RE: Not Detecting Episode No. Corrently - itscooldani - 2025-02-23

(Today, 03:21 AM)TheDreadPirate Wrote: Jellyfin definitely does not have a 256 episode limit.  Plenty of Jellyfin users with One Piece and the 1000+ episodes in that Anime.  I have several shows with over 256 episodes.

Incomplete data in TVDB is definitely part or THE problem.  If there is no TVDB/TMDB/OMDB metadata where is Jellyfin supposed to get data from?  If it can't get info from TVDB/TMDB/etc., Jellyfin will make a best effort with the limited info available.  And there is very limited info available for this podcast.

You'd probably have better luck with creating your own NFOs.


Well, that's pretty fair. My confusion though is that I though Jellyfin was supposed to grab episode info from the folder structure/filenames? It's getting the episode numbers correct for heaps of the episodes that aren't in TVDB too. Any idea why it might be getting some and not others?

This log shows it not picking up metadata that IS in tvdb Confused-face    

Code:
[2025-02-23 14:49:02.193 +11:00] [DBG] OnRefreshProgress 1d8b1fe73ba20557e8bc597ec9acbde5 99.7037037037037
[2025-02-23 14:49:02.197 +11:00] [INF] Starting "/usr/lib/jellyfin-ffmpeg/ffprobe" with args "-analyzeduration 200M -probesize 1G -i file:\"/mnt/storage/library/shows/The Aunty Donna Podcast [tvdbid-438893]/Season 1/S01E366 - Ep 366 - Peter Jackson and Paul McCartney.mp4\" -threads 1 -v warning -print_format json -show_streams -show_format"
[2025-02-23 14:49:02.354 +11:00] [DBG] Running "ProbeProvider" for "/mnt/storage/library/shows/The Aunty Donna Podcast [tvdbid-438893]/Season 1/S01E366 - Ep 366 - Peter Jackson and Paul McCartney.mp4"
[2025-02-23 14:49:02.354 +11:00] [INF] Starting "/usr/lib/jellyfin-ffmpeg/ffprobe" with args "-analyzeduration 200M -probesize 1G -i file:\"/mnt/storage/library/shows/The Aunty Donna Podcast [tvdbid-438893]/Season 1/S01E366 - Ep 366 - Peter Jackson and Paul McCartney.mp4\" -threads 1 -v warning -print_format json -show_streams -show_chapters -show_format"
[2025-02-23 14:49:02.516 +11:00] [DBG] Running "EpisodeNfoProvider" for "/mnt/storage/library/shows/The Aunty Donna Podcast [tvdbid-438893]/Season 1/S01E366 - Ep 366 - Peter Jackson and Paul McCartney.mp4"
[2025-02-23 14:49:02.516 +11:00] [DBG] "EpisodeNfoProvider" returned no metadata for "/mnt/storage/library/shows/The Aunty Donna Podcast [tvdbid-438893]/Season 1/S01E366 - Ep 366 - Peter Jackson and Paul McCartney.mp4"
[2025-02-23 14:49:02.516 +11:00] [DBG] Running "TvdbEpisodeProvider" for "/mnt/storage/library/shows/The Aunty Donna Podcast [tvdbid-438893]/Season 1/S01E366 - Ep 366 - Peter Jackson and Paul McCartney.mp4"
[2025-02-23 14:49:02.710 +11:00] [ERR] Episode S01E110 not found for series 0:"S01E366 - Ep 366 - Peter Jackson and Paul McCartney"
[2025-02-23 14:49:02.710 +11:00] [DBG] "TvdbEpisodeProvider" returned no metadata for "/mnt/storage/library/shows/The Aunty Donna Podcast [tvdbid-438893]/Season 1/S01E366 - Ep 366 - Peter Jackson and Paul McCartney.mp4"
[2025-02-23 14:49:02.710 +11:00] [DBG] Running "OmdbEpisodeProvider" for "/mnt/storage/library/shows/The Aunty Donna Podcast [tvdbid-438893]/Season 1/S01E366 - Ep 366 - Peter Jackson and Paul McCartney.mp4"
[2025-02-23 14:49:02.711 +11:00] [DBG] "OmdbEpisodeProvider" returned no metadata for "/mnt/storage/library/shows/The Aunty Donna Podcast [tvdbid-438893]/Season 1/S01E366 - Ep 366 - Peter Jackson and Paul McCartney.mp4"
[2025-02-23 14:49:02.711 +11:00] [DBG] Running "TmdbEpisodeProvider" for "/mnt/storage/library/shows/The Aunty Donna Podcast [tvdbid-438893]/Season 1/S01E366 - Ep 366 - Peter Jackson and Paul McCartney.mp4"
[2025-02-23 14:49:02.711 +11:00] [DBG] "TmdbEpisodeProvider" returned no metadata for "/mnt/storage/library/shows/The Aunty Donna Podcast [tvdbid-438893]/Season 1/S01E366 - Ep 366 - Peter Jackson and Paul McCartney.mp4"
[2025-02-23 14:49:02.712 +11:00] [DBG] Running "TrickplayProvider" for "/mnt/storage/library/shows/The Aunty Donna Podcast [tvdbid-438893]/Season 1/S01E366 - Ep 366 - Peter Jackson and Paul McCartney.mp4"
[2025-02-23 14:49:02.712 +11:00] [DBG] Running "SubsMetadataProvider" for "/mnt/storage/library/shows/The Aunty Donna Podcast [tvdbid-438893]/Season 1/S01E366 - Ep 366 - Peter Jackson and Paul McCartney.mp4"
[2025-02-23 14:49:02.712 +11:00] [INF] Extracting subtitles for: "/mnt/storage/library/shows/The Aunty Donna Podcast [tvdbid-438893]/Season 1/S01E366 - Ep 366 - Peter Jackson and Paul McCartney.mp4"
[2025-02-23 14:49:02.713 +11:00] [INF] Finished subtitle extraction for: "/mnt/storage/library/shows/The Aunty Donna Podcast [tvdbid-438893]/Season 1/S01E366 - Ep 366 - Peter Jackson and Paul McCartney.mp4"
[2025-02-23 14:49:02.714 +11:00] [DBG] Running "TvdbEpisodeImageProvider" for "/mnt/storage/library/shows/The Aunty Donna Podcast [tvdbid-438893]/Season 1/S01E366 - Ep 366 - Peter Jackson and Paul McCartney.mp4"
[2025-02-23 14:49:02.919 +11:00] [ERR] Episode 1x110 not found for series 438893:"The Aunty Donna Podcast"
[2025-02-23 14:49:02.919 +11:00] [DBG] Running "OmdbImageProvider" for "/mnt/storage/library/shows/The Aunty Donna Podcast [tvdbid-438893]/Season 1/S01E366 - Ep 366 - Peter Jackson and Paul McCartney.mp4"
[2025-02-23 14:49:02.920 +11:00] [DBG] Running "TmdbEpisodeImageProvider" for "/mnt/storage/library/shows/The Aunty Donna Podcast [tvdbid-438893]/Season 1/S01E366 - Ep 366 - Peter Jackson and Paul McCartney.mp4"
[2025-02-23 14:49:02.920 +11:00] [DBG] Running "EmbeddedImageProvider" for "/mnt/storage/library/shows/The Aunty Donna Podcast [tvdbid-438893]/Season 1/S01E366 - Ep 366 - Peter Jackson and Paul McCartney.mp4"
[2025-02-23 14:49:02.921 +11:00] [DBG] "/usr/lib/jellyfin-ffmpeg/ffmpeg" "-f mov,mp4,m4a,3gp,3g2,mj2 -i file:\"/mnt/storage/library/shows/The Aunty Donna Podcast [tvdbid-438893]/Season 1/S01E366 - Ep 366 - Peter Jackson and Paul McCartney.mp4\" -map 0:2 -threads 1 -v quiet -vframes 1 -vf scale=round(iw*sar/2)*2:round(ih/2)*2,thumbnail=n=24 -f image2 \"/tmp/jellyfin/b2e99085-f21f-4371-9486-10a3138011f6.png\""



RE: Not Detecting Episode No. Corrently - TheDreadPirate - 2025-02-23

Jellyfin will use the folder structure/file name for determining how to construct the query to TVDB/TMDB/<insert enabled online metadata sources>. If the online metadata source doesn't have anything, Jellyfin will fall back to any embedded metadata or NFOs.

If neither exists or they are incomplete, the results will be incomplete or inconsistent.


RE: Not Detecting Episode No. Corrently - itscooldani - 2025-02-23

(Today, 04:09 AM)TheDreadPirate Wrote: Jellyfin will use the folder structure/file name for determining how to construct the query to TVDB/TMDB/<insert enabled online metadata sources>.  If the online metadata source doesn't have anything, Jellyfin will fall back to any embedded metadata or NFOs.

If neither exists or they are incomplete, the results will be incomplete or inconsistent.


That makes sense! Although I'm still not understanding why it gets some correct and others not.cases