Update of /cvsroot/freevo/freevo/src/plugins
In directory sc8-pr-cvs1:/tmp/cvs-serv7800/src/plugins

Modified Files:
        lcd.py 
Log Message:
Try-Except to avoid crashes + MAME items handling


Index: lcd.py
===================================================================
RCS file: /cvsroot/freevo/freevo/src/plugins/lcd.py,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -d -r1.4 -r1.5
*** lcd.py      4 Aug 2003 20:30:33 -0000       1.4
--- lcd.py      20 Aug 2003 22:48:25 -0000      1.5
***************
*** 14,17 ****
--- 14,20 ----
  # -----------------------------------------------------------------------
  # $Log$
+ # Revision 1.5  2003/08/20 22:48:25  gsbarbieri
+ # Try-Except to avoid crashes + MAME items handling
+ #
  # Revision 1.4  2003/08/04 20:30:33  gsbarbieri
  # Added some clauses to avoid exceptions.
***************
*** 96,99 ****
--- 99,103 ----
                  ( "description", "Description: %s" ) ],
      "playlist" : [ ( "len(playlist)", "%s items" ) ],
+     "mame" : [ ( "description", "Description: %s" ) ],
      "unknow" : [ ]
      }
***************
*** 107,110 ****
--- 111,115 ----
      "dir" : None,
      "playlist" : None,
+     "mame" : None,
      "unknow" : None
      }
***************
*** 413,419 ****
  
              # get info:
!             if menu.selected.type:
                  info = get_info( menu.selected, menu_info[ menu.selected.type ] )
!                 if menu_strinfo[ menu.selected.type ]:
                      if info:
                          info += sep_str
--- 418,424 ----
  
              # get info:
!             if menu.selected.type and menu_info.has_key( menu.selected.type ):
                  info = get_info( menu.selected, menu_info[ menu.selected.type ] )
!                 if menu.strinfo.has_key( menu.selected.type ) and menu_strinfo[ 
menu.selected.type ]:
                      if info:
                          info += sep_str




-------------------------------------------------------
This SF.net email is sponsored by: VM Ware
With VMware you can run multiple operating systems on a single machine.
WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines
at the same time. Free trial click here:http://www.vmware.com/wl/offer/358/0
_______________________________________________
Freevo-cvslog mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-cvslog

Reply via email to