Netflix, Amazon and Hulu Naming Scheme

All about user-defined episode / movie / file name format expressions
Post Reply
mouzzampk2014
Posts: 35
Joined: 07 Jan 2019, 00:49

Netflix, Amazon and Hulu Naming Scheme

Post by mouzzampk2014 »

Hiya, need your little help. I have this one setup

Code: Select all

{ny.colon(' - ')}/{ny} {tags} [{source}-{vf}] [{vc} {ac}]{"-[$group]"}
But I want to remove [ ] from tags and also add NF, AMZN, HULU if there is any.

Basically I am looking for something like that but also NF, AMZN and others

Code: Select all

The Movie Title (2010) Ultimate Extended Edition [Bluray-1080p] [x264 DTS]-EVOLVE
Thank you so much
User avatar
rednoah
The Source
Posts: 22974
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Netflix, Amazon and Hulu Naming Scheme

Post by rednoah »

1.
You can format the {tags} list yourself like so:

Code: Select all

{tags.join(', ')}
You can get the first tag like so:

Code: Select all

{tags[0]}

2.
You can keep arbitrary patterns from the original file name like so:

Code: Select all

{fn.match(/NF|AMZN|HULU/)}
:idea: Please read the FAQ and How to Request Help.
mouzzampk2014
Posts: 35
Joined: 07 Jan 2019, 00:49

Re: Netflix, Amazon and Hulu Naming Scheme

Post by mouzzampk2014 »

This is what I have now

Code: Select all

{ny.colon(' - ')}/{ny} {fn.match(/NF|AMZN|HULU/)} {tags[0]} [{source}-{vf}] [{vc} {ac}]{"-[$group]"}
1. Editions still wrapping around [ ] - Not sure how to fix it.
2. Working perfectly fine now

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

Re: Netflix, Amazon and Hulu Naming Scheme

Post by rednoah »

If by Editions you are referring to patterns matched by the tags binding, then there definitely won't be [...] surrounding the value. Include screenshots or logs to proof me wrong. ;)
:idea: Please read the FAQ and How to Request Help.
mouzzampk2014
Posts: 35
Joined: 07 Jan 2019, 00:49

Re: Netflix, Amazon and Hulu Naming Scheme

Post by mouzzampk2014 »

Hehe my mistake I didn't bind with proper media. You are as always great.

I am not sure but is it possible to make this one more shorter

Code: Select all

{ny.colon(' - ')}/{ny} {fn.match(/NF|AMZN|HULU/)} {tags[0]} [{source}-{vf}] [{vc} {ac}]{"-[$group]"}

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

Re: Netflix, Amazon and Hulu Naming Scheme

Post by rednoah »

Not really. I think it's pretty concise as it is.
:idea: Please read the FAQ and How to Request Help.
mouzzampk2014
Posts: 35
Joined: 07 Jan 2019, 00:49

Re: Netflix, Amazon and Hulu Naming Scheme

Post by mouzzampk2014 »

Thank you so much :)
Post Reply