Author: dmeyer
Date: Wed Jan 10 19:04:19 2007
New Revision: 2375

Modified:
   trunk/beacon/src/server/parser.py

Log:
only slow down thumb generation for video files

Modified: trunk/beacon/src/server/parser.py
==============================================================================
--- trunk/beacon/src/server/parser.py   (original)
+++ trunk/beacon/src/server/parser.py   Wed Jan 10 19:04:19 2007
@@ -239,7 +239,8 @@
     if attributes.get('image'):
         t = thumbnail.Thumbnail(attributes.get('image'), item._beacon_media)
         if not t.get(thumbnail.LARGE, check_mtime=True) and \
-               not hasattr(item, 'filename') or 
utils.do_thumbnail(item.filename):
+               (not type == 'video' or not hasattr(item, 'filename') or \
+                utils.do_thumbnail(item.filename)):
             t.create(thumbnail.LARGE, thumbnail.PRIORITY_LOW)
 
     if not metadata.get('title'):

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Freevo-cvslog mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freevo-cvslog

Reply via email to