Update of /cvsroot/freevo/freevo/src/plugins In directory sc8-pr-cvs1:/tmp/cvs-serv22878/plugins
Modified Files: file_ops.py rom_drives.py Log Message: some adjustments to the missing testfiles Index: file_ops.py =================================================================== RCS file: /cvsroot/freevo/freevo/src/plugins/file_ops.py,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** file_ops.py 14 Sep 2003 20:09:36 -0000 1.4 --- file_ops.py 20 Sep 2003 15:08:26 -0000 1.5 *************** *** 10,13 **** --- 10,16 ---- # ----------------------------------------------------------------------- # $Log$ + # Revision 1.5 2003/09/20 15:08:26 dischi + # some adjustments to the missing testfiles + # # Revision 1.4 2003/09/14 20:09:36 dischi # removed some TRUE=1 and FALSE=0 add changed some debugs to _debug_ *************** *** 94,101 **** if self.item.type == 'video' and hasattr(self, 'fxd_file') and \ os.path.isfile(self.item.fxd_file) and \ ! self.item.fxd_file.find(config.MOVIE_DATA_DIR) == -1 and \ ! self.item.fxd_file.find(config.TV_SHOW_DATA_DIR) == -1 and \ ! self.item.fxd_file.find(config.TV_SHOW_IMAGE_DIR) == -1: ! self.save_unlink(self.item.fxd_file) if self.menuw: self.menuw.back_one_menu(arg='reload') --- 97,107 ---- if self.item.type == 'video' and hasattr(self, 'fxd_file') and \ os.path.isfile(self.item.fxd_file) and \ ! (not config.MOVIE_DATA_DIR or \ ! self.item.fxd_file.find(config.MOVIE_DATA_DIR)) and \ ! (not config.TV_SHOW_DATA_DIR or \ ! self.item.fxd_file.find(config.TV_SHOW_DATA_DIR) == -1) ! (not config.TV_SHOW_IMAGE_DIR or \ ! self.item.fxd_file.find(config.TV_SHOW_IMAGE_DIR) == -1): ! self.save_unlink(self.item.fxd_file) if self.menuw: self.menuw.back_one_menu(arg='reload') Index: rom_drives.py =================================================================== RCS file: /cvsroot/freevo/freevo/src/plugins/rom_drives.py,v retrieving revision 1.31 retrieving revision 1.32 diff -C2 -d -r1.31 -r1.32 *** rom_drives.py 19 Sep 2003 22:12:59 -0000 1.31 --- rom_drives.py 20 Sep 2003 15:08:26 -0000 1.32 *************** *** 10,13 **** --- 10,16 ---- # ----------------------------------------------------------------------- # $Log$ + # Revision 1.32 2003/09/20 15:08:26 dischi + # some adjustments to the missing testfiles + # # Revision 1.31 2003/09/19 22:12:59 dischi # kill some debug for level 1 *************** *** 527,531 **** media.info.info[k] = media.info.info.tracks[0][k] ! if os.path.isfile(config.COVER_DIR+label+'.jpg'): media.info.image = config.COVER_DIR+label+'.jpg' --- 530,534 ---- 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' *************** *** 604,608 **** volumes += show[1] + "x" + show[2] ! if show_name and the_same: if end_ep > 0: volumes = '%dx%02d - %dx%02d' % (start_ep / 100, start_ep % 100, --- 607,611 ---- 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, *************** *** 622,626 **** xml_file = tvinfo[3] ! elif not show_name: if os.path.isfile(config.COVER_DIR+\ os.path.splitext(os.path.basename(movie))[0]+'.png'): --- 625,629 ---- xml_file = tvinfo[3] ! elif not show_name and config.COVER_DIR: if os.path.isfile(config.COVER_DIR+\ os.path.splitext(os.path.basename(movie))[0]+'.png'): ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Freevo-cvslog mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/freevo-cvslog