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

Modified Files:
        playlist.py item.py 
Log Message:
fix missing DIRECTORY_USE_MEDIAID_TAG_NAMES for all kinds of parents

Index: playlist.py
===================================================================
RCS file: /cvsroot/freevo/freevo/src/playlist.py,v
retrieving revision 1.51
retrieving revision 1.52
diff -C2 -d -r1.51 -r1.52
*** playlist.py 4 Jan 2004 03:52:27 -0000       1.51
--- playlist.py 4 Jan 2004 10:20:05 -0000       1.52
***************
*** 10,13 ****
--- 10,16 ----
  # -----------------------------------------------------------------------
  # $Log$
+ # Revision 1.52  2004/01/04 10:20:05  dischi
+ # fix missing DIRECTORY_USE_MEDIAID_TAG_NAMES for all kinds of parents
+ #
  # Revision 1.51  2004/01/04 03:52:27  outlyer
  # Fix a crash; a playlist file (m3u/pls/etc.) doesn't have this property,
***************
*** 106,110 ****
          self.menuw    = None
          self.name     = name
-         self.DIRECTORY_USE_MEDIAID_TAG_NAMES = config.DIRECTORY_USE_MEDIAID_TAG_NAMES
  
          if (isinstance(playlist, str) or isinstance(playlist, unicode)) and not name:
--- 109,112 ----

Index: item.py
===================================================================
RCS file: /cvsroot/freevo/freevo/src/item.py,v
retrieving revision 1.41
retrieving revision 1.42
diff -C2 -d -r1.41 -r1.42
*** item.py     1 Jan 2004 16:47:31 -0000       1.41
--- item.py     4 Jan 2004 10:20:05 -0000       1.42
***************
*** 10,13 ****
--- 10,16 ----
  # -----------------------------------------------------------------------
  # $Log$
+ # Revision 1.42  2004/01/04 10:20:05  dischi
+ # fix missing DIRECTORY_USE_MEDIAID_TAG_NAMES for all kinds of parents
+ #
  # Revision 1.41  2004/01/01 16:47:31  dischi
  # do not replace name with None
***************
*** 160,164 ****
          self.eventhandler_plugins = []
  
!         if info and parent.DIRECTORY_USE_MEDIAID_TAG_NAMES and hasattr(self.info, 
'title'):
              self.name = self.info['title']
          
--- 163,168 ----
          self.eventhandler_plugins = []
  
!         if info and parent and hasattr(parent, 'DIRECTORY_USE_MEDIAID_TAG_NAMES') 
and \
!                parent.DIRECTORY_USE_MEDIAID_TAG_NAMES and hasattr(self.info, 
'title'):
              self.name = self.info['title']
          
***************
*** 264,270 ****
              if info:
                  self.info = info
!                 if self.parent.DIRECTORY_USE_MEDIAID_TAG_NAMES and hasattr(info, 
'title'):
!                     if info['title']:
!                         self.name = info['title']
          
          if not self.name:
--- 268,276 ----
              if info:
                  self.info = info
!                 if self.parent and \
!                        hasattr(self.parent, 'DIRECTORY_USE_MEDIAID_TAG_NAMES') and \
!                        self.parent.DIRECTORY_USE_MEDIAID_TAG_NAMES and \
!                        hasattr(info, 'title'):
!                     self.name = info['title']
          
          if not self.name:




-------------------------------------------------------
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills.  Sign up for IBM's
Free Linux Tutorials.  Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click
_______________________________________________
Freevo-cvslog mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-cvslog

Reply via email to