Skip to content

Commit

Permalink
Add further examples to filters
Browse files Browse the repository at this point in the history
  • Loading branch information
YozoraXCII committed Jan 24, 2025
1 parent c4e5014 commit e86bb19
Showing 1 changed file with 39 additions and 20 deletions.
59 changes: 39 additions & 20 deletions docs/files/filters.md
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,20 @@ You can use the `plex_all: true` builder to filter from your entire library.

#### Examples

```yaml
collections:
Movies with Mediastingers:
plex_all: true
filters:
has_stinger: true
```
```yaml
collections:
Movies with Editions:
plex_all: true
filters:
has_edition: true
```


=== "Date Filters"
Expand Down Expand Up @@ -279,7 +293,13 @@ You can use the `plex_all: true` builder to filter from your entire library.
filters:
audio_track_title: Commentary
```

```yaml
collections:
Movies with Audio Codecs containing DTS:
plex_all: true
filters:
audio_codec: DTS
```
=== "Tag Filters"

**Modifiers:** No Modifier, `.not`, `.regex`, `.count_lt`, `.count_lte`, `.count_gt`, or `.count_gte`
Expand Down Expand Up @@ -330,16 +350,6 @@ You can use the `plex_all: true` builder to filter from your entire library.

#### Examples

```yaml
collections:
1080p Documentaries:
plex_search:
all:
genre: Documentary
summary: A collection of 1080p Documentaries
filters:
resolution: 1080
```
```yaml
collections:
Daniel Craig only James Bonds:
Expand All @@ -357,15 +367,7 @@ You can use the `plex_all: true` builder to filter from your entire library.
filters:
audio_language: Français
```
```yaml
collections:
Romantic Comedies:
plex_search:
all:
genre: Romance
filters:
genre: Comedy
```


=== "Special Filters"

Expand All @@ -386,3 +388,20 @@ You can use the `plex_all: true` builder to filter from your entire library.
| `imdb_keyword`<sup>**2**</sup> | Uses the keywords from IMDb to match **Also a Tag Filter and can use all of those modifiers**<br>`keywords`: list of keywords to match<br>`minimum_votes`: minimum number of votes keywords must have<br>`minimum_relevant`: minimum number of relevant votes keywords must have<br>`minimum_percentage`: minimum percentage of relevant votes keywords must have | `Movies`, `Shows` |

<sup>**2**</sup> Also filters out missing movies/shows from being added to Radarr/Sonarr. These Values also cannot use the `count` modifiers.

#### Examples

```yaml
collections:
Shows That Finished Too Soon:
plex_all: true
filters:
tmdb_status: canceled
```
```yaml
collections:
On This Day in Previous Years:
plex_all: true
filters:
history: day
```

0 comments on commit e86bb19

Please sign in to comment.