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

Modified Files:
        config.py 
Log Message:
xine support and cleanups.
o xine support and configuration in freevo_config.py
o cleanup in setup_freevo: use one variable to store all needed
  programs
o config.py uses setup_freevo to search for missing programs at startup


Index: config.py
===================================================================
RCS file: /cvsroot/freevo/freevo/src/config.py,v
retrieving revision 1.33
retrieving revision 1.34
diff -C2 -d -r1.33 -r1.34
*** config.py   30 Jul 2003 14:04:38 -0000      1.33
--- config.py   1 Aug 2003 17:54:05 -0000       1.34
***************
*** 23,26 ****
--- 23,33 ----
  # -----------------------------------------------------------------------
  # $Log$
+ # Revision 1.34  2003/08/01 17:54:05  dischi
+ # xine support and cleanups.
+ # o xine support and configuration in freevo_config.py
+ # o cleanup in setup_freevo: use one variable to store all needed
+ #   programs
+ # o config.py uses setup_freevo to search for missing programs at startup
+ #
  # Revision 1.33  2003/07/30 14:04:38  outlyer
  # I don't think we use $CACHEDIR/audio anymore... if anyone needs it, I'll
***************
*** 89,92 ****
--- 96,100 ----
  
  import sys, os, time, re
+ import setup_freevo
  
  if not 'FREEVO_STARTDIR' in os.environ:
***************
*** 94,100 ****
      os.environ['FREEVO_STARTDIR'] = os.environ['PWD']
      
- # XXX Fallback for a new option, remove later.
- MOVIE_PLAYLISTS = 0
- 
  # Send debug to stdout as well as to the logfile?
  DEBUG_STDOUT = 1
--- 102,105 ----
***************
*** 191,210 ****
  CONF.tv = 'ntsc'
  CONF.chanlist = 'us-cable'
- CONF.xmame = ''
- CONF.jpegtran = ''
- CONF.mplayer = ''
- CONF.snes = ''
  CONF.version = 0
- CONF.tvtime = ''
- CONF.lame = ''
- CONF.oggenc = ''
- CONF.cdparanoia = ''
- 
- class MainMenuItem:
-     def __init__(self, label, action, arg):
-         self.label = label
-         self.action = action
-         self.arg = arg
-         
  
  def print_config_changes(conf_version, file_version, changelist):
--- 196,200 ----
***************
*** 261,265 ****
          read_config(freevoconf, CONF)
          break
!     
  # Load freevo_config.py:
  cfgfilename = './freevo_config.py'
--- 251,262 ----
          read_config(freevoconf, CONF)
          break
! 
! # search missing programs at runtime
! for program, valname, needed in setup_freevo.EXTERNAL_PROGRAMS:
!     if not hasattr(CONF, valname) or not getattr(CONF, valname):
!         setup_freevo.check_program(CONF, program, valname, needed, verbose=0)
!     if not hasattr(CONF, valname) or not getattr(CONF, valname):
!         setattr(CONF, valname, '')
! 
  # Load freevo_config.py:
  cfgfilename = './freevo_config.py'
***************
*** 413,420 ****
      os.mkdir('%s/thumbnails/' % FREEVO_CACHEDIR,
               stat.S_IMODE(os.stat(FREEVO_CACHEDIR)[stat.ST_MODE]))
- 
- #if not os.path.isdir('%s/audio/' % FREEVO_CACHEDIR):
- #    import stat
- #    os.mkdir('%s/audio/' % FREEVO_CACHEDIR,
- #             stat.S_IMODE(os.stat(FREEVO_CACHEDIR)[stat.ST_MODE]))
- 
--- 410,411 ----




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