Jellyfin Forum
SOLVED: How To Remove Repeated Episodes? - Printable Version

+- Jellyfin Forum (https://forum.jellyfin.org)
+-- Forum: Support (https://forum.jellyfin.org/f-support)
+--- Forum: Troubleshooting (https://forum.jellyfin.org/f-troubleshooting)
+--- Thread: SOLVED: How To Remove Repeated Episodes? (/t-solved-how-to-remove-repeated-episodes)

Pages: 1 2


How To Remove Repeated Episodes? - Kiekan - 2024-11-02

Hello All,

I am in the process of re-organizing my media library. When re-adding everything back into Jellyfin, it mostly found the metadata and referenced the correct files without any issue.

Except on this one show. It keeps retaining the older file references, from how I had the files previously names (screenshots below). I did some searching and per the recommendation of a few others around the net, I have tried renaming the folder the files are contained (I'm sure that the files are using the proper Jellyfin naming scheme for season/episode name schemes per the Jellyfin documentation (pictures below).

This one show seems to refuse to refresh the metadata and remove the old episode listings. I have tried having Jellyfin scan all libraries and also tried having Jellyfin refresh the metadata on both this whole show and on the individual season. None of these functions seem to remove the older episode listings. This is the only show I have in my library that does this - everything else has the proper metadata. Is there any way to resolve this?

Repeated episodes:
[Image: 4hE6sHk.jpeg]

How the files are structured in my folder tree (each season's files is in an individual "Season 01" or "Season 02" folder):
[Image: f4RdUYY.jpeg]

For reference, I am running Jellyfin on Windows 11, using Jellyfin server 10.10.0

Thanks for any information that can be provided!


RE: How To Remove Repeated Episodes? - TheDreadPirate - 2024-11-02

Can you also include the full folder structure leading to The Guyver? (man, I haven't thought about this show in a long time)

And what metadata source is this library using?


RE: How To Remove Repeated Episodes? - Kiekan - 2024-11-02

Thanks for the reply. Is this the information you are looking for?

[Image: c0XiFCE.jpeg]

I believe it is pulling from AniDB as the primary source for the metadata:

[Image: kmeMRPH.jpeg]

I have the library settings configured to pull the metadata like this:

[Image: IMK7Ilf.jpeg]

Its strange because I am not having any other issues with other shows in this library. Just this one.

Quote:man, I haven't thought about this show in a long time

Haha. Right? I've been feeling very nostalgic as late and have been revisiting some shows from my youth. This happened to be part that.


RE: How To Remove Repeated Episodes? - TheDreadPirate - 2024-11-02

That AniDB ID doesn't match with the show. Try moving TMDB to be top priority and re-identify with TMDB ID 45264.


RE: How To Remove Repeated Episodes? - Kiekan - 2024-11-02

I tried what you suggested and it added a new listing for each of the episodes, rather than removing the old listings (even after refreshing the metadata for the show and doing a full library rescan - and telling Jellyfin to replace all current metadata).

[Image: IG0kRv5.jpeg]


RE: How To Remove Repeated Episodes? - TheDreadPirate - 2024-11-03

Try moving the folder out of your library, rescan to remove it, change the folder name to "The Guyver [tmdbid-45264]", move it back into your library, rescan to re-add.


RE: How To Remove Repeated Episodes? - Kiekan - 2024-11-03

I tried removing the folder from the Anime subfolder I have on the drive completely. When I rescan the library, it isn't removing the show from the library.

I had to remove the subfolder from the associated folders listed with the library settings completely to get it to remove the show.

When I re-added the show with the recommended folder name, it resulted in the same thing: not removing the previous entries, but added a new listing for each show.

Could this pinpoint to any error? Is there a log I can pull to help pinpoint why this is happening?

Because of where I have files stored in my system, I have multiple subdirectories within my Anime folder added as a separate folder association in the Library settings (see the picture below - I did this because I do not wont everything within this directory to be indexed by Jellyfin). Could this be tied to what is causing problems (does Jellyfin struggle when there are too many folders added, for example)? If so, would it be worthwhile to re-organize this subfolder and just have Jellyfin associated with the root of the Anime folder?

[Image: UweVcAh.jpeg]

Appreciate all your help on this issue.


RE: How To Remove Repeated Episodes? - TheDreadPirate - 2024-11-03

This way of adding folders is 100% problematic and is almost certainly part of, if not the, problem. If you have folder in the Anime directory that you don't want added to Jellyfin, we have a mechanism to "ignore" folders.

https://jellyfin.org/docs/general/server/media/excluding-directory/

Add an empty .ignore file in the directory you do not want added.


RE: How To Remove Repeated Episodes? - Kiekan - 2024-11-04

I went ahead and rebuilt the whole library (after restructuring the folders on the HDD). I now have this Jellyfin library pointing to a single "Anime" folder that houses all of the shows within, just like I do with my other Jellyfin libraries (Movies, Live Action shows, etc). This resolved the issue with the repeated Guyver issues. Thanks for helping me find the cause. I will go ahead and mark this issue as solved.

Just out of curiosity, so I have a better understanding of what is happening under the hood, why does adding multiple folders to the library cause this? Does the database just get confused?


RE: How To Remove Repeated Episodes? - TheDreadPirate - 2024-11-04

The folder name is part of what is used to help identify a show/movie. Unless it is a library "root" folder, which is what happens when you add the show folder directly to the library configuration.