Jellyfin Forum
Folder Combining Not Working For Some TV 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: Folder Combining Not Working For Some TV Shows (/t-folder-combining-not-working-for-some-tv-shows)



Folder Combining Not Working For Some TV Shows - ddelella - 2025-03-20

I am running Jellyfin on my TrueNAS Scale Electric Eel 24.10.2 server. I installed the plugin for TheTVDB.com. I restarted my server so the plugin would activate. I setup a library called TV Shows with two folders:

\tv
\tv-current

I keep permanent, already completed, TV Shows in the tv folder and currently running shows in the other. I made sure the option for combining tv shows from multiple folders option was enabled. This works for all my shows except for 1.

\tv\1923 (2022)\Season 1
\tv-current\1923 (2022)\Season 2

I do see a single TV show in the list of shows but when I click into the show it only shows Season 2. I am not sure why Season 1 is not showing.


RE: Folder Combining Not Working For Some TV Shows - TheDreadPirate - 2025-03-20

Double check the permissions are the same. You can also try adding the TMDB/TVDB ID to the folder name for both locations.

"1923 (2022) [tvdb-416491]"

Or the TMDB ID.

"1923 (2022) [tmdbid-157744]"


RE: Folder Combining Not Working For Some TV Shows - ddelella - 2025-03-20

The metadata manager only shows Season 2 as well. It is like the scan it not picking up the Season 1 folder at all.

I confirmed the scan also DID NOT detect the "4400 (2021)" or "1883 (2021)" either. I added the tvdb id to the 1883 folder name, as suggested, and triggered a library scan. It still did not show up.

It DID detect "24 (2001)" folder.

The issue seems to be where the TV show name is a 4 digit number. This might be a bug in the library scanner.


RE: Folder Combining Not Working For Some TV Shows - TheDreadPirate - 2025-03-20

Did you confirm the folder permissions on Season 1? You are not the only person with this show and providing the TMDB/TVDB ID in the folder name should resolve any issues with identification.

Can you share your Jellyfin logs via privatebin.net?


RE: Folder Combining Not Working For Some TV Shows - ddelella - 2025-03-20

Yes, all folder permissions are the same. Providing the specific id for the show in the folder name did not work. I tried it on all shows that were missing. 4400 and 1883 only exists in the tv folder so it is not a folder merge issue. If it is not showing in the metadata manager I assume that means library scanner bug.


RE: Folder Combining Not Working For Some TV Shows - TheDreadPirate - 2025-03-20

Try moving 1923/season 1 out of the tv folder, initiate a scan in Jellyfin, move season 1 back into tv and start another scan. If that STILL doesn't work, share your full jellyfin log via privatebin.net.


RE: Folder Combining Not Working For Some TV Shows - ddelella - 2025-03-21

I moved Season 1 to the tv-current folder along with Season 2 and both showed as expected. I moved Season 1 back to the tv folder and ran a scan and it disappeared. Here is the log. There are so many things in this log I do not understand. I don't have a "Scream: The TV Series" so why is that even showing? There is an unknown season value of null but no path is given. It shows it refreshing metadata for some of the episodes but that never shows in the metadata manager.

[2025-03-21 08:18:40.295 -04:00] [ERR] [73] Emby.Server.Implementations.Library.LibraryManager: Cannot compute blurhash for "/config/metadata/library/5a/5a587af15cbb40755b94de9852596fbc/poster.jpg"
System.NullReferenceException: Object reference not set to an instance of an object.
at BlurHashSharp.SkiaSharp.BlurHashEncoder.Encode(Int32 xComponent, Int32 yComponent, SKCodec codec, Int32 maxWidth, Int32 maxHeight)
at BlurHashSharp.SkiaSharp.BlurHashEncoder.Encode(Int32 xComponent, Int32 yComponent, Stream stream, Int32 maxWidth, Int32 maxHeight)
at Jellyfin.Drawing.Skia.SkiaEncoder.GetImageBlurHash(Int32 xComp, Int32 yComp, String path)
at Jellyfin.Drawing.ImageProcessor.GetImageBlurHash(String path, ImageDimensions imageDimensions)
at Emby.Server.Implementations.Library.LibraryManager.UpdateImagesAsync(BaseItem item, Boolean forceUpdate)
[2025-03-21 08:23:37.020 -04:00] [INF] [71] Emby.Server.Implementations.IO.LibraryMonitor: "Season 1" ("/data/tv-current/1923 (2022)/Season 1") will be refreshed.
[2025-03-21 08:23:37.029 -04:00] [INF] [43] Emby.Server.Implementations.Library.LibraryManager: Removing item, Type: "Episode", Name: "1923", Path: "/data/tv-current/1923 (2022)/Season 1/S01E01.mkv", Id: 01060d69-e555-8b1f-1beb-93b66fab135f
[2025-03-21 08:23:38.650 -04:00] [INF] [71] Emby.Server.Implementations.IO.LibraryMonitor: "tv" ("/data/tv") will be refreshed.
[2025-03-21 08:24:11.758 -04:00] [INF] [43] Emby.Server.Implementations.Library.LibraryManager: Removing item, Type: "Episode", Name: "Nature's Empty Throne", Path: "/data/tv-current/1923 (2022)/Season 1/S01E02.mkv", Id: 8cc2c1d5-914d-e8af-3c06-6a15647f00a2
[2025-03-21 08:24:11.776 -04:00] [INF] [43] Emby.Server.Implementations.Library.LibraryManager: Removing item, Type: "Episode", Name: "The War Has Come Home", Path: "/data/tv-current/1923 (2022)/Season 1/S01E03.mkv", Id: ac1b2398-0cb6-87a6-36d2-0fca7cc37760
[2025-03-21 08:24:11.794 -04:00] [INF] [43] Emby.Server.Implementations.Library.LibraryManager: Removing item, Type: "Episode", Name: "War and the Turquoise Tide", Path: "/data/tv-current/1923 (2022)/Season 1/S01E04.mkv", Id: ef02ae76-05e9-1511-d0cb-329bed83cd8f
[2025-03-21 08:24:14.502 -04:00] [ERR] [52] Emby.Server.Implementations.Library.LibraryManager: Cannot compute blurhash for "/config/metadata/library/5a/5a587af15cbb40755b94de9852596fbc/poster.jpg"
System.NullReferenceException: Object reference not set to an instance of an object.
at BlurHashSharp.SkiaSharp.BlurHashEncoder.Encode(Int32 xComponent, Int32 yComponent, SKCodec codec, Int32 maxWidth, Int32 maxHeight)
at BlurHashSharp.SkiaSharp.BlurHashEncoder.Encode(Int32 xComponent, Int32 yComponent, Stream stream, Int32 maxWidth, Int32 maxHeight)
at Jellyfin.Drawing.Skia.SkiaEncoder.GetImageBlurHash(Int32 xComp, Int32 yComp, String path)
at Jellyfin.Drawing.ImageProcessor.GetImageBlurHash(String path, ImageDimensions imageDimensions)
at Emby.Server.Implementations.Library.LibraryManager.UpdateImagesAsync(BaseItem item, Boolean forceUpdate)
[2025-03-21 08:24:18.773 -04:00] [INF] [52] MediaBrowser.Providers.TV.SeriesMetadataService: Creating Season "Season Unknown" entry for "Scream: The TV Series"
[2025-03-21 08:24:19.266 -04:00] [INF] [10] MediaBrowser.MediaEncoding.Encoder.MediaEncoder: Starting "/usr/lib/jellyfin-ffmpeg/ffprobe" with args "-analyzeduration 200M -probesize 1G -i file:\"/data/tv/1923 (2022)/Season 1/S01E02.mkv\" -threads 0 -v warning -print_format json -show_streams -show_chapters -show_format"
[2025-03-21 08:24:19.970 -04:00] [INF] [45] MediaBrowser.MediaEncoding.Encoder.MediaEncoder: Starting "/usr/lib/jellyfin-ffmpeg/ffprobe" with args "-analyzeduration 200M -probesize 1G -i file:\"/data/tv/1923 (2022)/Season 1/S01E05.mkv\" -threads 0 -v warning -print_format json -show_streams -show_chapters -show_format"
[2025-03-21 08:24:20.659 -04:00] [INF] [36] MediaBrowser.MediaEncoding.Encoder.MediaEncoder: Starting "/usr/lib/jellyfin-ffmpeg/ffprobe" with args "-analyzeduration 200M -probesize 1G -i file:\"/data/tv/1923 (2022)/Season 1/S01E04.mkv\" -threads 0 -v warning -print_format json -show_streams -show_chapters -show_format"
[2025-03-21 08:24:21.259 -04:00] [INF] [36] MediaBrowser.MediaEncoding.Encoder.MediaEncoder: Starting "/usr/lib/jellyfin-ffmpeg/ffprobe" with args "-analyzeduration 200M -probesize 1G -i file:\"/data/tv/1923 (2022)/Season 1/S01E03.mkv\" -threads 0 -v warning -print_format json -show_streams -show_chapters -show_format"
[2025-03-21 08:24:22.017 -04:00] [INF] [52] MediaBrowser.MediaEncoding.Encoder.MediaEncoder: Starting "/usr/lib/jellyfin-ffmpeg/ffprobe" with args "-analyzeduration 200M -probesize 1G -i file:\"/data/tv/1923 (2022)/Season 1/S01E01.mkv\" -threads 0 -v warning -print_format json -show_streams -show_chapters -show_format"
[2025-03-21 08:24:23.149 -04:00] [INF] [52] MediaBrowser.Providers.TV.SeriesMetadataService: Removing virtual season null in series "Scream: The TV Series"
[2025-03-21 08:24:23.149 -04:00] [INF] [52] Emby.Server.Implementations.Library.LibraryManager: Removing item, Type: "Season", Name: "Season Unknown", Path: "", Id: b255a5fb-3eaa-19e6-716a-588f794baaa7
[2025-03-21 08:25:06.036 -04:00] [ERR] [66] Emby.Server.Implementations.Library.LibraryManager: Cannot compute blurhash for "/config/metadata/library/5a/5a587af15cbb40755b94de9852596fbc/poster.jpg"
System.NullReferenceException: Object reference not set to an instance of an object.
at BlurHashSharp.SkiaSharp.BlurHashEncoder.Encode(Int32 xComponent, Int32 yComponent, SKCodec codec, Int32 maxWidth, Int32 maxHeight)
at BlurHashSharp.SkiaSharp.BlurHashEncoder.Encode(Int32 xComponent, Int32 yComponent, Stream stream, Int32 maxWidth, Int32 maxHeight)
at Jellyfin.Drawing.Skia.SkiaEncoder.GetImageBlurHash(Int32 xComp, Int32 yComp, String path)
at Jellyfin.Drawing.ImageProcessor.GetImageBlurHash(String path, ImageDimensions imageDimensions)
at Emby.Server.Implementations.Library.LibraryManager.UpdateImagesAsync(BaseItem item, Boolean forceUpdate)
[2025-03-21 08:25:06.705 -04:00] [INF] [18] MediaBrowser.Providers.TV.SeriesMetadataService: Creating Season "Season Unknown" entry for "Scream: The TV Series"
[2025-03-21 08:25:06.763 -04:00] [INF] [18] MediaBrowser.MediaEncoding.Encoder.MediaEncoder: Starting "/usr/lib/jellyfin-ffmpeg/ffprobe" with args "-analyzeduration 200M -probesize 1G -i file:\"/data/tv/1923 (2022)/Season 1/S01E07.mkv\" -threads 0 -v warning -print_format json -show_streams -show_chapters -show_format"
[2025-03-21 08:25:07.384 -04:00] [INF] [39] MediaBrowser.MediaEncoding.Encoder.MediaEncoder: Starting "/usr/lib/jellyfin-ffmpeg/ffprobe" with args "-analyzeduration 200M -probesize 1G -i file:\"/data/tv/1923 (2022)/Season 1/S01E06.mkv\" -threads 0 -v warning -print_format json -show_streams -show_chapters -show_format"
[2025-03-21 08:25:07.995 -04:00] [INF] [39] MediaBrowser.MediaEncoding.Encoder.MediaEncoder: Starting "/usr/lib/jellyfin-ffmpeg/ffprobe" with args "-analyzeduration 200M -probesize 1G -i file:\"/data/tv/1923 (2022)/Season 1/S01E08.mkv\" -threads 0 -v warning -print_format json -show_streams -show_chapters -show_format"
[2025-03-21 08:25:08.644 -04:00] [INF] [66] MediaBrowser.Providers.TV.SeriesMetadataService: Removing virtual season null in series "Scream: The TV Series"
[2025-03-21 08:25:08.645 -04:00] [INF] [66] Emby.Server.Implementations.Library.LibraryManager: Removing item, Type: "Season", Name: "Season Unknown", Path: "", Id: b255a5fb-3eaa-19e6-716a-588f794baaa7
[2025-03-21 08:25:13.373 -04:00] [INF] [13] Emby.Server.Implementations.Library.LibraryManager: Removing item, Type: "Season", Name: "Season 1", Path: "/data/tv-current/1923 (2022)/Season 1", Id: f8e43a07-bcc9-fb59-9a72-0ae993d963e7
[2025-03-21 08:25:25.003 -04:00] [INF] [66] Emby.Server.Implementations.IO.LibraryMonitor: "Betrayed" ("/data/tv/1923 (2022)/Season 1/S01E06.mkv") will be refreshed.
[2025-03-21 08:25:25.003 -04:00] [INF] [66] Emby.Server.Implementations.IO.LibraryMonitor: "Season 1" ("/data/tv/1923 (2022)/Season 1") will be refreshed.
[2025-03-21 08:25:25.004 -04:00] [INF] [66] Emby.Server.Implementations.IO.LibraryMonitor: "In the Trenches" ("/data/tv/1923 (2022)/Season 1/S01E07.mkv") will be refreshed.
[2025-03-21 08:25:25.006 -04:00] [INF] [66] Emby.Server.Implementations.IO.LibraryMonitor: "Ghosts" ("/data/tv/1923 (2022)/Season 1/S01E08.mkv") will be refreshed.
[2025-03-21 08:25:28.499 -04:00] [INF] [18] Emby.Server.Implementations.IO.LibraryMonitor: "1923" ("/data/tv-current/1923 (2022)") will be refreshed.


RE: Folder Combining Not Working For Some TV Shows - TheDreadPirate - 2025-03-21

Code:
Creating Season "Season Unknown" entry for "Scream: The TV Series"

Not sure how it got this from "1923".

Just for clarification, /data/tv and /data/tv-current are the folders you've added to the library. You did NOT add /data by itself to the library?

Regardless, for show names like this you really should add the TMDB ID to the folder name. Since I started doing that for all my content, zero mis-identified shows.

Code:
1923 (2022) [tmdbid-157744]



RE: Folder Combining Not Working For Some TV Shows - ddelella - 2025-04-08

That is correct, those two folders are the only ones in the library configuration.

I attempted to add the ids, but it still did not identify the show. I am 99% convinced this is a bug in the scanner because it is unable to identify any show in my library which is a 4-digit name. This includes 1923, 1883, and 4400. It does, however, recognize other number only titles like 24 and 10.5. I will send the information we collected to GitHub as a bug.


RE: Folder Combining Not Working For Some TV Shows - theguymadmax - 2025-04-08

I just tested this, and you need to include the TMDB ID for it to work. Using the TVDB ID doesn't work when identifying series with numerical titles.

Code:
1923 (2022) [tmdbid-157744]

After renaming, run a refresh metadata scan and select Replace all metadata.  If it's still not showing up, try removing the library and then re-adding it.

Also, it will work if you name the folder without the year
Code:
1923