You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Even with the updates outlined in #623, these appear to be broken again with the recent update to Plex 1.22.0.4163. I'd appreciate someone confirming or denying that this is working.
Code snippets
for currentSection in plexServer.library.sections():
if currentSection.type == 'movie':
unwatchedLibraryItems = currentSection.search(unwatched=True)
elif currentSection.type == 'video':
unwatchedLibraryItems = currentSection.search(unwatched=True)
elif currentSection.type == 'show':
unwatchedLibraryItems = currentSection.searchEpisodes(**{'episode.unwatched':True})
Describe the issue
Even with the updates outlined in #623, these appear to be broken again with the recent update to Plex 1.22.0.4163. I'd appreciate someone confirming or denying that this is working.
Code snippets
for currentSection in plexServer.library.sections():
if currentSection.type == 'movie':
unwatchedLibraryItems = currentSection.search(unwatched=True)
elif currentSection.type == 'video':
unwatchedLibraryItems = currentSection.search(unwatched=True)
elif currentSection.type == 'show':
unwatchedLibraryItems = currentSection.searchEpisodes(**{'episode.unwatched':True})
This worked before.
Expected behavior
Successful search, results returned. Instead:
[3/10/2021 3:10:25 PM] [python.exe]: File "C:\Python\lib\site-packages\plexapi\library.py", line 717, in _cleanSearchFilter
[3/10/2021 3:10:25 PM] [python.exe]: raise BadRequest('Unknown filter category: %s' % category)
[3/10/2021 3:10:25 PM] [python.exe]: plexapi.exceptions.BadRequest: Unknown filter category: unwatched
Enviroment (please complete the following information):
Additional context
The text was updated successfully, but these errors were encountered: