I've created a collection for all of my movies that are both 4k and contain Dolby Atmos + DTS audio as below:
collections:
4K Dolby Atmos Movies:
collection_order: release.desc
plex_search:
all:
resolution: 4k
sync_mode: sync
filters:
- filepath.regex: '(?i)^(?=.*\btrue[ ._-]?hd(\b|\d))(?=.*\batmos(\b|\d))'
- filepath.regex: '(?i)^(?=.*\b(dd[p+])|(dolby digital plus)\b)(?=.*\batmos(\b|\d))'
- filepath.regex: '(?i)\batmos(\b|\d)'
- filepath.regex: '(?i)\bdts[ ._-]?x\b'
This create a collection of 700+ movies that takes a very long time to order by release date and locks up the plex database while it's doing so.
I'd like to limit this collection to the latest 100 movies by release date, so only the most recent 100 movies are in the collection. How can I do this?
Shown below, I've tried adding limit: 100 but that didn't produce the desired result - only 100 movies were processed, but the resulting collection did not contain the most recent 100 movies, just 100 movies overall.
collections:
4K Dolby Atmos Movies:
collection_order: release.desc
plex_search:
all:
resolution: 4k
sync_mode: sync
limit: 100
filters:
- filepath.regex: '(?i)^(?=.*\btrue[ ._-]?hd(\b|\d))(?=.*\batmos(\b|\d))'
- filepath.regex: '(?i)^(?=.*\b(dd[p+])|(dolby digital plus)\b)(?=.*\batmos(\b|\d))'
- filepath.regex: '(?i)\batmos(\b|\d)'
- filepath.regex: '(?i)\bdts[ ._-]?x\b'