Separating movies and collections

All about user-defined episode / movie format expressions
Post Reply
TrueTenacity
Posts: 8
Joined: 28 Feb 2017, 15:19

Separating movies and collections

Post by TrueTenacity » 28 Feb 2017, 15:46

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})

User avatar
rednoah
The Source
Posts: 15563
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Separating movies and collections

Post by rednoah » 28 Feb 2017, 16:53

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}]
:idea: Please read the FAQ and How to Request Help.

TrueTenacity
Posts: 8
Joined: 28 Feb 2017, 15:19

Re: Separating movies and collections

Post by TrueTenacity » 28 Feb 2017, 17:09

I'm not much into coding so yeah, it's weird to me

Image

User avatar
rednoah
The Source
Posts: 15563
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Separating movies and collections

Post by rednoah » 28 Feb 2017, 17:22

Strictly speaking, bindings are case-sensitive.

I recommend using them as documented:
Image
:idea: Please read the FAQ and How to Request Help.

TrueTenacity
Posts: 8
Joined: 28 Feb 2017, 15:19

Re: Separating movies and collections

Post by TrueTenacity » 28 Feb 2017, 17:31

Epic, working perfectly!

Thanks

TrueTenacity
Posts: 8
Joined: 28 Feb 2017, 15:19

Re: Separating movies and collections

Post by TrueTenacity » 04 Jun 2017, 09:20

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.

User avatar
rednoah
The Source
Posts: 15563
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Separating movies and collections

Post by rednoah » 04 Jun 2017, 14:00

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
:idea: Please read the FAQ and How to Request Help.

kim
Power User
Posts: 697
Joined: 15 May 2014, 16:17

Re: Separating movies and collections

Post by kim » 17 Sep 2018, 23:26

Code: Select all

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

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest