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
plexapi.exceptions.NotFound: Unknown filter field "group" for libtype "track". Available filter fields: ['track.mood', ...
similar error is raised for key "having".
these two keys are part of the content url form pms when the playlist is the default smart playlist built by the server, namely "❤️ Tracks" and "Fresh ❤️"
Code Snippets
playlist_filters=playlist.filters() # parse filtersPlaylist.create(
swerver,
playlist.title,
smart=playlist.smart,
filters=playlist_filters["filter"], # use the parsed filterssection=section,
) # will raise above error
Expected Behavior
no errors when the parsed filters are reused to build the playlist
Additional Context
the keys are as below {'group': 'guid'}, {'having': 'min(album.originallyAvailableAt)'}
Operating System and Version
Windows 10 64-bit
Plex Media Server Version
1.32.7.7621
Python Version
3.11.0b1
PlexAPI Version
4.15.5
The text was updated successfully, but these errors were encountered:
Dr-Blank
added a commit
to Dr-Blank/python-plexapi
that referenced
this issue
Nov 6, 2023
* Add support for 'group' and 'having' keys in
SmartFilterMixin
- fixes#1285
* Add `group` and `having` fields to `additionalFields` list in `FilteringType` class
- This should allow passing the parsed filters back into `search()`.
Co-Authored-By: JonnyWong16 <9099342+JonnyWong16@users.noreply.github.com>
---------
Co-authored-by: JonnyWong16 <9099342+JonnyWong16@users.noreply.github.com>
Describe the Bug
plexapi.exceptions.NotFound: Unknown filter field "group" for libtype "track". Available filter fields: ['track.mood', ...
similar error is raised for key "having".
these two keys are part of the content url form pms when the playlist is the default smart playlist built by the server, namely "❤️ Tracks" and "Fresh ❤️"
Code Snippets
Expected Behavior
no errors when the parsed filters are reused to build the playlist
Additional Context
the keys are as below
{'group': 'guid'}, {'having': 'min(album.originallyAvailableAt)'}
Operating System and Version
Windows 10 64-bit
Plex Media Server Version
1.32.7.7621
Python Version
3.11.0b1
PlexAPI Version
4.15.5
The text was updated successfully, but these errors were encountered: