Author: duncan
Date: Tue Jul 31 17:31:04 2007
New Revision: 9786

Log:
Fixed a problem when the item is internet tv (fxd file)


Modified:
   branches/rel-1/freevo/src/video/plugins/bookmarker.py

Modified: branches/rel-1/freevo/src/video/plugins/bookmarker.py
==============================================================================
--- branches/rel-1/freevo/src/video/plugins/bookmarker.py       (original)
+++ branches/rel-1/freevo/src/video/plugins/bookmarker.py       Tue Jul 31 
17:31:04 2007
@@ -63,9 +63,10 @@
             items.append((self.resume, _('Resume playback')))
         if item.type == 'dir' or item.type == 'playlist':
             return items
-        if item.mode == 'file' and not item.variants and \
-               not item.subitems and 
os.path.exists(util.get_bookmarkfile(item.filename)):
-            items.append(( self.bookmark_menu, _('Bookmarks')))
+        if hasattr(item, 'mode'):
+            if item.mode == 'file' and not item.variants and \
+                   not item.subitems and 
os.path.exists(util.get_bookmarkfile(item.filename)):
+                items.append(( self.bookmark_menu, _('Bookmarks')))
 
         return items
 

-------------------------------------------------------------------------
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