- Fix sort option for Person template, since pulling from multiple options

- Fix `type` and `sort_by` settings for Smart Filters (notes in tips_and_tricks.md)
This commit is contained in:
Nate Harris 2022-02-22 10:47:36 -07:00
parent 6613042a8d
commit 633eb1d912
3 changed files with 25 additions and 12 deletions

View File

@ -32,11 +32,11 @@ collections:
sort_title: sort_title:
collection_level: episode collection_level: episode
smart_filter: smart_filter:
all:
type: episodes type: episodes
sort_by: release.desc
all:
# Episode aired in the last 8 days # Episode aired in the last 8 days
episode_air_date: 8 episode_air_date: 8
sort_by: release.desc
sync_mode: sync sync_mode: sync
visible_home: true visible_home: true
visible_shared: true visible_shared: true
@ -48,11 +48,11 @@ collections:
sort_title: sort_title:
collection_level: episode collection_level: episode
smart_filter: smart_filter:
all:
type: episodes type: episodes
sort_by: release.desc
all:
# Episode added in the last 7 days # Episode added in the last 7 days
episode_added: 7 episode_added: 7
sort_by: release.desc
sync_mode: sync sync_mode: sync
visible_home: true visible_home: true
visible_shared: true visible_shared: true
@ -62,11 +62,11 @@ collections:
summary: "Shows now playing on Plex" summary: "Shows now playing on Plex"
sort_title: sort_title:
smart_filter: smart_filter:
all:
type: shows type: shows
sort_by: release.desc
all:
# Shows added in the last 30 days # Shows added in the last 30 days
added: 30 added: 30
sort_by: release.desc
sync_mode: sync sync_mode: sync
visible_library: true visible_library: true
visible_home: true visible_home: true
@ -101,11 +101,11 @@ collections:
sort_title: sort_title:
collection_level: episode collection_level: episode
smart_filter: smart_filter:
all:
type: episodes type: episodes
sort_by: release.asc
all:
title.is: "The Simpsons" title.is: "The Simpsons"
episode_title.contains: "Treehouse" episode_title.contains: "Treehouse"
sort_by: release.asc
sync_mode: sync sync_mode: sync
visible_library: true visible_library: true
visible_home: false visible_home: false

View File

@ -96,7 +96,7 @@ templates:
tmdb_crew: <<person>> tmdb_crew: <<person>>
sort_title: <<level>>+09_<<collection_name>> sort_title: <<level>>+09_<<collection_name>>
sync_mode: sync sync_mode: sync
collection_order: custom collection_order: release
visible_library: true visible_library: true
Actor: Actor:
@ -142,11 +142,11 @@ collections:
level: "++" } level: "++" }
summary: "Movies now playing on Plex" summary: "Movies now playing on Plex"
smart_filter: smart_filter:
all:
type: movies type: movies
sort_by: release.desc
all:
# Movie added in the last 7 days # Movie added in the last 7 days
added: 7 added: 7
sort_by: release.desc
visible_home: true visible_home: true
visible_shared: true visible_shared: true
@ -277,8 +277,9 @@ collections:
template: { name: Genre } template: { name: Genre }
summary: "You might learn something" summary: "You might learn something"
smart_filter: smart_filter:
all:
type: movies type: movies
sort_by: critic_rating.desc
all:
genre: Documentary genre: Documentary
visible_home: false visible_home: false
visible_shared: false visible_shared: false

View File

@ -35,9 +35,21 @@ Prefix suggestions:
- `collection_order: release` -> `sort_by: release.desc` - `collection_order: release` -> `sort_by: release.desc`
- `collection_order: alpha` -> `sort_by: title.desc` - `collection_order: alpha` -> `sort_by: title.desc`
- `collection_order: custom` -> `sort_by: ??` - `collection_order: custom` -> `sort_by: ??`
- Needs to be one level above `all`/`any` criteria list. Ex.:
- `smart_filter`:
- sort_by: `release.desc`
- any:
- criteria1
- criteria2
## Filters ## Filters
- Type restrictions - Type restrictions
- Plex `smart_filter`/`plex_search`: Use, i.e. `type: episodes`, to limit collection to [specific type](https://github.com/meisnate12/Plex-Meta-Manager/wiki/Plex-Builders#special-attributes) - Plex `smart_filter`/`plex_search`: Use, i.e. `type: episodes`, to limit collection to [specific type](https://github.com/meisnate12/Plex-Meta-Manager/wiki/Plex-Builders#special-attributes)
- Needs to be one level above `all`/`any` criteria list. Ex.:
- `smart_filter`:
- type: `episodes`
- any:
- criteria1
- criteria2
- All other rules: Use, i.e., `collection_level: episodes`, to limit collection to [specific type](https://github.com/meisnate12/Plex-Meta-Manager/wiki/Metadata-Details#metadata-details) - All other rules: Use, i.e., `collection_level: episodes`, to limit collection to [specific type](https://github.com/meisnate12/Plex-Meta-Manager/wiki/Metadata-Details#metadata-details)