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

Modified Files:
        videoitem.py 
Log Message:
prevent some crashes

Index: videoitem.py
===================================================================
RCS file: /cvsroot/freevo/freevo/src/video/videoitem.py,v
retrieving revision 1.66
retrieving revision 1.67
diff -C2 -d -r1.66 -r1.67
*** videoitem.py        20 Jul 2003 20:43:29 -0000      1.66
--- videoitem.py        25 Jul 2003 20:54:03 -0000      1.67
***************
*** 10,15 ****
  # -----------------------------------------------------------------------
  # $Log$
! # Revision 1.66  2003/07/20 20:43:29  dischi
! # small bugfix for xine
  #
  # Revision 1.65  2003/07/20 17:46:59  dischi
--- 10,15 ----
  # -----------------------------------------------------------------------
  # $Log$
! # Revision 1.67  2003/07/25 20:54:03  dischi
! # prevent some crashes
  #
  # Revision 1.65  2003/07/20 17:46:59  dischi
***************
*** 204,208 ****
          if parent and parent.media:
              url = 'cd://%s:%s:%s' % (parent.media.devicename, parent.media.mountdir,
!                                      file[len(parent.media.mountdir)+1:])
          else:
              url = filename
--- 204,208 ----
          if parent and parent.media:
              url = 'cd://%s:%s:%s' % (parent.media.devicename, parent.media.mountdir,
!                                      filename[len(parent.media.mountdir)+1:])
          else:
              url = filename
***************
*** 239,243 ****
          # find image for tv show and build new title
          if config.TV_SHOW_REGEXP_MATCH(self.name):
!             show_name = config.TV_SHOW_REGEXP_SPLIT(os.path.basename(self.name))
              self.name = show_name[0] + " " + show_name[1] + "x" + show_name[2] +\
                           " - " + show_name[3] 
--- 239,243 ----
          # find image for tv show and build new title
          if config.TV_SHOW_REGEXP_MATCH(self.name):
!             show_name = config.TV_SHOW_REGEXP_SPLIT(self.name)
              self.name = show_name[0] + " " + show_name[1] + "x" + show_name[2] +\
                           " - " + show_name[3] 
***************
*** 403,407 ****
          if os.path.isfile(base + 'png'):
              os.remove(base + 'png')
!         os.remove(self.filename)
          self.menuw.back_one_menu(arg='reload')
  
--- 403,410 ----
          if os.path.isfile(base + 'png'):
              os.remove(base + 'png')
!         if os.path.isfile(self.filename):
!             os.unlink(self.filename)
!         if hasattr(self, 'fxd_file') and os.path.isfile(self.fxd_file):
!             os.unlink(self.fxd_file)
          self.menuw.back_one_menu(arg='reload')
  




-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01
_______________________________________________
Freevo-cvslog mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-cvslog

Reply via email to