Describe the Bug
Hi, I am looping through shows trying to get the paths.
plex_shows = [m for m in plex.library.section('TV Shows').all()]
plex_shows_by_path = {m.locations[0]: m for m in plex_shows}
It is extremely slow. It seems to be querying plex for each item in the location loop. Is there a faster way to do this? I would have thought the data would be pulled from the first line?
Code Snippets
No response
Expected Behavior
No response
Additional Context
No response
Operating System and Version
Linux
Plex Media Server Version
Latest
Python Version
3.11.2
PlexAPI Version
Latest
Describe the Bug
Hi, I am looping through shows trying to get the paths.
It is extremely slow. It seems to be querying plex for each item in the location loop. Is there a faster way to do this? I would have thought the data would be pulled from the first line?
Code Snippets
No response
Expected Behavior
No response
Additional Context
No response
Operating System and Version
Linux
Plex Media Server Version
Latest
Python Version
3.11.2
PlexAPI Version
Latest