Page 1 of 1

Change Output to One Common Folder

Posted: 20 Dec 2024, 15:57
by spetrillo
Hello all,

I am using the following command line to manipulate my videos:

Shell: Select all

filebot -script 'fn:amc' '/volume2/Media Files/Media Files/Torrents' --output '/volume2/Media Files/Media Files/Transcode/Pre' --action TEST -non-strict --order Airdate --conflict auto --lang en --def 'unsorted=y' 'clean=y' 'deleteAfterExtract=y' 'minLengthMS=0' 'minFileSize=0' 'excludeList=amcexcl.txt' --apply thumbnail refresh --log all --log-file '/var/packages/filebot-node/var/filebot.log'
All I would like to change is the output, so that all manipulated videos go into a common folder. I do not want to have individual folders for each show or movie. This will allow me to automate the transcoding of the videos. I cannot seem to see what I need to change.

Thanks,
Steve

Re: Change Output to One Common Folder

Posted: 21 Dec 2024, 04:52
by rednoah
:idea: The amc script uses the {plex.id} format by default. Separating movies and TV shows is extremely important. Separating each movie and TV series into its own movie / series folder is equally important.


:arrow: That said, your format, your rules. You can use {plex.name} as your format for each content type. If your format only generates a file name, then that file will go directly into your --output folder. Please read the Change how files will be organized and renamed section for details.


e.g. if you want to put all your files into the --output folder:

Shell: Select all

--def movieFormat="{ plex.name }" seriesFormat="{ plex.name }" animeFormat="{ plex.name }"

e.g. if you just mean to remove the top-level Movies / TV Shows folder but otherwise want to keep the {plex.id} format folder structure:

Shell: Select all

--def movieFormat="{ ~plex.id }" seriesFormat="{ ~plex.id }" animeFormat="{ ~plex.id }"

:idea: If you are using the FileBot Node WebUI, please read the FileBot Node Reference Manual › Format Options section as well.


:idea: Also, if you want to automate the transcoding of videos, presumably by calling ffmpeg on each media file after processing, then you may prefer to use the --def exec parameter.