Skip to content

Commit

Permalink
Add retry to PlexSectionPager.total_size
Browse files Browse the repository at this point in the history
  • Loading branch information
glensc committed Jan 1, 2025
1 parent b1de18c commit 0038527
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions plextraktsync/plex/PlexSectionPager.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ def __len__(self):
return self.total_size

@cached_property
@retry
def total_size(self):
return self.section.totalViewSize(libtype=self.libtype, includeCollections=False)

Expand Down

0 comments on commit 0038527

Please sign in to comment.