Movie Format Being Ignored

Running FileBot from the console, Groovy scripting, shell scripts, etc
Post Reply
nekromantik
Posts: 22
Joined: 13 Jul 2015, 21:25

Movie Format Being Ignored

Post by nekromantik »

Hi
I got Filebot installed on my NAS and it works mostly but I added custom Movie format so that it creates folders with movie name if the original file was not in its own folder.
However it only uses Series format and ignores movies. Will this still work for movies which already have a folder or will it create duplicate folders?
Here is the code:

Code: Select all

filebot.sh -script fn:amc --output "/volume1/Stuff" --log-file amc.log --action move --conflict override -non-strict --def music=n artwork=n "seriesFormat=/volume1/Stuff/TV/{n}/{episode.special ?  'S00E'+special.pad(2) : s00e00} - {t}"  "movieFormat=/volume1/Stuff/Movies/{n} {y}/{n} ({y}) {sdhd}"
'
User avatar
rednoah
The Source
Posts: 22998
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Movie Format Being Ignored

Post by rednoah »

Log?
:idea: Please read the FAQ and How to Request Help.
nekromantik
Posts: 22
Joined: 13 Jul 2015, 21:25

Re: Movie Format Being Ignored

Post by nekromantik »

If you mean exec log:
Parameter: seriesFormat = /volume1/Stuff/TV/{n}/{episode.special ? 'Special' : 'Season '+s}/{n} - {episode.special ? 'S00E'+special.pad(2) : s00e00} - {t}
Parameter: movieFormat = /volume1/Stuff/Movies/{n} ({y}) {sdhd}
Parameter: ut_dir = /volume1/Stuff/downloads/Unfriended.mp4
Parameter: ut_kind = multi
Parameter: ut_title = Unfriended.mp4
Parameter: ut_label =
Parameter: excludeList = amc.txt
Using excludes: /volume1/Stuff/amc.txt (99)
Input: /volume1/Stuff/downloads/Unfriended.mp4
Unfriended.mp4 [series: null, movie: Unfriended (2015)]
Group: [tvs:null, mov:unfriended 2015, anime:null] => [Unfriended.mp4]
Rename movies using [TheMovieDB]
Auto-detect movie from context: [/volume1/Stuff/downloads/Unfriended.mp4]
[MOVE] Rename [/volume1/Stuff/downloads/Unfriended.mp4] to [/volume1/Stuff/Movies/Unfriended (2015).mp4]
Processed 1 files
Done ヾ(@⌒ー⌒@)ノ
User avatar
rednoah
The Source
Posts: 22998
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Movie Format Being Ignored

Post by rednoah »

Your movieFormat clearly works because of /volume1/Stuff/... but the {sdhd} binding doesn't seem to be working.

@see Q: Why is MediaInfo not working?
:idea: Please read the FAQ and How to Request Help.
nekromantik
Posts: 22
Joined: 13 Jul 2015, 21:25

Re: Movie Format Being Ignored

Post by nekromantik »

Thanks
How do I let it only create a folder for a movie if folder does not exist?
User avatar
rednoah
The Source
Posts: 22998
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Movie Format Being Ignored

Post by rednoah »

If you want a movie folder, specify a folder in the format:

Code: Select all

/volume1/Stuff/Movies/{n} ({y})/{n} ({y}) {sdhd}
You can check if a certain folder exists in your format, but that's about it. You can't mess with the processing flow form within the format.
:idea: Please read the FAQ and How to Request Help.
nekromantik
Posts: 22
Joined: 13 Jul 2015, 21:25

Re: Movie Format Being Ignored

Post by nekromantik »

thanks
Post Reply