Page 1 of 1

Netflix, Amazon and Hulu Naming Scheme

Posted: 18 Oct 2019, 23:10
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

Re: Netflix, Amazon and Hulu Naming Scheme

Posted: 19 Oct 2019, 02:37
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/)}

Re: Netflix, Amazon and Hulu Naming Scheme

Posted: 19 Oct 2019, 08:09
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

Re: Netflix, Amazon and Hulu Naming Scheme

Posted: 19 Oct 2019, 15:29
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. ;)

Re: Netflix, Amazon and Hulu Naming Scheme

Posted: 19 Oct 2019, 19:30
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

Re: Netflix, Amazon and Hulu Naming Scheme

Posted: 20 Oct 2019, 01:27
by rednoah
Not really. I think it's pretty concise as it is.

Re: Netflix, Amazon and Hulu Naming Scheme

Posted: 20 Oct 2019, 07:07
by mouzzampk2014
Thank you so much :)