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

Modified Files:
        rom_drives.py 
Log Message:
use new vfs

Index: rom_drives.py
===================================================================
RCS file: /cvsroot/freevo/freevo/src/plugins/rom_drives.py,v
retrieving revision 1.40
retrieving revision 1.41
diff -C2 -d -r1.40 -r1.41
*** rom_drives.py       9 Nov 2003 16:17:32 -0000       1.40
--- rom_drives.py       22 Nov 2003 20:36:04 -0000      1.41
***************
*** 10,13 ****
--- 10,16 ----
  # -----------------------------------------------------------------------
  # $Log$
+ # Revision 1.41  2003/11/22 20:36:04  dischi
+ # use new vfs
+ #
  # Revision 1.40  2003/11/09 16:17:32  dischi
  # fix mmpython info parsing for movies on disc
***************
*** 543,548 ****
              else:
                  media.info = videoitem.VideoItem('0', None)
!                 if config.MOVIE_DATA_DIR:
!                     media.info.image = 
util.getimage(os.path.join(config.MOVIE_DATA_DIR,
                                                                    'disc-set', 
media.id))
  
--- 546,551 ----
              else:
                  media.info = videoitem.VideoItem('0', None)
!                 if config.OVERLAY_DIR:
!                     media.info.image = util.getimage(os.path.join(config.OVERLAY_DIR,
                                                                    'disc-set', 
media.id))
  
***************
*** 567,573 ****
                          media.info.info[k] = media.info.info.tracks[0][k]
  
-             if config.COVER_DIR and os.path.isfile(config.COVER_DIR+label+'.jpg'):
-                 media.info.image = config.COVER_DIR+label+'.jpg'
- 
              media.info.num_titles = len(data.tracks)
              # Hack to avoid rescan, remove this when mmpython is used
--- 570,573 ----
***************
*** 644,648 ****
                          volumes += show[1] + "x" + show[2]
  
!                 if show_name and the_same and TV_SHOW_DATA_DIR:
                      if end_ep > 0:
                          volumes = '%dx%02d - %dx%02d' % (start_ep / 100, start_ep % 
100,
--- 644,648 ----
                          volumes += show[1] + "x" + show[2]
  
!                 if show_name and the_same and config.TV_SHOW_DATA_DIR:
                      if end_ep > 0:
                          volumes = '%dx%02d - %dx%02d' % (start_ep / 100, start_ep % 
100,
***************
*** 664,671 ****
                  elif (not show_name) and len(mplayer_files) == 1:
                      movie = mplayer_files[0]
-                     if config.COVER_DIR:
-                         base = os.path.splitext(os.path.basename(movie))[0]
-                         base = os.path.join(config.COVER_DIR, base)
-                         image = util.getimage(base, image)
                      title = os.path.splitext(os.path.basename(movie))[0]
  
--- 664,667 ----




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