diff --git a/app/library/ffprobe.py b/app/library/ffprobe.py index c396c3df..b2b6a9cf 100644 --- a/app/library/ffprobe.py +++ b/app/library/ffprobe.py @@ -82,7 +82,13 @@ class FFStream: """ Is the stream labelled as a video stream. """ - return self.__dict__.get("codec_type", None) == "video" + if self.__dict__.get("codec_type", None) != "video": + return False + + if self.__dict__.get("codec_name", None) in ["png", "mjpeg", "gif", "bmp", "tiff", "webp"]: + return False + + return True def is_subtitle(self): """ diff --git a/ui/components/VideoPlayer.vue b/ui/components/VideoPlayer.vue index a2083625..1250d04f 100644 --- a/ui/components/VideoPlayer.vue +++ b/ui/components/VideoPlayer.vue @@ -18,7 +18,7 @@