diff --git a/src/components/WebServer/Middleware/DashRouter.bs b/src/components/WebServer/Middleware/DashRouter.bs index 9bbe7ba1..c0752520 100644 --- a/src/components/WebServer/Middleware/DashRouter.bs +++ b/src/components/WebServer/Middleware/DashRouter.bs @@ -72,6 +72,12 @@ namespace Http sets = period.GetChildNodes() for each set in sets attributes = set.GetAttributes() + contentType = attributes.contentType + mimeType = attributes.mimeType + ' If the DASH already has thumbnails, abort + if contentType = "image" or (mimeType <> invalid and mimeType.StartsWith("image")) + return "" + end if id = attributes.id idInt = id.toInt() if idInt >= thumb_id