# TVDB Episode detection

**URL:** <https://forums.plex.tv/t/tvdb-episode-detection/801762>\
**Category:** Metadata & Adding Files\
**Tags:** server-linux, library-management\
**Created:** [July 23, 2022, 12:38pm UTC](https://forums.plex.tv/t/tvdb-episode-detection/801762 "2022-07-23T12:38:05Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![flumplover](https://avatars.discourse-cdn.com/v4/letter/f/9e8a1a/32.png) [@flumplover](https://forums.plex.tv/u/flumplover)\
**Post date:** [July 23, 2022, 12:38pm UTC](https://forums.plex.tv/t/tvdb-episode-detection/801762/1 "2022-07-23T12:38:05Z")

</div>

Server Version#: 1.27.2.5929

I have a TV series on my server with the following directory structure :-

**Trying**  
**├── Season 01**  
**│ ├── Trying (2020) s01e01.mkv**  
**│ ├── Trying (2020) s01e02.mkv**  
**│ ├── Trying (2020) s01e03.mkv**  
**│ ├── Trying (2020) s01e04.mkv**  
**│ ├── Trying (2020) s01e05.mkv**  
**│ ├── Trying (2020) s01e06.mkv**  
**│ ├── Trying (2020) s01e07.mkv**  
**│ └── Trying (2020) s01e08.mkv**  
**├── Season 02**  
**│ ├── Trying (2020) - s02e01.mkv**  
**│ ├── Trying (2020) - s02e02.mkv**  
**│ ├── Trying (2020) - s02e03.mkv**  
**│ ├── Trying (2020) - s02e04.mkv**  
**│ ├── Trying (2020) - s02e05.mkv**  
**│ ├── Trying (2020) - s02e06.mkv**  
**│ ├── Trying (2020) - s02e07.mkv**  
**│ └── Trying (2020) - s02e08.mkv**  
**└── Season 03**  
\*\* ├── Trying (2020) - s03e01.mkv\*\*  
\*\* └── Trying (2020) - s03e02.mkv\*\*

In Season 1 Episodes 1 and 7, Season 2 Episodes 1,2,5,6,7,8 are not detected by plex.

All episodes in Season 3 are detected.

All episodes are listed on TVdb.

Can anybody see a problem in the file structure?

---

<div class="post-metadata">

**Author:** ![tom80H](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/tom80h/32/19753_2.png) [@tom80H](https://forums.plex.tv/u/tom80H)\
**Post date:** [July 23, 2022, 1:03pm UTC](https://forums.plex.tv/t/tvdb-episode-detection/801762/2 "2022-07-23T13:03:46Z")

</div>

What do you mean by “they’re not detected”?  
Are the episodes not showing up in Plex at all or are they not getting any metadata?  
What agent are you using for the library?

---

<div class="post-metadata">

**Author:** ![flumplover](https://avatars.discourse-cdn.com/v4/letter/f/9e8a1a/32.png) [@flumplover](https://forums.plex.tv/u/flumplover)\
**Post date:** [July 23, 2022, 1:43pm UTC](https://forums.plex.tv/t/tvdb-episode-detection/801762/3 "2022-07-23T13:43:03Z")

</div>

Hi Tom,

Let me elaborate, the episodes in the post don’t show up at all in Plex.

Each series is getting metadata as are the episodes that are detected by plex have full Metadata.

I am using Plex TV Series as both scanner and agent.

---

<div class="post-metadata">

**Author:** ![dbirch](https://avatars.discourse-cdn.com/v4/letter/d/f19dbf/32.png) [@dbirch](https://forums.plex.tv/u/dbirch)\
**Post date:** [July 23, 2022, 2:46pm UTC](https://forums.plex.tv/t/tvdb-episode-detection/801762/4 "2022-07-23T14:46:59Z")

</div>

Can we get a screenshot of the actual files? Also check the file permissions and possibly do a library scan, wait 5 minutes after it finishes scanning and post your [server logs.](https://support.plex.tv/articles/200250417-plex-media-server-log-files/)

---

<div class="post-metadata">

**Author:** ![flumplover](https://avatars.discourse-cdn.com/v4/letter/f/9e8a1a/32.png) [@flumplover](https://forums.plex.tv/u/flumplover)\
**Post date:** [July 23, 2022, 3:52pm UTC](https://forums.plex.tv/t/tvdb-episode-detection/801762/5 "2022-07-23T15:52:41Z")

</div>

A screen shot of the library showing the files in plex?

I’ll check for any differences in permissions between the files detected by plex and those it didn’t detect.

Will then do a rescan and post the logs later

---

<div class="post-metadata">

**Author:** ![flumplover](https://avatars.discourse-cdn.com/v4/letter/f/9e8a1a/32.png) [@flumplover](https://forums.plex.tv/u/flumplover)\
**Post date:** [July 23, 2022, 4:07pm UTC](https://forums.plex.tv/t/tvdb-episode-detection/801762/6 "2022-07-23T16:07:28Z")

</div>

Problem solved for some reason the file sizes for the “missing files” are as 0 bytes.

Never even thought about checking the file sizes ☹

---

<div class="post-metadata">

**Author:** ![dbirch](https://avatars.discourse-cdn.com/v4/letter/d/f19dbf/32.png) [@dbirch](https://forums.plex.tv/u/dbirch)\
**Post date:** [July 23, 2022, 7:50pm UTC](https://forums.plex.tv/t/tvdb-episode-detection/801762/7 "2022-07-23T19:50:44Z")

</div>

> [@flumplover](#):
>
> A screen shot of the library showing the files in plex?

No I was asking for a screenshot of your file system showing the files. Often this can highlight slight typos in names that you dont notice, and may have shown your 0kb filesize issue.

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/plex/original/3X/2/a/2acb9765406f63293d357b4ec509ec39aa28f2ad.png) [@system](https://forums.plex.tv/u/system)\
**Post date:** [October 21, 2022, 7:51pm UTC](https://forums.plex.tv/t/tvdb-episode-detection/801762/8 "2022-10-21T19:51:35Z")

</div>

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.
