Author: duncan
Date: Sun Oct 14 07:40:29 2007
New Revision: 9972

Log:
[ 1801929 ] Crash when selecting Music item with special characters
Fix applied


Modified:
   branches/rel-1/freevo/ChangeLog
   branches/rel-1/freevo/src/skins/main/skin_utils.py

Modified: branches/rel-1/freevo/ChangeLog
==============================================================================
--- branches/rel-1/freevo/ChangeLog     (original)
+++ branches/rel-1/freevo/ChangeLog     Sun Oct 14 07:40:29 2007
@@ -34,6 +34,7 @@
  * Updated tv favourite handling and programme item to provide a consistant 
interface (F#1776909)
  * Updated video item to include the full description (F#1777187)
  * Fixed audio plug-in albumtree navigating back to the main menu (B#1798462)
+ * Fixed music causing a crash when the directory has non-ascii characters and 
an image (B#1801929)
  * Fixed cd-rom drives eject causing a crash (B#1775892)
  * Fixed df plug-in crashing when totalspace is zero (B#1812877)
  * Fixed favourite crashing because of duplicate detection flag 
(B#1778494,B#1777726)

Modified: branches/rel-1/freevo/src/skins/main/skin_utils.py
==============================================================================
--- branches/rel-1/freevo/src/skins/main/skin_utils.py  (original)
+++ branches/rel-1/freevo/src/skins/main/skin_utils.py  Sun Oct 14 07:40:29 2007
@@ -87,14 +87,15 @@
     image     = None
     imagefile = None
 
-    if item_image:
-        if isinstance(item_image, imlib2.Image):
-            image = osd.loadbitmap(item_image)
+    if item.image:
+        if isinstance(item.image, imlib2.Image):
+            image = osd.loadbitmap(item.image)
         else:
-            image = load_imagecache['thumb://%s' % item_image]
+            #print 'thumb://%r %r' % (item.image, item_image)
+            image = load_imagecache['thumb://%s' % item.image]
             if not image:
-                image = osd.loadbitmap('thumb://%s' % item_image)
-                load_imagecache['thumb://%s' % item_image] = image
+                image = osd.loadbitmap('thumb://%s' % item.image)
+                load_imagecache['thumb://%s' % item.image] = image
 
         if not item['rotation']:
             try:

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Freevo-cvslog mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freevo-cvslog

Reply via email to