Bug 145366 - Include .flv Flash Videos in KPhotoAlbum database
Summary: Include .flv Flash Videos in KPhotoAlbum database
Status: RESOLVED FIXED
Alias: None
Product: kphotoalbum
Classification: Applications
Component: Backend (show other bugs)
Version: 3.0
Platform: Ubuntu Linux
: NOR wishlist
Target Milestone: ---
Assignee: KPhotoAlbum Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-05-13 01:05 UTC by Rainer Frey
Modified: 2007-05-19 00:59 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Rainer Frey 2007-05-13 01:05:29 UTC
Version:           3.0 (using KDE KDE 3.5.6)
Installed from:    Ubuntu Packages

.flv files are Flash video clips that are used by video portals to embed in websites. They do play in KDE with kaffeine and/or kmplayer though - at leat with the right codecs installed (worked instantly with Kubuntu 7.04 + w23codecs from Medibuntu). Thus KPhotoalbum should also categorize them just as other video formats. To make this work, "flv" must be included in the video extension list in Utilities::isVideo() in src/Utilities/Util.cpp.

It would be nice if this list was configurable (not necessarily per GUI, in a text file would be enough) without recompiling KPhotoalbum.

This might be related to #136955 and #145293
Comment 1 Rainer Frey 2007-05-13 01:07:56 UTC
I tested this with the source package from Kubuntu 7.04, with just this one change, and it works - the files are recocknized by the new image scan, play from within KPhotoalbum, and are thumbnailed with video thumbnail support.
Comment 2 Jan Kundrát 2007-05-19 00:59:12 UTC
SVN commit 666155 by jkt:

BUG: 145366

Adding .flv (Flash video) to the list of video extensions



 M  +1 -0      Util.cpp  


--- trunk/extragear/graphics/kphotoalbum/Utilities/Util.cpp #666154:666155
@@ -715,6 +715,7 @@
         videoExtensions.insert( QString::fromLatin1( "wmv" ) );
         videoExtensions.insert( QString::fromLatin1( "ogm" ) );
         videoExtensions.insert( QString::fromLatin1( "rm" ) );
+        videoExtensions.insert( QString::fromLatin1( "flv" ) );
     }
 
     QFileInfo fi( fileName );