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
Seems server.createPlaylist(self.name, items=items, smart=True, section=section) does not guard smart=True and non empty items.
While other methods like playlist.removeItems() and playlist.addItems() guard that you do not add items with smart playlist.
The outcome is that created smart playlist doesn't actually contain the items, but something more (haven't figured out what yet, seems like the whole library is added to such smart playlist)
glensc
changed the title
https://github.com/Taxel/PlexTraktSync/pull/1832#issuecomment-1962421451
createPlaylist does not guard smart=True and non-empty items
Feb 24, 2024
Describe the Bug
Seems
server.createPlaylist(self.name, items=items, smart=True, section=section)
does not guardsmart=True
and non emptyitems
.While other methods like
playlist.removeItems()
andplaylist.addItems()
guard that you do not add items with smart playlist.The outcome is that created smart playlist doesn't actually contain the items, but something more (haven't figured out what yet, seems like the whole library is added to such smart playlist)
See details of this exploration:
Code Snippets
No response
Expected Behavior
No response
Additional Context
No response
Operating System and Version
Irrelevant
Plex Media Server Version
Irrelevant
Python Version
Irrelevant
PlexAPI Version
4.15.10
The text was updated successfully, but these errors were encountered: