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

Modified Files:
        item.py 
Log Message:
do not use info[title] when parent has USE_MEDIAID_TAG_NAMES = 0

Index: item.py
===================================================================
RCS file: /cvsroot/freevo/freevo/src/item.py,v
retrieving revision 1.23
retrieving revision 1.24
diff -C2 -d -r1.23 -r1.24
*** item.py     23 Aug 2003 12:51:41 -0000      1.23
--- item.py     23 Aug 2003 18:34:38 -0000      1.24
***************
*** 10,13 ****
--- 10,16 ----
  # -----------------------------------------------------------------------
  # $Log$
+ # Revision 1.24  2003/08/23 18:34:38  dischi
+ # do not use info[title] when parent has USE_MEDIAID_TAG_NAMES = 0
+ #
  # Revision 1.23  2003/08/23 12:51:41  dischi
  # removed some old CVS log messages
***************
*** 63,73 ****
              self.info = info
  
          # name in menu
          try:
!             self.name = info['title']
              
          except (TypeError, AttributeError, KeyError):
!             self.name = None                
!             
          # possible variables for an item.
          # some or only needed for video or image or audio
--- 66,84 ----
              self.info = info
  
+         use_info_title = 1
+         try:
+             use_info_title = parent.USE_MEDIAID_TAG_NAMES
+         except:
+             pass
+         
          # name in menu
+         self.name = None                
          try:
!             if use_info_title:
!                 self.name = info['title']
              
          except (TypeError, AttributeError, KeyError):
!             pass
!         
          # possible variables for an item.
          # some or only needed for video or image or audio




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