# Not scanning directory

**URL:** <https://discussion.mcebuddy2x.com/t/not-scanning-directory/3271>\
**Category:** General Support / Questions\
**Created:** [November 26, 2019, 12:52am UTC](https://discussion.mcebuddy2x.com/t/not-scanning-directory/3271 "2019-11-26T00:52:43Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![mike011](https://discussion.mcebuddy2x.com/user_avatar/discussion.mcebuddy2x.com/mike011/32/1351_2.png) [@mike011](https://discussion.mcebuddy2x.com/u/mike011)\
**Post date:** [November 26, 2019, 12:52am UTC](https://discussion.mcebuddy2x.com/t/not-scanning-directory/3271/1 "2019-11-26T00:52:43Z")

</div>

hello. i have been using for some time and has worked great until today. i have a folder called tvshows. in that folder are the shows that record from hdhomerun to folders of each show. buddy doesnt recongnise the subfolders. i have check subfolders but it doesnt. if i manualy add the folder foe each show it works. nothing was changed except uodating to latest release. i tried reverting back but not finding new shows. i have checked read only files that didnt work. dont know what else to try.

---

<div class="post-metadata">

**Author:** ![Goose](https://discussion.mcebuddy2x.com/letter_avatar_proxy/v4/letter/g/5f9b8f/32.png) [@Goose](https://discussion.mcebuddy2x.com/u/Goose)\
**Post date:** [November 26, 2019, 2:24am UTC](https://discussion.mcebuddy2x.com/t/not-scanning-directory/3271/2 "2019-11-26T02:24:15Z")

</div>

Open your MCEBuddy.log file and search for a filename in the sub directory and see what’s going on.

---

<div class="post-metadata">

**Author:** ![mike011](https://discussion.mcebuddy2x.com/user_avatar/discussion.mcebuddy2x.com/mike011/32/1351_2.png) [@mike011](https://discussion.mcebuddy2x.com/u/mike011)\
**Post date:** [November 26, 2019, 2:34am UTC](https://discussion.mcebuddy2x.com/t/not-scanning-directory/3271/3 "2019-11-26T02:34:57Z")

</div>

[mcebuddy.log](https://discussion.mcebuddy2x.com/uploads/short-url/oAVRgr4McSRdfoN6uzRREHeFM8m.log) (36.9 KB)

---

<div class="post-metadata">

**Author:** ![mike011](https://discussion.mcebuddy2x.com/user_avatar/discussion.mcebuddy2x.com/mike011/32/1351_2.png) [@mike011](https://discussion.mcebuddy2x.com/u/mike011)\
**Post date:** [November 26, 2019, 2:36am UTC](https://discussion.mcebuddy2x.com/t/not-scanning-directory/3271/4 "2019-11-26T02:36:57Z")

</div>

It searches the folders of the shows not like this C:\tvshows\

would be like c:\tvshows\the voice\season 1

there are multiple under tvshows. like i said its stupid simple to set this up. out of know where when i updated it started to give me issues. i tried clean install and not working…

---

<div class="post-metadata">

**Author:** ![Goose](https://discussion.mcebuddy2x.com/letter_avatar_proxy/v4/letter/g/5f9b8f/32.png) [@Goose](https://discussion.mcebuddy2x.com/u/Goose)\
**Post date:** [November 26, 2019, 2:46pm UTC](https://discussion.mcebuddy2x.com/t/not-scanning-directory/3271/5 "2019-11-26T14:46:31Z")

</div>

The last line on your log tell you the issue:

> ERROR\> 2019-11-25T21:31:13 MCEBuddy.Engine.QueueManager → Unable to search for files in location D:\TVShows for monitor task Windows Default  
> ERROR : The specified path, file name, or both are too long. The fully qualified file name must be less than 260 characters, and the directory name must be less than 248 characters.

Windows is throwing this error when trying to read your folders. Either there are to many sub directories or your filesystem is corrupted.

---

<div class="post-metadata">

**Author:** ![Goose](https://discussion.mcebuddy2x.com/letter_avatar_proxy/v4/letter/g/5f9b8f/32.png) [@Goose](https://discussion.mcebuddy2x.com/u/Goose)\
**Post date:** [April 12, 2025, 6:55pm UTC](https://discussion.mcebuddy2x.com/t/not-scanning-directory/3271/7 "2025-04-12T18:55:44Z")

</div>

There’s no limitation within MCEBuddy. We’ve tested the setup with 500,000 files spread across 25 sub directories and it works fine. You need open mcebuddy.log and look for specific file names and monitor locations to see what’s going on, if there are errors or warnings from windows of if your filters aren’t matching etc.

Are you seeing the same error within the log file about windows throwing an error about the path length?

---

<div class="post-metadata">

**Author:** ![Duane\_Kiser](https://discussion.mcebuddy2x.com/user_avatar/discussion.mcebuddy2x.com/duane_kiser/32/3064_2.png) [@Duane\_Kiser](https://discussion.mcebuddy2x.com/u/Duane_Kiser)\
**Post date:** [April 12, 2025, 7:38pm UTC](https://discussion.mcebuddy2x.com/t/not-scanning-directory/3271/8 "2025-04-12T19:38:55Z")

</div>

I guess that how my issue differs… I start the process and nothing happen (ie… No list of videos being processed… it’s blank)…

To avoid send the whole log… here are the last few lines…

* * *

Engine Running → False  
Subtitle Cut Segment Incremental Offset → 0  
Minimum Segment Size (seconds) → 4  
Local Server Port → 23332  
UPnP Enabled → False  
Firewall Exception Enabled → False

2025-04-12T15:43:55 MCEBuddy.Engine.Core → MCEBuddy engine started. Setting engine last running state to start.  
ERROR\> 2025-04-12T15:43:56 MCEBuddy.Engine.QueueManager → Unable to process files in location A:\Media Server\Torrent\TV Shows for monitor task Ttv  
ERROR : Could not find a part of the path ‘A:\Media Server\Torrent\TV Shows\All in the family (Archie Bunker) (Starring Mr. Carolyn O’Connor) Complete 480p H.264 (moviesbyrizzo TV uploads)\All in the family (Archie Bunker US TV Series) S5EP03 The Bunkers and inflation (Part 3) (Edith looks for a job).mp4’.  
ERROR\> 2025-04-12T15:43:56 MCEBuddy.Engine.QueueManager → Unable to process files in location A:\Media Server\Torrent\Movies for monitor task Tmovies  
ERROR : Could not find a part of the path ‘A:\Media Server\Torrent\Movies\Friday The 13th Complete 12 Movie Collection - Horror 1980-2009 Eng Rus Multi-Subs 720p [H264-mp4]\Friday The 13th Complete 12 Movie Collection\Friday The 13th Extended Edition Reboot - Horror 2009 Eng Rus Multi-Subs 720p [H264-mp4].mp4’.  
ERROR\> 2025-04-12T15:44:56 MCEBuddy.Engine.QueueManager → Unable to process files in location A:\Media Server\Torrent\TV Shows for monitor task Ttv  
ERROR : Could not find a part of the path ‘A:\Media Server\Torrent\TV Shows\All in the family (Archie Bunker) (Starring Mr. Carolyn O’Connor) Complete 480p H.264 (moviesbyrizzo TV uploads)\All in the family (Archie Bunker US TV Series) S5EP03 The Bunkers and inflation (Part 3) (Edith looks for a job).mp4’.  
ERROR\> 2025-04-12T15:44:56 MCEBuddy.Engine.QueueManager → Unable to process files in location A:\Media Server\Torrent\Movies for monitor task Tmovies  
ERROR : Could not find a part of the path ‘A:\Media Server\Torrent\Movies\Friday The 13th Complete 12 Movie Collection - Horror 1980-2009 Eng Rus Multi-Subs 720p [H264-mp4]\Friday The 13th Complete 12 Movie Collection\Friday The 13th Extended Edition Reboot - Horror 2009 Eng Rus Multi-Subs 720p [H264-mp4].mp4’.

* * *

The dashes above and below I added to set it aside from the rest.. That’s where the log repeats for each new file… The files being processed screen is blank… I have a Ryzen 7 with a Nvidia 3060 GPU…

I copied this from mcebuddy.log after a reset of the service… Since no files have processed there are no other logs…

 ![image](https://discussion.mcebuddy2x.com/uploads/default/original/2X/6/687bc287fdf65fbb2cc00b98f4554d2ae7ff9c02.png)

Of all the folder name I got directly from torrent download.. “All in the family…” is the longest… Here’s inside…

 ![image](https://discussion.mcebuddy2x.com/uploads/default/original/2X/e/ed4d75fc912083fc81ff9ae022a4900741db3c5c.jpeg)

Got some follow-up!!!

I gave my “Switch Filebot to run before MCE Buddy” idea a try and it works ok… So there must by something in those crappy long filenames that was giving Buddy an issue.

MCE Buddy gets a cleaned up Filebot named video and everything runs OK… MCEB’s processing screen now has files!!!

I’m using the AMC functionality out of Filebot to produce a Plex directory structure and naming convention. Below is a directory listing of the videos rec’v by MCEB…

 ![image](https://discussion.mcebuddy2x.com/uploads/default/original/2X/5/5c97ae6749154a95ffffb8e1f6136d0d5503c30d.png)

I hope all this info helps… I’ve fix my problem, but I thought you would like the details for further consideration…

Duane

---

<div class="post-metadata">

**Author:** ![Duane\_Kiser](https://discussion.mcebuddy2x.com/user_avatar/discussion.mcebuddy2x.com/duane_kiser/32/3064_2.png) [@Duane\_Kiser](https://discussion.mcebuddy2x.com/u/Duane_Kiser)\
**Post date:** [April 12, 2025, 9:19pm UTC](https://discussion.mcebuddy2x.com/t/not-scanning-directory/3271/9 "2025-04-12T21:19:22Z")

</div>

![image](https://discussion.mcebuddy2x.com/uploads/default/original/2X/8/8b954581e4406d4e76308392010ebf6b418e108c.png)

Here’s the last screen shot…

---

<div class="post-metadata">

**Author:** ![SystemIdleProcess](https://discussion.mcebuddy2x.com/user_avatar/discussion.mcebuddy2x.com/systemidleprocess/32/2560_2.png) [@SystemIdleProcess](https://discussion.mcebuddy2x.com/u/SystemIdleProcess)\
**Post date:** [April 14, 2025, 11:56am UTC](https://discussion.mcebuddy2x.com/t/not-scanning-directory/3271/10 "2025-04-14T11:56:11Z")

</div>

We’ve seen this error in the past. There is a powershell script in the solution of this post to help identify the files.

> [@ERROR : The specified path, file name, or both are too long](https://discussion.mcebuddy2x.com/t/error-the-specified-path-file-name-or-both-are-too-long/4091):
>
> I am getting this error ERROR : The specified path, file name, or both are too long. The fully qualified file name must be less than 260 characters, and the directory name must be less than 248 characters. A lot. [mcebuddy.log](https://discussion.mcebuddy2x.com/uploads/short-url/wtmqCnTx0K1V57q1bB7vl8sL6Wc.log) (555.3 KB)

Here is a Microsoft article explaining the limitation and potential workarounds.  
[Maximum Path Length Limitation - Win32 apps | Microsoft Learn](https://learn.microsoft.com/en-us/windows/win32/fileio/maximum-file-path-limitation?tabs=registry)

---

<div class="post-metadata">

**Author:** ![Goose](https://discussion.mcebuddy2x.com/letter_avatar_proxy/v4/letter/g/5f9b8f/32.png) [@Goose](https://discussion.mcebuddy2x.com/u/Goose)\
**Post date:** [May 16, 2025, 6:29pm UTC](https://discussion.mcebuddy2x.com/t/not-scanning-directory/3271/11 "2025-05-16T18:29:38Z")

</div>

2 posts were split to a new topic: [Unable to scan folders](https://discussion.mcebuddy2x.com/t/unable-to-scan-folders/5710)
