Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tag Support #35

Closed
hackmonker opened this issue Feb 13, 2022 · 6 comments
Closed

Tag Support #35

hackmonker opened this issue Feb 13, 2022 · 6 comments

Comments

@hackmonker
Copy link

hackmonker commented Feb 13, 2022

I use tags a lot so really hope you would support tags in case sonarr support is added. rn I use mediarr for sonarr but it does not support tags so really hope you support it.

Also is this supported in exclude?

'"animation" in Genres || "anime" in Genres'

@hackmonker
Copy link
Author

Ah I just saw it is only filtering based on ratings. hope genre and other filters like ratings are also supported in future

@lightglitch
Copy link
Owner

I think I can add new filtering options, I will check what can we add

@neo-neo1
Copy link

Tag support would indeed be useful to have. Thanks

@lightglitch
Copy link
Owner

Actually we already support Genre and Language in the rules. They are both a list of tags based on the OMDB information.
And you can use it like:

'"Comedy" in Genre && "Animation" not in Genre'

The case is the same for Language

'"English" in Language

@neo-neo1
Copy link

neo-neo1 commented Feb 14, 2022

Actually we already support Genre and Language in the rules. They are both a list of tags based on the OMDB information. And you can use it like:

'"Comedy" in Genre && "Animation" not in Genre'

The case is the same for Language

'"English" in Language

Nice to know. Is there a complete listing of syntax and usable options? I don’t see a mention of this in the readme and now I’m wondering what else I’m missing and unaware of. Thanks!

@lightglitch
Copy link
Owner

The syntax to use for rules is in the documentation of the engine that we use: github.com/antonmedv/expr

The variables that you can use are in the ListItem definition:

type ListItem struct {

Don't know if this a bit to technical for you but I can improve the docs later.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants