Add Tag Rules

Any ideas about how to improve EazyFlixPix? Let us know!
PenDrag0n
Posts: 39
Joined: Wed Sep 12, 2018 8:14 am

Add Tag Rules

Postby PenDrag0n » Thu Oct 18, 2018 8:44 am

I was hopping there was a way to more intelligently way assign tags base on Rules.
(ideal i just what to be able to add multiple tag base on just one keyword
so if this is to hard to implement then i will be happy with just matching file name to tag group
where if a file name matches tag group name then add all the tags to that group XD)


Commands that are used to build rules:
1. Conatins Cmd assing tag if a FileName/FilePath contains keyword or string
conatins($FileName,"<String>")

2. Matches cmd use regex to match FileName/FilePath to a tag
matches($FileName,"<regex>")

3. If a file has a specific tag assigned to it then it also get this tag
hasTag("<tagName>")

Operators used to combine commands:
|| = or operator
&& = and Operator

Keywords are used to identify what to look at
$FileName = look at just the name of all the files
$FilePath= look at the full path of all the file
$Title = look at the file title

How users can build a rule.
This example where if the file path contains the word marvel the it gets the marvel tag
Tag: Marvel
Rule: conatins($FilePath,"Marvel")

This is an example of tag Inheritance, where file that have the "Marvel" or "DC" tag can also get the superhero tag
Tag: SuperHero
Rule: hasTag("Marvel") || hasTag("DC")

Tag: Action
Rule: hasTag("Marvel") || conatins($FilePath,"Action")

This is an example of a simple regex if it contains 720p or 1080p
Tag: HD
Rule: matches($FileName,"720p|1080p")

Tag: 4k
Rule: matches($FileName ,"4k|2160p")
Last edited by PenDrag0n on Fri Oct 19, 2018 9:00 am, edited 2 times in total.

User avatar
admineazymojo
Site Admin
Posts: 1022
Joined: Wed Jan 02, 2013 9:36 pm
Contact:

Re: Add Tag Rules

Postby admineazymojo » Thu Oct 18, 2018 2:03 pm

I like this idea...I'll add it to my ToDo list

User avatar
admineazymojo
Site Admin
Posts: 1022
Joined: Wed Jan 02, 2013 9:36 pm
Contact:

Re: Add Tag Rules

Postby admineazymojo » Mon Nov 05, 2018 4:02 am

Added in v4.6.0

User avatar
cheltorn
Posts: 11
Joined: Sun Feb 04, 2018 10:48 am

Re: Add Tag Rules

Postby cheltorn » Mon Nov 05, 2018 9:30 am

This is a very nice function!

PenDrag0n
Posts: 39
Joined: Wed Sep 12, 2018 8:14 am

Re: Add Tag Rules

Postby PenDrag0n » Tue Nov 06, 2018 12:56 am

admineazymojo wrote:Added in v4.6.0

Fantastic, it works and look great,

Just wondering will it be possible to add an import and export tag rules feature (maybe as json or what ever is easiest)
since i'm probably going to bee adding in 100's of rules.

User avatar
admineazymojo
Site Admin
Posts: 1022
Joined: Wed Jan 02, 2013 9:36 pm
Contact:

Re: Add Tag Rules

Postby admineazymojo » Thu Nov 08, 2018 3:58 am

PenDrag0n wrote:Just wondering will it be possible to add an import and export tag rules feature (maybe as json or what ever is easiest)
since i'm probably going to bee adding in 100's of rules.


Added to the v4.6.1 BETA, you can test it here: viewtopic.php?f=14&p=2949#p2949

PenDrag0n
Posts: 39
Joined: Wed Sep 12, 2018 8:14 am

Re: Add Tag Rules

Postby PenDrag0n » Tue Dec 04, 2018 8:49 am

admineazymojo wrote:Added in v4.6.0

Love the Tag Rules feature, being using it a lot, just had one minor improvement.
which is to be able to deploy a tag Rule from the right click menu.
so if you Right Click ->Tag -> Tag rules -> *list of existing rules* Plus one to Add All Tag rules

User avatar
admineazymojo
Site Admin
Posts: 1022
Joined: Wed Jan 02, 2013 9:36 pm
Contact:

Re: Add Tag Rules

Postby admineazymojo » Tue Dec 04, 2018 4:59 pm

PenDrag0n wrote:Love the Tag Rules feature, being using it a lot, just had one minor improvement.
which is to be able to deploy a tag Rule from the right click menu.
so if you Right Click ->Tag -> Tag rules -> *list of existing rules* Plus one to Add All Tag rules

The way it's built right now requires the Tag Rules interface. Not necessarily the UI, but behind the scenes there are some things that get initialized when you open the Tag Rules window and select a rule.

It can be done, but it would take a bit of work to do.

PenDrag0n
Posts: 39
Joined: Wed Sep 12, 2018 8:14 am

Re: Add Tag Rules

Postby PenDrag0n » Wed Dec 05, 2018 2:33 am

admineazymojo wrote:
PenDrag0n wrote:Love the Tag Rules feature, being using it a lot, just had one minor improvement.
which is to be able to deploy a tag Rule from the right click menu.
so if you Right Click ->Tag -> Tag rules -> *list of existing rules* Plus one to Add All Tag rules

The way it's built right now requires the Tag Rules interface. Not necessarily the UI, but behind the scenes there are some things that get initialized when you open the Tag Rules window and select a rule.

It can be done, but it would take a bit of work to do.


I see, well it not high priority, the reason i ask was, because i was using Tag Rules to tag a whole lot of comic books, which resulted in 7000+ images being tag, I worked well took about 10min to run, though it ran into issues, when it was loading all 7000+ links in the preview, so i had to quickly hit the add tags button before it could load.

I have a few other suggestion on how to handle comic books, which i'll leave for a later post. since comic books in EZ look so amazing


Return to “EazyFlixPix Wishlist”

Who is online

Users browsing this forum: No registered users and 2 guests