Opened 12 years ago

Closed 12 years ago

#3760 closed defect (fixed)

mythgalery wmv files not showing

Reported by: michael bishop <clever@…> Owned by: paulh
Priority: minor Milestone: 0.21
Component: mythgallery Version: 0.20-fixes
Severity: low Keywords:
Cc: Ticket locked: no

Description

ocgltd on #mythtv-users was having a problem with wmv files not showing in mythgalery as i guessed the code doesnt understand that wmv files are videos

he was using 0.20 fixes but the bug was also in my svn trunk version

this patch will probly fix wmv files but there may he others that need to be added if they cause problems

Index: mythgallery/mythgallery/constants.h
===================================================================
--- mythgallery/mythgallery/constants.h (revision 13460)
+++ mythgallery/mythgallery/constants.h (working copy)
@@ -26,7 +26,7 @@
        "*.jpg *.JPG *.jpeg *.JPEG *.png *.PNG "
        "*.tif *.TIF *.tiff *.TIFF *.bmp *.BMP *.gif *.GIF");
 static const QString MOVIE_FILENAMES(
-       "*.avi *.AVI *.mpg *.MPG *.mpeg *.MPEG *.mov *.MOV");
+       "*.avi *.AVI *.mpg *.MPG *.mpeg *.MPEG *.mov *.MOV *.wmv *.WMV");
 static const QString MEDIA_FILENAMES =
        IMAGE_FILENAMES + QString(" ") + MOVIE_FILENAMES;

Change History (2)

comment:1 Changed 12 years ago by paulh

Milestone: unknown0.21
Owner: changed from Isaac Richards to paulh

comment:2 Changed 12 years ago by paulh

Resolution: fixed
Status: newclosed

(In [14189]) Backports [14188] to fixes branch.

Add wmv files to the list of known movie types in MythGallery. Fixes #3760.

Note: See TracTickets for help on using tickets.