Jump to content

Does the Windows version of Emby Server have a file path length limitation?


Go to solution Solved by pünktchen,

Recommended Posts

acer1204
Posted

I have a disk and directory structured as: channel folder name / video name / (files, preview images). During testing, I found that some folders cannot be scanned and no files are detected. My library is using a custom configuration.

These files were downloaded from YouTube, and the video titles are used as the filenames.

2026-04-22144415.thumb.png.42d3c25af50938096188e768099dffb7.png

2026-04-22144421.thumb.png.88533691d96dd441b6ddd1663dfe7aaf.png

After adding this path in Emby and clicking “Scan,” no content appears.

.thumb.png.4de4f7700bd07dc0a1a7c655cdcbae1c.png

Some of them can be displayed normally.

11.thumb.png.4a4724cbb69cc65d002b801985bf4f98.png

The attached file contains the log after clicking “Scan.”

embyserver.txt ffmpeg-transcode-f2e3ebdd-5a16-4656-827a-cebe2e734cef_1.txt

Apotropaic
Posted

The logs don't seem to suggest it is a file path limit, it suggests that the directory path is wrong, maybe been changed by another app since you added it into the library? Maybe remove and re-add the library entry.

It's looking for example - ''D:\YTDownload\downloads\FilmsByJosh\Bikini Flavors | Miami Swim Week 2024 | Full Show 4k Powered by EXA Models'

But someone more knowledgeable about emby logs may see something more, but in general Windows has a limit of 256 characters, although it can be increased in Windows 11 so that could be something you could look into and see if it is resolves the issue.

The particular filesystem you are using will also have a limit.

  • Solution
pünktchen
Posted

The problem is the pipe symbol "|". It's an illegal character and not allowed for file or folder names under Windows.

brothom
Posted (edited)

There's so much that can go wrong with your paths. From special characters like "[", "|" and "®" to the "TM" symbols. Your current naming structure is very unconventional.

Try to completely discard any non standard characters like the previously mentioned characters and also non-alphabet characters like ç, ß, etc.

I would suggest simplifying your structure to something like:
D:/YTDownload/downloads/On Fashion TV/New York Swim Week (2025)/Designs by Porshia Swimwear/filename - 4K.mkv

Or if you prefer the structure slightly flatter:
D:/YTDownload/downloads/On Fashion TV - New York Swim Week (2025) - Designs by Porshia Swimwear/filename - 4K.mkv

Considering these are real life events it might be easier to manage if you also add the date of the event:
D:/YTDownload/downloads/On Fashion TV/New York Swim Week/2025/04/Designs by Porshia Swimwear/filename - 4K.mkv

---

Since you download from this channel, using Youtube's names is pretty much a nogo. Rename every folder/file to be safe regardless of the Operating System.

 

Edited by brothom
acer1204
Posted
2 hours ago, js28194 said:

Even if you clean up your file names, Windows itself has a 256 limitation so this is not an Emby issue, it's a Windows issue.  You can change this but ironically, this is something you have to "opt-in" to.

 

https://learn.microsoft.com/en-us/windows/win32/fileio/maximum-file-path-limitation?tabs=registry

 

 

 

4 hours ago, brothom said:

There's so much that can go wrong with your paths. From special characters like "[", "|" and "®" to the "TM" symbols. Your current naming structure is very unconventional.

Try to completely discard any non standard characters like the previously mentioned characters and also non-alphabet characters like ç, ß, etc.

I would suggest simplifying your structure to something like:
D:/YTDownload/downloads/On Fashion TV/New York Swim Week (2025)/Designs by Porshia Swimwear/filename - 4K.mkv

Or if you prefer the structure slightly flatter:
D:/YTDownload/downloads/On Fashion TV - New York Swim Week (2025) - Designs by Porshia Swimwear/filename - 4K.mkv

Considering these are real life events it might be easier to manage if you also add the date of the event:
D:/YTDownload/downloads/On Fashion TV/New York Swim Week/2025/04/Designs by Porshia Swimwear/filename - 4K.mkv

---

Since you download from this channel, using Youtube's names is pretty much a nogo. Rename every folder/file to be safe regardless of the Operating System.

 

 

4 hours ago, pünktchen said:

The problem is the pipe symbol "|". It's an illegal character and not allowed for file or folder names under Windows.

 

5 hours ago, Apotropaic said:

The logs don't seem to suggest it is a file path limit, it suggests that the directory path is wrong, maybe been changed by another app since you added it into the library? Maybe remove and re-add the library entry.

It's looking for example - ''D:\YTDownload\downloads\FilmsByJosh\Bikini Flavors | Miami Swim Week 2024 | Full Show 4k Powered by EXA Models'

But someone more knowledgeable about emby logs may see something more, but in general Windows has a limit of 256 characters, although it can be increased in Windows 11 so that could be something you could look into and see if it is resolves the issue.

The particular filesystem you are using will also have a limit.

 

5 hours ago, Apotropaic said:

The logs don't seem to suggest it is a file path limit, it suggests that the directory path is wrong, maybe been changed by another app since you added it into the library? Maybe remove and re-add the library entry.

It's looking for example - ''D:\YTDownload\downloads\FilmsByJosh\Bikini Flavors | Miami Swim Week 2024 | Full Show 4k Powered by EXA Models'

But someone more knowledgeable about emby logs may see something more, but in general Windows has a limit of 256 characters, although it can be increased in Windows 11 so that could be something you could look into and see if it is resolves the issue.

The particular filesystem you are using will also have a limit.

It looks like I'll have to seriously rename the files after all. I originally wanted to keep them in their original form.

Since the file names across different channels aren't standardized, I wrote my own crawler to download them.

It seems the only option now is to go through them one by one and rename them properly.

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...