Add more Tags Please

All your suggestions, requests and ideas for future development
Post Reply
cyberdoggy
Posts: 22
Joined: 03 Sep 2016, 21:27

Add more Tags Please

Post by cyberdoggy » 28 May 2018, 12:05

It would be really cool in future releases if you could add more tags such as...

Code: Select all

Extended.Cut|Extended|Expanded|Theatrical.Cut|Uncensored|Remastered|Unrated|Uncut|Directors.Cut|Diamond.Edition|Anniversary.Edition|Collectors.Edition|10th.Anniversary.Edition|20th.Anniversary.Edition|25th.Anniversary.Edition|30th.Anniversary.Edition|40th.Anniversary.Edition|50th.Anniversary.Edition|60th.Anniversary.Edition|70th.Anniversary.Edition|75th.Anniversary.Edition|Special.Edition
I know some of them are there already like the extended cut but the Diamond Edition Disneys would be cool! ;)

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

Re: Add more Tags Please

Post by rednoah » 28 May 2018, 12:09

Some of these tags seem oddly specific and seem to apply to only one single specific movie. Among the tags you have proposed, are there any common ones that you see repeatedly?

I'm not inclined to add the the ones that are unique to one specific movie, but you can always match those using String.match(/.../) with your custom pattern.
:idea: Please read the FAQ and How to Request Help.

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

Re: Add more Tags Please

Post by kim » 28 May 2018, 18:26

maybe add

Code: Select all

\d\dth.Anniversary.Edition
a number of diff. movies has this

and "Expanded" ...few has this, but I don't see why not on list... IF locked with Edition

most of the rest are on the list

Code: Select all

# patterns for all video tags
pattern.video.tags: (Extended.|Ultimate.)?(Director.?s|Collector.?s|Theatrical|Ultimate|Final|Extended|Rogue|Special|Despecialized|R.Rated).(Cut|Edition|Version)|Extended|Remastered|Recut|Uncut|Uncensored|Unrated|IMAX

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

Re: Add more Tags Please

Post by rednoah » 29 May 2018, 05:22

Makes sense. I've added the [00th Anniversary Edition, Diamond Edition] patterns to {tags} for the next release.
:idea: Please read the FAQ and How to Request Help.

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

Re: Add more Tags Please

Post by kim » 29 May 2018, 18:16

I think there is an error ?
no ?

Code: Select all

(\\d+th.)?Anniversary
yes ?

Code: Select all

(\d\d+th.)?Anniversary

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

Re: Add more Tags Please

Post by rednoah » 30 May 2018, 05:14

Java Property files interpret \x in special ways, so \\d means \d as far as the actual value is concerned.

\d+ will match anything from 0..99999999 which is fine for me. I don't think I have to limit it to 2 digits here.
:idea: Please read the FAQ and How to Request Help.

TonySoprano
Posts: 2
Joined: 01 Jul 2018, 05:53

Re: Add more Tags Please

Post by TonySoprano » 01 Jul 2018, 08:13

is {tags} broken?

Code: Select all

Binding "tags": undefined

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

Re: Add more Tags Please

Post by rednoah » 01 Jul 2018, 08:21

Not that I know of. What's the full file path of the file where {tags} doesn't yield a value? What value(s) did you expect for this file?
:idea: Please read the FAQ and How to Request Help.

TonySoprano
Posts: 2
Joined: 01 Jul 2018, 05:53

Re: Add more Tags Please

Post by TonySoprano » 01 Jul 2018, 08:33

it was a file with a DC tag, i overlooked the fact that {tags} doesnt has DC ?

Is there a list of all the values that is included in {tags} ? Or can we create our own list?

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

Re: Add more Tags Please

Post by rednoah » 01 Jul 2018, 08:51

1.
Abbreviations such as DC are indeed not on the list. The current {tags} pattern is this:

Code: Select all

(Extended.|Ultimate.)?(Director.?s|Collector.?s|Theatrical|Ultimate|Final|Extended|Rogue|Special|Diamond|Despecialized|R.Rated|(\\d+th.)?Anniversary).(Cut|Edition|Version)|Extended|Remastered|Recut|Uncut|Uncensored|Unrated|IMAX

2.
You can't change how {tags} works, but you can do anything in your custom format, such as matching custom patterns.

e.g. match "DC" from the filename:

Code: Select all

fn.match(/DC/)
e.g. match any regex pattern:

Code: Select all

fn.match(/Recut|Uncut|Uncensored|Unrated/)
:idea: Please read the FAQ and How to Request Help.

Post Reply

Who is online

Users browsing this forum: No registered users and 4 guests