Jellyfin Forum
TV Shows directory structure - 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: TV Shows directory structure (/t-tv-shows-directory-structure)



TV Shows directory structure - cloaked1 - 2023-11-29

I have three libraries defined in jellyfin: Movies, TV shows, and Internet Media

I have my own method of sorting videos into these folders. For movies, jellyfin is great about automatically detecting the media and grabbing metadata. Internet media is not automatically scanned. I'm struggling with the TV shows library though. It seems that JF wants to be prescriptive about where to place the metadata in conjunction to the media files.

My Movie library follows the following directory structure: /path/to/media/<rating>/<year>/<movie title>/files

and again, that works great!

My TV Show library follows the same structure: /path/to/tv-media/<rating>/<year>/<tv title>/<season>/files

This is where things get wonky. JF wants to store metadata in /path/to/tv-media/
<rating> namely files such as:

Code:
at 16:39:32 ❯ ls -altr
drwxrwxr-x jellyfin jellyfin  3 B  Tue Nov 28 15:37:02 2023  2017-
drwxr-xr-x jellyfin jellyfin  5 B  Tue Nov 28 15:41:10 2023  ..
drwxrwxr-x jellyfin jellyfin  8 B  Tue Nov 28 16:27:36 2023  2012-2014
drwxrwxr-x jellyfin jellyfin  10 B  Tue Nov 28 16:31:36 2023  .
drwxr-xr-x jellyfin jellyfin  4 B  Tue Nov 28 16:31:37 2023  2018
.rw-r--r-- jellyfin jellyfin  85 KB Tue Nov 28 16:31:34 2023  folder.jpg
.rw-r--r-- jellyfin jellyfin  21 KB Tue Nov 28 16:31:35 2023  banner.jpg
.rw-r--r-- jellyfin jellyfin  82 KB Tue Nov 28 16:31:35 2023  backdrop.jpg
.rw-r--r-- jellyfin jellyfin  52 KB Tue Nov 28 16:31:36 2023  logo.png
.rw-r--r-- jellyfin jellyfin 3.3 KB Tue Nov 28 16:34:15 2023  tvshow.nfo

...when where I was hoping it would put it is in /path/to/tv-media/
<rating>/<year>/<tv title>`

For obvious reasons, this sucks and is unfortunate because JF is placing metadata in this location which is only relevant to one title in this directory containing several shows.

Now if I need to restructure my directory then that's fine, but I need to know what structure to use, however, I will be a little upset if <year> isn't part of the structure.

- J


RE: TV Shows directory structure - FireSale - 2023-11-29

Here's a potential directory structure that might work:

/path/to/tv-media/<rating>/<tv title>/<year>/<season>/files

This structure maintains the essence of your current organization while slightly adjusting the placement of the year within the TV show's directory. By including the year within the TV title directory, you retain the year information but align more closely with Jellyfin's expected metadata placement for TV shows.


RE: TV Shows directory structure - cloaked1 - 2023-11-29

(2023-11-29, 01:13 AM)FireSale Wrote: Here's a potential directory structure that might work:

/path/to/tv-media/<rating>/<tv title>/<year>/<season>/files

This structure maintains the essence of your current organization while slightly adjusting the placement of the year within the TV show's directory. By including the year within the TV title directory, you retain the year information but align more closely with Jellyfin's expected metadata placement for TV shows.

I'll give this a shot. Thank you.


RE: TV Shows directory structure - cloaked1 - 2023-11-30

This appears to be a working solution. I'm not 100% pleased with that format, but I will just let it go for now. thank you @FireSale


RE: TV Shows directory structure - cloaked1 - 2023-11-30

(2023-11-29, 01:13 AM)FireSale Wrote: Here's a potential directory structure that might work:

/path/to/tv-media/<rating>/<tv title>/<year>/<season>/files

This structure maintains the essence of your current organization while slightly adjusting the placement of the year within the TV show's directory. By including the year within the TV title directory, you retain the year information but align more closely with Jellyfin's expected metadata placement for TV shows.

(2023-11-30, 12:14 AM)cloaked1 Wrote: This appears to be a working solution. I'm not 100% pleased with that format, but I will just let it go for now. thank you @FireSale

I take it back, @FireSale. This didn't work at all. I thought it did, but I was unfortunately wrong. It seems like having the year in the directory structure may be the thing that messes up the indexing. If this is true, this is deeply disappointing. More specifically, it seems like placing several shows in the same year is problematic:

   

directory structure (just indexed):
Code:
at 21:15:09 ❯ ls -ltr
drwxr-xr-x jellyfin jellyfin  4 B  Wed Nov 29 16:08:40 2023  'The Looming Tower'
drwxrwxr-x jellyfin jellyfin  4 B  Wed Nov 29 16:08:40 2023  'The Handmaids Tale'
drwxrwxr-x jellyfin jellyfin  8 B  Wed Nov 29 21:12:14 2023  'The Newsroom'
drwxrwxr-x jellyfin jellyfin  4 B  Wed Nov 29 21:12:52 2023  'Star Trek: Picard'
.rw-r--r-- jellyfin jellyfin  85 KB Wed Nov 29 16:08:39 2023  folder.jpg
.rw-r--r-- jellyfin jellyfin  21 KB Wed Nov 29 16:08:39 2023  banner.jpg
.rw-r--r-- jellyfin jellyfin  82 KB Wed Nov 29 16:08:39 2023  backdrop.jpg
.rw-r--r-- jellyfin jellyfin  52 KB Wed Nov 29 16:08:40 2023  logo.png
.rw-r--r-- jellyfin jellyfin 3.3 KB Wed Nov 29 21:14:23 2023  tvshow.nfo

If anyone else can offer some advice, it would be deeply appreciated.


RE: TV Shows directory structure - cloaked1 - 2023-12-04

Finally found: https://jellyfin.org/docs/general/server/media/shows/