Jellyfin Forum
Scanning subdirectories, but ignore the directory itself - Printable Version

+- Jellyfin Forum (https://forum.jellyfin.org)
+-- Forum: Support (https://forum.jellyfin.org/f-support)
+--- Forum: General Questions (https://forum.jellyfin.org/f-general-questions)
+--- Thread: Scanning subdirectories, but ignore the directory itself (/t-scanning-subdirectories-but-ignore-the-directory-itself)



Scanning subdirectories, but ignore the directory itself - YamiYukiSenpai - 2023-09-08

I'll make an example here.

In my TV shows folder, I created primary directory called "DC", and inside are DC shows that I have.

Current situation: if I leave it as is, it thinks that the "DC" directory is DC's Legends of Tomorrow, and everything else inside are just "seasons", or something.

What I want is for Jellyfin to treat everything inside the "DC" directory as the show, and ignore the primary directory.

Is there a way, other than putting ".ignore" file in DC, and creating a whole new library?


RE: Scanning subdirectories, but ignore the directory itself - TheDreadPirate - 2023-09-08

Nesting your library into sub-folders is not recommended. Jellyfin is not a file manager and does not ignore folder names.

https://forum.jellyfin.org/t-solved-missing-seasons-in-series


RE: Scanning subdirectories, but ignore the directory itself - nooobieee - 2023-09-08

I tried adding each "grouping" as a folder in the library. It worked, but greatly slowed down the scanning process.


RE: Scanning subdirectories, but ignore the directory itself - JRPGod - 2023-09-10

To achieve the desired effect you are after, where you can nest your content in folders like so (as an example):

Base Library -> DC -> Shows -> Legends of Tomorrow
Base Library -> DC -> Shows -> > Titans
Base Library -> DC -> Movies -> Dark Knight
Base Library -> Disney -> Movies -> Toy Story 2
Base Library -> Disney -> TV Shows -> Hercules TV series
etc.

You need to use the mixed library type. I can personally confirm that this works ALMOST perfectly, but there is one small caveat, you must not use numbers in the titles of your movies. For example, instead of "Toy Story 2", you must name it (and the folder it is, if you nest it in a folder as well) "Toy Story II" elsewise it will detect the movie as a TV series and cause all sorts of headaches.

This is how I have both my kids and anime libraries, and once you get the hang of it, it works like a treat and provides far more flexibility over organising content how YOU want than the TV Shows or Movies content type can allow.

If this is confusing because I haven't explained it the best let me know and I can try to elaborate.

It's also worth noting that the devs have consistently expressed their displeasure with the Mixed Content library type and are intending to overhaul the entire system when the database rewrite finally drops, so there's no saying how future-proof this system is - Although technically speaking, from the conversations I've had with them, their desire is to fix it so that this sort of functionality becomes easier and more supported, and SHOULD in theory work out of the box with the database rewrite.


RE: Scanning subdirectories, but ignore the directory itself - YamiYukiSenpai - 2023-09-10

Say my Anime is a mixed of Shows and Movies

Bleach, for some reason, isn't acting the way it should be.

Right now, my Bleach directory is formatted as:
/Videos/Anime/Bleach/Season <#> <arc title>

Jellyfin, however, treats Bleach as if it's just a directory and each "season" is its own show, with only 1 season

Any idea how I can fix that?


RE: Scanning subdirectories, but ignore the directory itself - JRPGod - 2023-09-10

I just checked my collection, and for some reason I don't have Bleach (!!wtf) but there could be a few reasons for this.

1: First off, are you using TheTVDB or TheMovieDB to scrape it? I find TheTVDB to be much better for anime, for example if you look up Bleach on both of those websites, TheTVDB lists it correctly as a show with 17 seasons, but TheMovieDB lists it as only a two season show where Season 1 is 366 episodes, and then season two is the Thousand-Year Blood War.

2: Another issue that can occur with some anime in mixed content libraries (occurs in TV type as well *I ASSUME* but can't be sure), is that they're numbered differently (Dragon Ball and Naruto do this), where say if there is 26 episodes in season 1, instead of Season 2 being S02E01, it is actually Episode 27. It doesn't look like this is what's happening here with Bleach, but just for posterity: When this occur, goes into the settings menu of the Show, and change the Airing Order to Absolute.

3: The other possibility is that having the Arc titles in the season folders is causing it scrape as a show over and over. To test this you'd have to remove the folder from the library being monitored, remove the arc titles from the seasons, then try dropping it back in and seeing if it works.

My guess is on some funkiness with TheMovieDB and only listing it as a two season show, though, which is somewhat causing the third issue as well. Try TVDB if you haven't already (it has to be downloaded as a plugin now, but is well worth it for Anime).