Fix: Update guid filter examples for fetchItems (#1350)

* Update imdb guid filter with full agent name

it does not work otherwise like "^" anchor is used in the filter

* Add legacy imdb tt* for imdb to guid filter

* Add new agent Guid tag filtering example

* Add themoviedb prefix as well
This commit is contained in:
Elan Ruusamäe 2024-02-04 21:24:21 +02:00 committed by GitHub
parent fe648f6382
commit 019d3b8c68
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -227,7 +227,8 @@ class PlexObject:
fetchItem(ekey, viewCount__gte=0)
fetchItem(ekey, Media__container__in=["mp4", "mkv"])
fetchItem(ekey, guid__iregex=r"(imdb://|themoviedb://)")
fetchItem(ekey, guid__regex=r"com\.plexapp\.agents\.(imdb|themoviedb)://|tt\d+")
fetchItem(ekey, guid__id__regex=r"(imdb|tmdb|tvdb)://")
fetchItem(ekey, Media__Part__file__startswith="D:\\Movies")
"""