Page 1 of 1

Separating movies and collections

Posted: 28 Feb 2017, 15:46
by TrueTenacity
Hi there, new to this filebot app, I was using media companion but after it screwed up my media library something awful, never again.

Running the latest version on W10 x64

I'm trying to keep all the movie collections in one folder and the rest sorted into alpha folders.

I followed the forum posts and think this is right, but gives me a weird error instead of working...

Code: Select all

d:/Movies/{any{Collection}{"($y) $n.colon(" - ") ($vf)"}}/{n =~ /^(?i)[a-z]/ ? n[0] : '#'}/{n.colon(" - ")} ({vf}) ({y})

Re: Separating movies and collections

Posted: 28 Feb 2017, 16:53
by rednoah
TrueTenacity wrote:gives me a weird error instead of working...
Please take a screenshot. I'm curious what a weird error looks like. :lol:


This should be more or less the format you were thinking of:

Code: Select all

Movies/{az}/{any{collection}{plex[1]}}/{plex[2]} [{vf}]

Re: Separating movies and collections

Posted: 28 Feb 2017, 17:09
by TrueTenacity
I'm not much into coding so yeah, it's weird to me

Image

Re: Separating movies and collections

Posted: 28 Feb 2017, 17:22
by rednoah
Strictly speaking, bindings are case-sensitive.

I recommend using them as documented:
Image

Re: Separating movies and collections

Posted: 28 Feb 2017, 17:31
by TrueTenacity
Epic, working perfectly!

Thanks

Re: Separating movies and collections

Posted: 04 Jun 2017, 09:20
by TrueTenacity
Please can someone point out what I am doing wrong...

Code: Select all

d:/Movies/{az}/if({any{collection}{{plex[1]}){/{plex[1]}/{plex[2]} {- pi}[{vf}]}}} else {{/plex[1]}/{plex[2]}}}
I'm trying to use 2 different naming schemes depending on if the movie is in a collection or not.

I was using the naming scheme provided earlier, but it ends up with the movies all falling under the collection folder if in a collection and in a folder without a collection.

Re: Separating movies and collections

Posted: 04 Jun 2017, 14:00
by rednoah
1.
Use the Format Editor and start with something simple:

Code: Select all

any{collection/plex.name}{plex.tail}

2.
Your format has many issues. Please have a close look at the examples and documentation, and build your format step by step.

@see viewtopic.php?f=5&t=1895
@see viewtopic.php?f=5&t=4191
@see viewtopic.php?f=5&t=2

Re: Separating movies and collections

Posted: 17 Sep 2018, 23:26
by kim

Code: Select all

Movies/{any{'Movie Collections/'+collection+'/'+plex[1]+'/'+plex[2]} {az+'/'+plex[1]+'/'+plex[2]}} [{vf}]