Reload item when accessing parts for media
MODIFY
plextraktsync/plex_api.py
plextraktsync/plex_api.py
@@ -227,7 +227,8 @@ def collected_at(self):
@property
def parts(self) -> List[MediaPart]:
- for media in self.item.media:
+ item = self.plex.fetch_item(self.item.ratingKey)
+ for media in item.item.media:
yield from media.parts
@flatten_list

Reload item when accessing parts for media