# Filters

Filters are way you can control how your requests get handled. Think of it like another layer of automation on top of Radarr/Sonarr.&#x20;

Let's say you like to separate your media based on age rating, either you have kids or know someone with kids. Filters allow you to be granular about where requested "kid content" gets placed including Radarr/Sonarr server (if you have multiple ones configured), path, and/or tag. You can use the available operands `AND`/`OR`to determine how many things must be evaluated true before Petio sends the request to Sonarr/Radarr with the specified paths, profile, and/or tags.

Filters can be used with age ratings, genre, language, and keywords! We hope to revamp filters in the future so stay tuned!&#x20;

For those of you using `AND`/`OR` operands for the first time I'll provide a quick explanation of each. Any one of the `OR` conditions can trigger a match whereas an `AND` operator must always be true for the entire filter to match. Most of the time, you want to use `OR` instead of `AND` otherwise, you'll stare at your screen wondering why it isn't working. If you have questions how to configure filters, please stop by our [Discord](https://discord.gg/bseGmrUd3N) and ask some questions!

### Age Ratings Filter Example

![](https://1035527593-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MWo9pUWfgX7wVD6UyHV%2F-MWqiDtNDruOOQhnNyi5%2F-MWqkqZqiZNHHjOwHg06%2Ffilter_kids.png?alt=media\&token=78225816-1b57-49f4-87bf-01c87a1998af)

![](https://1035527593-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MWo9pUWfgX7wVD6UyHV%2F-MWqiDtNDruOOQhnNyi5%2F-MWqkpq_k580pE6tqi46%2Ffilter_adults.png?alt=media\&token=737e163b-3118-4f40-b5eb-0b5e9d95ed17)

### Anime Filter Example

![](https://1035527593-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MWo9pUWfgX7wVD6UyHV%2F-MWtI5K21iRJIF33Y_C4%2F-MWtLMBbaBq5KIR-IUuu%2FAnime%20filter.png?alt=media\&token=8a5ce9c3-1f9c-4770-a54f-0e179976624e)

### Sonarr Language Filter Example

* Setup a language profile in sonarr.

![](https://1035527593-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MWo9pUWfgX7wVD6UyHV%2F-MWtI5K21iRJIF33Y_C4%2F-MWtNN_3qEkzEp20j0wm%2FSonarr%20language%20profile.png?alt=media\&token=0a31a371-0c0a-4c61-b1d2-be68970af232)

* Add the language filter in Petio.

![](https://1035527593-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MWo9pUWfgX7wVD6UyHV%2F-MWtI5K21iRJIF33Y_C4%2F-MWtNXUeOlqw1eE6pb9H%2Flanguage%20filter.png?alt=media\&token=a7b4c840-9d7d-4c87-be16-f73f5fbe54d2)
