Jump to content

After upgrading to 4.10.2.0, new media in nested folders is not detected automatically


Recommended Posts

Souroosh
Posted

Title:

After upgrading to 4.10.2.0, new media in nested folders is not detected automatically

Version:

Emby Server 4.10.2.0 (installed through an automatic update)

OS:

Windows (server)

Version history:

I have previously run 4.8.1.0, 4.7.13.0, and 4.7.11.0 with no problems, and some of those were also installed through automatic updates. The problem started only after the automatic update to 4.10.2.0.

Problem:

Since the automatic update to 4.10.2.0, new media added to my library is no longer detected when the new video is inside its own subfolder. For example, I downloaded episode 7 of a show that already exists in my library. The file was placed in a folder named "Episode 7" inside the show's folder. Emby did not detect it, even though the parent show folder is already part of a library path. This worked fine on the previous versions.

Workaround:

I have to manually add the new nested folder to the library's folder list. Only then does the episode appear.

Expected:

New files and subfolders anywhere under an existing library path are detected and added automatically, as in the previous versions.

Actual:

New content inside nested subfolders is not picked up unless I add the folder to the library by hand.

Steps to reproduce:

1. Have a library with a show folder that is already in the library.

2. Add a new episode inside its own subfolder (for example, ShowName/Episode 7/episode.mkv).

3. Wait, or run a library scan. The episode does not appear.

Other notes:

I made no configuration changes apart from the automatic update. I can provide server logs if needed.

Posted

Hello Souroosh,

** This is an auto reply **

Please wait for someone from staff support or our members to reply to you.

It's recommended to provide more info, as it explain in this thread:


Thank you.

Emby Team

Souroosh
Posted

Hi Luke,

Thanks for replying. Here are specific examples. All of these worked automatically on 4.8.1.0 and earlier. Since the automatic update to 4.10.2.0, new content is not detected.

Example 1: Stick (2026)
Folder: C:\Fin\tv\Stick (2026)\Season 1 (2026)
The whole show never appeared in the library. I had to manually add the show folder to the library's folder list, even though C:\Fin\tv is already a library path. After that it was still not detected until I renamed things and rescanned. Right now it is still not showing up.

Example 2: Vision Quest
This show was also added under the same TV folder and never appeared at all.

Example 3: Scrubs, Season 2, Episode 7
Folder: C:\Fin\tv\Scrubs (2026) (comedy)\Season 2 (2026)\
Episode 7 was in its own subfolder inside Season 2. The show and season already existed in the library, but this episode was not detected.

Folder naming variations that also had the problem:
C:\Fin\tv\Scrubs (2026) (comedy)\Season 2 (2026)
C:\Fin\tv\Scrubs (2026) (comedy) \Season 2 (2026) (with a space after "comedy)")
C:\Fin\tv\Scrubs (2026) [comedy]\Season 2 (2026) (square brackets instead of parentheses)

My setup:
- Everything is under the TV folder, which is listed in my library folders (for example C:\Fin\tv). The library paths are set up correctly.
- Automatic library scanning and updating are left on. I also manually scanned the library, and the new content was still not picked up.
- The files are on the local 😄 drive of my Windows server. A few older shows are on a second local drive (F:\Fin\tv).
- I restarted the Emby server, shut it down and started it manually, and rebooted the whole computer. None of that helped.

I am attaching the server logs from after adding the new content. Please let me know if you need anything else.

Thank you!logs.zip

Souroosh
Posted (edited)
46 minutes ago, Luke said:

HI there, can you please provide a specific example?

How to Report a Problem

Thanks !

 

 

C:\...\Fin\TV\Stick (2025) (Sports Comedy)\Season 2 (2026)

This finally showed up after I manually added it to the playlist of TVs.

but it's Auto selecting and finding it as a different Korean show called "our sticky love" from 2026 

This labeling has happened before after the update which databases to look up , making sure points to IMDb the right included in the databases and the other databases.

but now it's happening again..

 

Edited by Souroosh
Posted

What exactly makes you think it's not showing up ?

Souroosh
Posted

The fact that when I go and open up the server on the PC it doesn't show the media or the episode mentioned earlier, and also the same situation applies to when you use the app on the streaming device to view.

Posted

Where exactly are you looking for it?

pwhodges
Posted
11 hours ago, Souroosh said:

The file was placed in a folder named "Episode 7" inside the show's folder. Emby did not detect it, even though the parent show folder is already part of a library path. This worked fine on the previous versions.

Putting individual episodes into their own folders is not recommended by Emby.

Paul

SoliFlix
Posted

I think the cause is the folder “Scrubs (2026) “, which has a trailing space after “(2026)”, and according to the log the library scan aborts at this folder, so new shows like VisionQuest in your ...\Fin\TV\ folders never get added.

Posted
On 11/6/2026 at 4:33 AM, pwhodges said:

Putting individual episodes into their own folders is not recommended by Emby.

Paul

It’s supported though.

Posted

@sa2000 can you reproduce with this naming and structure?

  • Thanks 1
sa2000
Posted
11 hours ago, Luke said:

can you reproduce with this naming and structure?

Yes - episodes in episode folders work 

└───Scrubs (2026)
    └───Season 2 (2026)
        └───Episode 7
                episode.mkv

image.png

I have reproduced the issue with having a trailing space in the folder name "\Scrubs (2026) " - when that is encountered in the scan, we get an error but the scan is aborted and other series are not seen - the scan of the library aborts 

The logs from the user do show that the TV Shows library does encounter a trailing space as highlighted by @SoliFlixhere, we abort the scan when reaching that error - so other tv shows/episodes do not get seen.

The scan here shows a trailing space

2026-11-05 15:16:03.915 Error App: Error in GetFileSystemEntries for \\HOME-PC-2NDFL-M\Torrents2\Fin\TV\Scrubs (2026) 

and we get an error - note the trailing space is not showing in the error

System.IO.DirectoryNotFoundException: System.IO.DirectoryNotFoundException: Could not find a part of the path '\\HOME-PC-2NDFL-M\Torrents2\Fin\TV\Scrubs (2026)'.

 

Any paths with trailing spaces need to be corrected - would need using scripts in powershell

This is a powershell command that would list all folders in a path that have a trailing space

Get-ChildItem -LiteralPath "\\?\C:\YourTargetDirectory" -Recurse -Directory -ErrorAction SilentlyContinue | Where-Object { $_.Name -match '\s+$' } | Select-Object FullName

So trailing spaces need to be removed in folder names

Also should remove all overlaps in the library definition - Outcomes could be indeterminate when there are overlapping folders. We have resolved Sqlite exceptions but there may be other issues when there are overlaps

These are overlapping folder paths in the TV Shows library

C:\Torrents\Fin\TV\
C:\Torrents\Fin\TV\Margo’s Got Money Troubles (2026)

C:\Torrents\Fin\TV\
C:\Torrents\Fin\TV\Scrubs (2026)(Comedy)

C:\Torrents\Fin\TV\
C:\Torrents\Fin\TV\VisionQuest (2026) (Sci-fi)
C:\Torrents\Fin\TV\VisionQuest (2026) (Sci-fi)\Season 1 (2026)

F:\Torrents\Fin\TV\
F:\Torrents\Fin\TV\Hijack\Season 01 (2023)\

G:\Torrents\Fin\TV\
G:\Torrents\Fin\TV\The Daily Show (1996)\

G:\Torrents\Fin\TV\
G:\Torrents\Fin\TV\War Of The Worlds (2019)

G:\Torrents\Fin\TV\
G:\Torrents\Fin\TV\War Of The Worlds (2019) (360p re-webrip)\

Also there are folders defined using unc paths for the same machine. The Emby Server is ‌HOME-PC-2NDFL-M‌

and the library definition also has these - which are on the same machine - so no doubt there will be more overlaps

\\HOME-PC-2NDFL-M\Torrents\Fin\TV
\\HOME-PC-2NDFL-M\Torrents2\Fin\TV
\\HOME-PC-2NDFL-M\Torrents3\Fin\TV
\\HOME-PC-2NDFL-M\TorrentsT\Fin\TV
\\HOME-PC-2NDFL-M\TorrentsV\Fin\TV
\\HOME-PC-2NDFL-M\TorrentsW\Fin\TV

For each of these share names, establish what the target folder path is and if it is already defined using a drive letter, then remove the network share path to avoid having duplicate / overlapping paths in the library defintion

You have all these defined as paths for the "TV Shows" library - so check if any of the UNC paths above overlap with these - by checking what the share names map on to in terms of folders and remove the overlaps

C:\Torrents\Fin\TV\
D:\Torrents\Fin\TV\
F:\Torrents\Fin\TV\
G:\Torrents\Fin\TV\
O:\Torrents\Fin\TV
T:\Torrents\Fin\TV
U:\Torrents\Fin\TV
V:\Torrents\Fin\TV
w:\Torrents\Fin\TV

I would suggest you tidy up the libraries folder paths definitions to avoid any overlapping folders

and also check other libraries for similar issue, e.g. these - is the UNC path going to the same folder? The share names to be checked

Movies

\\HOME-PC-2NDFL-M\Torrents\Fin\Movies
C:\Torrents\Fin\Movies

Music
\\HOME-PC-2NDFL-M\Torrents\Fin\Music
C:\Torrents\Fin\Music

and there are also the same paths in different libraries - i do not know what the outcomes would be but to my knowledge, this is unsupported where the library types are different, e.g.

Movies			C:\My_DVD's
TV shows		C:\My_DVD's

Music			\\HOME-PC-2NDFL-M\Torrents\Fin\Music
Music videos		\\HOME-PC-2NDFL-M\Torrents\Fin\Music

Music			\\HOME-PC-2NDFL-M\Torrents2\Fin\Music
Music videos		\\HOME-PC-2NDFL-M\Torrents2\Fin\Music

Music			\\HOME-PC-2NDFL-M\Torrents3\Fin\Music
Music videos		\\HOME-PC-2NDFL-M\Torrents3\Fin\Music

 

Posted
On 11/13/2026 at 8:31 AM, sa2000 said:

Yes - episodes in episode folders work 

└───Scrubs (2026)
    └───Season 2 (2026)
        └───Episode 7
                episode.mkv

image.png

I have reproduced the issue with having a trailing space in the folder name "\Scrubs (2026) " - when that is encountered in the scan, we get an error but the scan is aborted and other series are not seen - the scan of the library aborts 

The logs from the user do show that the TV Shows library does encounter a trailing space as highlighted by @SoliFlixhere, we abort the scan when reaching that error - so other tv shows/episodes do not get seen.

The scan here shows a trailing space

2026-11-05 15:16:03.915 Error App: Error in GetFileSystemEntries for \\HOME-PC-2NDFL-M\Torrents2\Fin\TV\Scrubs (2026) 

and we get an error - note the trailing space is not showing in the error

System.IO.DirectoryNotFoundException: System.IO.DirectoryNotFoundException: Could not find a part of the path '\\HOME-PC-2NDFL-M\Torrents2\Fin\TV\Scrubs (2026)'.

 

Any paths with trailing spaces need to be corrected - would need using scripts in powershell

This is a powershell command that would list all folders in a path that have a trailing space

Get-ChildItem -LiteralPath "\\?\C:\YourTargetDirectory" -Recurse -Directory -ErrorAction SilentlyContinue | Where-Object { $_.Name -match '\s+$' } | Select-Object FullName

So trailing spaces need to be removed in folder names

Also should remove all overlaps in the library definition - Outcomes could be indeterminate when there are overlapping folders. We have resolved Sqlite exceptions but there may be other issues when there are overlaps

These are overlapping folder paths in the TV Shows library

C:\Torrents\Fin\TV\
C:\Torrents\Fin\TV\Margo’s Got Money Troubles (2026)

C:\Torrents\Fin\TV\
C:\Torrents\Fin\TV\Scrubs (2026)(Comedy)

C:\Torrents\Fin\TV\
C:\Torrents\Fin\TV\VisionQuest (2026) (Sci-fi)
C:\Torrents\Fin\TV\VisionQuest (2026) (Sci-fi)\Season 1 (2026)

F:\Torrents\Fin\TV\
F:\Torrents\Fin\TV\Hijack\Season 01 (2023)\

G:\Torrents\Fin\TV\
G:\Torrents\Fin\TV\The Daily Show (1996)\

G:\Torrents\Fin\TV\
G:\Torrents\Fin\TV\War Of The Worlds (2019)

G:\Torrents\Fin\TV\
G:\Torrents\Fin\TV\War Of The Worlds (2019) (360p re-webrip)\

Also there are folders defined using unc paths for the same machine. The Emby Server is ‌HOME-PC-2NDFL-M‌

and the library definition also has these - which are on the same machine - so no doubt there will be more overlaps

\\HOME-PC-2NDFL-M\Torrents\Fin\TV
\\HOME-PC-2NDFL-M\Torrents2\Fin\TV
\\HOME-PC-2NDFL-M\Torrents3\Fin\TV
\\HOME-PC-2NDFL-M\TorrentsT\Fin\TV
\\HOME-PC-2NDFL-M\TorrentsV\Fin\TV
\\HOME-PC-2NDFL-M\TorrentsW\Fin\TV

For each of these share names, establish what the target folder path is and if it is already defined using a drive letter, then remove the network share path to avoid having duplicate / overlapping paths in the library defintion

You have all these defined as paths for the "TV Shows" library - so check if any of the UNC paths above overlap with these - by checking what the share names map on to in terms of folders and remove the overlaps

C:\Torrents\Fin\TV\
D:\Torrents\Fin\TV\
F:\Torrents\Fin\TV\
G:\Torrents\Fin\TV\
O:\Torrents\Fin\TV
T:\Torrents\Fin\TV
U:\Torrents\Fin\TV
V:\Torrents\Fin\TV
w:\Torrents\Fin\TV

I would suggest you tidy up the libraries folder paths definitions to avoid any overlapping folders

and also check other libraries for similar issue, e.g. these - is the UNC path going to the same folder? The share names to be checked

Movies

\\HOME-PC-2NDFL-M\Torrents\Fin\Movies
C:\Torrents\Fin\Movies

Music
\\HOME-PC-2NDFL-M\Torrents\Fin\Music
C:\Torrents\Fin\Music

and there are also the same paths in different libraries - i do not know what the outcomes would be but to my knowledge, this is unsupported where the library types are different, e.g.

Movies			C:\My_DVD's
TV shows		C:\My_DVD's

Music			\\HOME-PC-2NDFL-M\Torrents\Fin\Music
Music videos		\\HOME-PC-2NDFL-M\Torrents\Fin\Music

Music			\\HOME-PC-2NDFL-M\Torrents2\Fin\Music
Music videos		\\HOME-PC-2NDFL-M\Torrents2\Fin\Music

Music			\\HOME-PC-2NDFL-M\Torrents3\Fin\Music
Music videos		\\HOME-PC-2NDFL-M\Torrents3\Fin\Music

 

Thanks. Server log?

sa2000
Posted (edited)
12 hours ago, Luke said:

Thanks. Server log?

The issue of scanning of a library folder path aborting rather than skipping when encountering a directory with a trailing space in the name has been reproduced by me and raised internally together with the log - we should look into changing that behaviour so that only that bad folder name gets skipped and not the whole scan of the library root folder getting stopped

 

Edited by sa2000
  • 2 weeks later...
Posted (edited)
On 06/11/2026 at 11:06, SoliFlix said:

I think the cause is the folder “Scrubs (2026) “, which has a trailing space after “(2026)”, and according to the log the library scan aborts at this folder, so new shows like VisionQuest in your ...\Fin\TV\ folders never get added.

 

On 05/11/2026 at 21:31, Souroosh said:

3. Wait, or run a library scan. The episode does not appear.

This is now fixed in the latest beta - confirmed in 4.11.0.19. We can now process media files in folders with a trailing space in the name and not abort the scan as was happening before

 

Edited by sa2000
  • Like 1
  • Thanks 1

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...