Using {group} For Home Ripped Movies

All about user-defined episode / movie / file name format expressions
Post Reply
sadsack5000
Posts: 5
Joined: 14 Mar 2018, 06:25

Using {group} For Home Ripped Movies

Post by sadsack5000 »

Hi All,

Im currently using this:

Format: Select all

D:\Temp\3. Filebot Output\homemovies\{ plex.id.derive{ " {tmdb-$id}" } % { " {edition-$edition}" } % { " [$vs][$ac $channels][$vcf]" }}
To give this:

Code: Select all

D:/Temp/3. Filebot Output/homemovies/Movies/Angels & Demons (2009) {tmdb-13448}/Angels & Demons (2009) {tmdb-13448} [DVD-R][AC3 5.1][HEVC]
I need help to add the release group though. I read all the related forums and tried copy/pasting all sorts of examples but couldnt get what i needed to work.
My knowledge is complete beginner!!!

I'd like to:

1. Add the release group (if it exists) to the end
e.g.

Code: Select all

Angels & Demons (2009) {tmdb-13448}/Angels & Demons (2009) {tmdb-13448} [DVD-R][AC3 5.1][HEVC]-GROUPABC
2. I will be outputting my home rips from handbrake with -LOCAL on the end. If -LOCAL exists i would like to use this
e.g.

Code: Select all

Angels & Demons (2009) {tmdb-13448}/Angels & Demons (2009) {tmdb-13448} [DVD-R][AC3 5.1][HEVC]-LOCAL
3. If no group or no LOCAL leave the file without group
e.g.

Code: Select all

Angels & Demons (2009) {tmdb-13448}/Angels & Demons (2009) {tmdb-13448} [DVD-R][AC3 5.1][HEVC]
Help would be greatly appreciated!
Thankyou
User avatar
rednoah
The Source
Posts: 24318
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Using {group} For Home Ripped Movies

Post by rednoah »

Try this:

Format: Select all

D:\Temp\3. Filebot Output\homemovies\
{
	plex.id
	% { " {tmdb-$id}" }
	% { " {edition-$edition}" }
	% { " [$vs][$ac $channels][$vcf]" }
	% { fn.match(/[-][\w]+$/) }
}
:idea: Match information from the file path
:idea: Please read the FAQ and How to Request Help.
sadsack5000
Posts: 5
Joined: 14 Mar 2018, 06:25

Re: Using {group} For Home Ripped Movies

Post by sadsack5000 »

Wow! That was quick and effective, it seems to work well

Thankyou o wise one :D
Post Reply