Is it possible to automatically detect Marvel movies and put them in their own folder?

How-to guides, frequently asked questions, not-so-obvious features, etc
Post Reply
Creamcups
Posts: 2
Joined: 24 Aug 2018, 00:09

Is it possible to automatically detect Marvel movies and put them in their own folder?

Post by Creamcups » 24 Aug 2018, 00:16

My current expression is

Code: Select all

/{y}/{genre}/{n.replaceAll(":", replacement = " - ")} ({y})
Would it be possible to automatically place marvel movies in their own folder while still keeping other movies seperate?

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

Re: Is it possible to automatically detect Marvel movies and put them in their own folder?

Post by rednoah » 24 Aug 2018, 07:15

If you're lucky, and if TheMovieDB as full metadata on production companies, then this might work:

Code: Select all

{'Marvel Studios' in info.productionCompanies ? 'Marvel Movie' : 'Normal Movie'}
:idea: This one is tested with and works for at least Iron Man (2008). Not tested for any other Marvel movie, but it should probably mostly work.
:idea: Please read the FAQ and How to Request Help.

Creamcups
Posts: 2
Joined: 24 Aug 2018, 00:09

Re: Is it possible to automatically detect Marvel movies and put them in their own folder?

Post by Creamcups » 24 Aug 2018, 10:53

Works perfectly! Thank you!

Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests