Author: duncan
Date: Fri Oct 27 14:40:17 2006
New Revision: 8483

Modified:
   branches/rel-1-6/freevo/src/audio/__init__.py

Log:
[ 1585819 ] freevo crashes with usb storage and automount
Fix applied


Modified: branches/rel-1-6/freevo/src/audio/__init__.py
==============================================================================
--- branches/rel-1-6/freevo/src/audio/__init__.py       (original)
+++ branches/rel-1-6/freevo/src/audio/__init__.py       Fri Oct 27 14:40:17 2006
@@ -8,14 +8,6 @@
 # Todo:        
 #
 # -----------------------------------------------------------------------
-# $Log$
-# Revision 1.25  2004/07/10 12:33:37  dischi
-# header cleanup
-#
-# Revision 1.24  2004/02/13 17:26:25  dischi
-# save coversearch result
-#
-# -----------------------------------------------------------------------
 # Freevo - A Home Theater PC framework
 # Copyright (C) 2002 Krister Lagerstrom, et al. 
 # Please see the file freevo/Docs/CREDITS for a complete list of authors.
@@ -34,7 +26,7 @@
 # with this program; if not, write to the Free Software Foundation, Inc.,
 # 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
 #
-# ----------------------------------------------------------------------- */
+# -----------------------------------------------------------------------
 
 
 import os
@@ -93,7 +85,7 @@
         """
         set informations for a diritem based on the content, etc.
         """
-        if not diritem.image:
+        if not diritem.image and os.path.exists(diritem.dir):
             timestamp = os.stat(diritem.dir)[stat.ST_MTIME]
             if not diritem['coversearch_timestamp'] or \
                    timestamp > diritem['coversearch_timestamp']:

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Freevo-cvslog mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freevo-cvslog

Reply via email to