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

Modified Files:
        __init__.py 
Log Message:
move more info to the Mimetype

Index: __init__.py
===================================================================
RCS file: /cvsroot/freevo/freevo/src/video/__init__.py,v
retrieving revision 1.17
retrieving revision 1.18
diff -C2 -d -r1.17 -r1.18
*** __init__.py 30 Nov 2003 14:41:10 -0000      1.17
--- __init__.py 6 Dec 2003 13:44:11 -0000       1.18
***************
*** 10,13 ****
--- 10,16 ----
  # -----------------------------------------------------------------------
  # $Log$
+ # Revision 1.18  2003/12/06 13:44:11  dischi
+ # move more info to the Mimetype
+ #
  # Revision 1.17  2003/11/30 14:41:10  dischi
  # use new Mimetype plugin interface
***************
*** 142,145 ****
--- 145,166 ----
  
  
+     def dirinfo(self, diritem):
+         """
+         set informations for a diritem based on the content, etc.
+         """
+         global tv_show_informations
+         if not diritem.image and config.VIDEO_SHOW_DATA_DIR:
+             diritem.image = util.getimage(vfs.join(config.VIDEO_SHOW_DATA_DIR,
+                                                    
vfs.basename(diritem.dir).lower()))
+ 
+         if tv_show_informations.has_key(vfs.basename(diritem.dir).lower()):
+             tvinfo = tv_show_informations[vfs.basename(diritem.dir).lower()]
+             diritem.info = tvinfo[1]
+             if not diritem.image:
+                 diritem.image = tvinfo[0]
+             if not diritem.xml_file:
+                 diritem.xml_file = tvinfo[3]
+ 
+         
  
  




-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?  SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
_______________________________________________
Freevo-cvslog mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-cvslog

Reply via email to