JCH.H
Well-Known Member
- Joined
- Jul 27, 2021
- Messages
- 380
- Likes
- 316
But for those who are using any stream for TV series, how are you naming the files so Plex automatically organizes the show into proper season / episode?
I use FileBot and you're welcome to use my formatting (you will have to change the initial file path to suit your situation:
TV:
/Volumes/media/TV Shows/{ny}/Season {(episode.season ? s : 00).pad(2)}/{ny} - {s00e00}
- {fn.match(/\[prime\]/) ? " [Amazon]":""}{fn.match(/\[disney\]/) ? " [Disney]":""}{fn.match(/\[netflix\]/) ? " [Netflix]":""}
{hd.matches(/SD/) ? " [SD]":""}{vf.matches(/720p/) ? " [HD]":""}{vf.matches(/1080p/) ? " [FHD]":""}
{resolution.matches(/1280x720|720x576|1920x1080/) ? "":" [$resolution]"}
{" [$af$ac]"}
{" - $t"}
Film:- {fn.match(/\[prime\]/) ? " [Amazon]":""}{fn.match(/\[disney\]/) ? " [Disney]":""}{fn.match(/\[netflix\]/) ? " [Netflix]":""}
{hd.matches(/SD/) ? " [SD]":""}{vf.matches(/720p/) ? " [HD]":""}{vf.matches(/1080p/) ? " [FHD]":""}
{resolution.matches(/1280x720|720x576|1920x1080/) ? "":" [$resolution]"}
{" [$af$ac]"}
{" - $t"}
/Volumes/media/film/
{n =~ /^\d/ ? '0-9' : n.replaceFirst(/(?i)(The |A |An |)(.).*/, /$2/)}/{ny}
{fn.match(/\[prime\]/) ? " [Amazon]":""}{fn.match(/\[disney\]/) ? " [Disney]":""}{fn.match(/\[netflix\]/) ? " [Netflix]":""}
{hd.matches(/SD/) ? " [SD]":""}{vf.matches(/720p/) ? " [HD]":""}{vf.matches(/1080p/) ? " [FHD]":""}
{resolution.matches(/1280x720|720x576|1920x1080/) ? "":" [$resolution]"}
{" [$af$ac]"}
{n =~ /^\d/ ? '0-9' : n.replaceFirst(/(?i)(The |A |An |)(.).*/, /$2/)}/{ny}
{fn.match(/\[prime\]/) ? " [Amazon]":""}{fn.match(/\[disney\]/) ? " [Disney]":""}{fn.match(/\[netflix\]/) ? " [Netflix]":""}
{hd.matches(/SD/) ? " [SD]":""}{vf.matches(/720p/) ? " [HD]":""}{vf.matches(/1080p/) ? " [FHD]":""}
{resolution.matches(/1280x720|720x576|1920x1080/) ? "":" [$resolution]"}
{" [$af$ac]"}
Note:
- this is predicated on saving AS files as follows:
TV: [%p] %n - s%se%e - %t
Film: [%p] %t
Film: [%p] %t
- This does save TV into season folders which @DQ has just mentioned is no longer necessary.
- It places film into folders [0,a-z] and ignoring any definite/indefinite articles so, "The xxx", would be filed under "/x/The xxx" I find makes it easier for me to find things whilst still working for Plex.