# Invalid directory name created from metadata

**URL:** https://discussion.mcebuddy2x.com/t/invalid-directory-name-created-from-metadata/5675
**Category:** Bugs
**Created:** [March 21, 2025, 12:00pm UTC](https://discussion.mcebuddy2x.com/t/invalid-directory-name-created-from-metadata/5675 "2025-03-21T12:00:08Z")
**Posts on this page:** 13
**Page:** 1

<div class="post-metadata">

### Author: ![Richard\_Thomas](https://discussion.mcebuddy2x.com/user_avatar/discussion.mcebuddy2x.com/richard_thomas/32/532_2.png) [@Richard\_Thomas](https://discussion.mcebuddy2x.com/u/Richard_Thomas)
#### Post date: [March 21, 2025, 12:00pm UTC](https://discussion.mcebuddy2x.com/t/invalid-directory-name-created-from-metadata/5675/1 "2025-03-21T12:00:08Z")

</div>

Just started recording the TV Show. The Show folder appeared in my TV Show directly but nothing else did. Recorded by HDhomerun on to Plex which is monitored by MCB which cuts out the commercials and reformats them to mkv file. All my other recordings are working fine. Not sure why this one is give MCB trouble here is the log  
[World’s Dumbest … (2008) - S14E13 - World’s Dumbest Brawlers 14.ts-Convert to MKV-2025-03-21T07-35-43.log](https://discussion.mcebuddy2x.com/uploads/short-url/2Qr59AVNi1JztJMKYOLYycALsis.log) (1.5 MB)

---

<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: [March 21, 2025, 7:22pm UTC](https://discussion.mcebuddy2x.com/t/invalid-directory-name-created-from-metadata/5675/2 "2025-03-21T19:22:17Z")

</div>

It’s converting just fine, it’s not able to access the destination drive/folder

> ERROR\> → Unable to move file B:\MCEbuddy Temp\working0\World’s Dumbest … - S14E13 - World’s Dumbest Brawlers 14.mkv to G:\TV Shows  
> Error :System.IO.DirectoryNotFoundException: Could not find a part of the path.

If you’re using a network folder you to enter the credentials or set it up such that the engine can access it from system space (not user space). See this [FAQ](https://discussion.mcebuddy2x.com/t/25) for networked files.

> [@MCEBuddy FAQ - Common Issues and Errors](https://discussion.mcebuddy2x.com/t/mcebuddy-faq-common-issues-and-errors/25#p-43-mcebuddy-cannot-access-a-mapped-drive-network-pathshare-or-other-drives-such-a-google-drive-dropbox-drives-etc-3):
>
> play_button Table Of Contents:

---

<div class="post-metadata">

### Author: ![Richard\_Thomas](https://discussion.mcebuddy2x.com/user_avatar/discussion.mcebuddy2x.com/richard_thomas/32/532_2.png) [@Richard\_Thomas](https://discussion.mcebuddy2x.com/u/Richard_Thomas)
#### Post date: [March 21, 2025, 9:08pm UTC](https://discussion.mcebuddy2x.com/t/invalid-directory-name-created-from-metadata/5675/3 "2025-03-21T21:08:51Z")

</div>

Nope not network folder, I have 9 drives on My Windows 11 machine with 2 of the main drives being NVMe Drive C: has the O.S. and the other NVMe is Drive B: which is my DVR drive for Plex all the other TV shows being recorded on the same setup work fine.

---

<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: [March 22, 2025, 12:29am UTC](https://discussion.mcebuddy2x.com/t/invalid-directory-name-created-from-metadata/5675/4 "2025-03-22T00:29:26Z")

</div>

Ok, for whatever reason windows can’t find that folder at the moment when MCEBuddy is trying to move the converted file. Could be a drive going bad, could be contention blocking access etc.

---

<div class="post-metadata">

### Author: ![Richard\_Thomas](https://discussion.mcebuddy2x.com/user_avatar/discussion.mcebuddy2x.com/richard_thomas/32/532_2.png) [@Richard\_Thomas](https://discussion.mcebuddy2x.com/u/Richard_Thomas)
#### Post date: [March 22, 2025, 12:57am UTC](https://discussion.mcebuddy2x.com/t/invalid-directory-name-created-from-metadata/5675/5 "2025-03-22T00:57:30Z")

</div>

I have 9 tuners and it records fine I can play it on PLEX but it is full size TS file with all commercials. Here is another file that worked can you see why this one worked?  
[The Steve Wilkos Show (2007) - S09E153 - I Watch the Show I Know He’s Cheating.ts-Convert to MKV-2025-03-21T16-02-37.log](https://discussion.mcebuddy2x.com/uploads/short-url/5EAhcfo2cqPvMi62MBFNbkf9Jl8.log) (1.4 MB)

---

<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: [March 22, 2025, 5:02pm UTC](https://discussion.mcebuddy2x.com/t/invalid-directory-name-created-from-metadata/5675/6 "2025-03-22T17:02:31Z")

</div>

I don’t know how to answer a question why “something works”. I guess because it’s support to work.

I can tell you why it didn’t work above is because windows was unable to access the drive / folder. Now why it was unable to access I don’t know. Like I mentioned it would be a failing drive (likely for SSD), lose cable connector (more likely for traditional drives) or some software like an antivirus blocking access (unlikely). If you open your windows error logs you may find some clues about it and if there are any hardware issue you will likely see connection issues or errors logged there.

---

<div class="post-metadata">

### Author: ![Richard\_Thomas](https://discussion.mcebuddy2x.com/user_avatar/discussion.mcebuddy2x.com/richard_thomas/32/532_2.png) [@Richard\_Thomas](https://discussion.mcebuddy2x.com/u/Richard_Thomas)
#### Post date: [March 22, 2025, 10:39pm UTC](https://discussion.mcebuddy2x.com/t/invalid-directory-name-created-from-metadata/5675/7 "2025-03-22T22:39:26Z")

</div>

Okay rebooted the machine moved the TS files to another drive and changed the output on MCE to another drive NOPE under 3 different setups thinking might be a drive and it all points to MCE the T.S. files can be viewed with zero problems they scan okay but when its converted and transfered to the new drive creating the folder name of the show with nothing in it.  
[World’s Dumbest … (2008) - S09E05 - World’s Dumbest Criminals 23.ts-Convert to MKV-2025-03-22T17-27-02.log](https://discussion.mcebuddy2x.com/uploads/short-url/7qL5vESxCGrY1l1A5PVbeLNZq2t.log) (1.6 MB)  
[World’s Dumbest … (2008) - S10E01 - World’s Dumbest Brawlers 6.ts-Convert to MKV-2025-03-22T17-58-12.log](https://discussion.mcebuddy2x.com/uploads/short-url/4srIx9wTDlerAGIoJC7HKj9pZNO.log) (1.6 MB)  
[World’s Dumbest … (2008) - S15E10 - World’s Dumbest Motorheads 10.ts-Convert to MKV-2025-03-22T18-19-18.log](https://discussion.mcebuddy2x.com/uploads/short-url/dink0YYNOBdbvDvExXHzmcyfKka.log) (1.6 MB)

---

<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: [March 23, 2025, 3:52pm UTC](https://discussion.mcebuddy2x.com/t/invalid-directory-name-created-from-metadata/5675/8 "2025-03-23T15:52:10Z")

</div>

Hmm, if it’s still not working after changing drives then I suspect it may have something to do with the file renaming in the last step. I’ll deep dive into it more but as a quick test turn off file renaming in the conversion task settings and then try to convert one of the original files that earlier failed to move using the same conversion task without file renaming enabled.

---

<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: [March 23, 2025, 4:03pm UTC](https://discussion.mcebuddy2x.com/t/invalid-directory-name-created-from-metadata/5675/9 "2025-03-23T16:03:41Z")

</div>

Okay I think I found the issue, there’s an extra space in your folder structure at the end of the folder name which is throwing Windows off.

`\World's Dumbest \`

I’ll deeper into it to see why there’s an extra space ending up in there.

---

<div class="post-metadata">

### Author: ![Richard\_Thomas](https://discussion.mcebuddy2x.com/user_avatar/discussion.mcebuddy2x.com/richard_thomas/32/532_2.png) [@Richard\_Thomas](https://discussion.mcebuddy2x.com/u/Richard_Thomas)
#### Post date: [March 23, 2025, 7:36pm UTC](https://discussion.mcebuddy2x.com/t/invalid-directory-name-created-from-metadata/5675/10 "2025-03-23T19:36:46Z")

</div>

Maybe Hdhomerun is sending the wrong TV show name where it originates from? Way past my pay grade! LOL I go and remove the space manually and see how it converts

---

<div class="post-metadata">

### Author: ![Richard\_Thomas](https://discussion.mcebuddy2x.com/user_avatar/discussion.mcebuddy2x.com/richard_thomas/32/532_2.png) [@Richard\_Thomas](https://discussion.mcebuddy2x.com/u/Richard_Thomas)
#### Post date: [March 24, 2025, 12:33am UTC](https://discussion.mcebuddy2x.com/t/invalid-directory-name-created-from-metadata/5675/11 "2025-03-24T00:33:41Z")

</div>

YEP definitely MCE naming problem wasn’t the folder name the file name created by HDhomerun with Plex I changed it and it worked! Problem is nothing automatic about it. That would require me to manually do each episode like this to work. MCE doesn’t like dot ,dot,dot LOL  
[World’s Dumbest - S09E05 - World’s Dumbest Criminals 23.ts-Convert to MKV-2025-03-23T18-57-45.log](https://discussion.mcebuddy2x.com/uploads/short-url/hytYMdaMH5DElK7j3aChUxStZH1.log) (1.6 MB)

---

<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: [March 24, 2025, 2:52am UTC](https://discussion.mcebuddy2x.com/t/invalid-directory-name-created-from-metadata/5675/12 "2025-03-24T02:52:31Z")

</div>

This has been fixed in today’s 2.6.5 beta build. It will take care of invalid character sequences in directory naming emanating from metadata which includes handing dots, leading and trailing spaces. Try out today’s build and let me know if it fixes the issue. A directory name cannot end with a `.` in Windows so know that it will be removed automatically.

Thanks for reporting this.

---

<div class="post-metadata">

### Author: ![Richard\_Thomas](https://discussion.mcebuddy2x.com/user_avatar/discussion.mcebuddy2x.com/richard_thomas/32/532_2.png) [@Richard\_Thomas](https://discussion.mcebuddy2x.com/u/Richard_Thomas)
#### Post date: [March 24, 2025, 6:43pm UTC](https://discussion.mcebuddy2x.com/t/invalid-directory-name-created-from-metadata/5675/13 "2025-03-24T18:43:25Z")

</div>

YES ! It fixed it! Thank You!!!
