Ignore chapters which do not have images for trickplay.

This commit is contained in:
Ian Walton 2023-02-21 00:28:11 -05:00
parent 0082b340c2
commit 5576088e27

View File

@ -257,6 +257,7 @@ class Video(object):
return [
{"start": item["StartPositionTicks"] / 10000000, "name": item["Name"]}
for item in self.item.get("Chapters", [])
if item.get("ImageTag")
]
def get_chapter_images(self, max_width=400, quality=90):