<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.kde.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugs.kde.org/"
          
          maintainer="sysadmin@kde.org"
>

    <bug>
          <bug_id>145366</bug_id>
          
          <creation_ts>2007-05-13 01:05:29 +0000</creation_ts>
          <short_desc>Include .flv Flash Videos in KPhotoAlbum database</short_desc>
          <delta_ts>2007-05-19 00:59:12 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>2</classification_id>
          <classification>Applications</classification>
          <product>kphotoalbum</product>
          <component>Backend</component>
          <version>3.0</version>
          <rep_platform>Ubuntu</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>NOR</priority>
          <bug_severity>wishlist</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>0</everconfirmed>
          <reporter name="Rainer Frey">rainerfrey</reporter>
          <assigned_to name="KPhotoAlbum Bugs">kphotoalbum-bugs-null</assigned_to>
          
          
          <cf_commitlink></cf_commitlink>
          <cf_versionfixedin></cf_versionfixedin>
          <cf_sentryurl></cf_sentryurl>
          <votes>0</votes>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>525529</commentid>
    <comment_count>0</comment_count>
    <who name="Rainer Frey">rainerfrey</who>
    <bug_when>2007-05-13 01:05:29 +0000</bug_when>
    <thetext>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, &quot;flv&quot; 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</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>525530</commentid>
    <comment_count>1</comment_count>
    <who name="Rainer Frey">rainerfrey</who>
    <bug_when>2007-05-13 01:07:56 +0000</bug_when>
    <thetext>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.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>526707</commentid>
    <comment_count>2</comment_count>
    <who name="Jan Kundrát">jkt</who>
    <bug_when>2007-05-19 00:59:12 +0000</bug_when>
    <thetext>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( &quot;wmv&quot; ) );
         videoExtensions.insert( QString::fromLatin1( &quot;ogm&quot; ) );
         videoExtensions.insert( QString::fromLatin1( &quot;rm&quot; ) );
+        videoExtensions.insert( QString::fromLatin1( &quot;flv&quot; ) );
     }
 
     QFileInfo fi( fileName );
</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>