mirror of
https://github.com/jellyfin/jellyfin-mpv-shim.git
synced 2024-11-23 14:09:57 +00:00
Ignore chapters which do not have images for trickplay.
This commit is contained in:
parent
0082b340c2
commit
5576088e27
@ -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):
|
||||
|
Loading…
Reference in New Issue
Block a user