mirror of
https://github.com/pkkid/python-plexapi
synced 2024-11-10 06:04:15 +00:00
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:
parent
fe648f6382
commit
019d3b8c68
1 changed files with 2 additions and 1 deletions
|
@ -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")
|
||||
|
||||
"""
|
||||
|
|
Loading…
Reference in a new issue