Update of /cvsroot/freevo/freevo/src
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv13215

Modified Files:
        main.py setup_freevo.py 
Log Message:
lsdvd check

Index: setup_freevo.py
===================================================================
RCS file: /cvsroot/freevo/freevo/src/setup_freevo.py,v
retrieving revision 1.15
retrieving revision 1.16
diff -C2 -d -r1.15 -r1.16
*** setup_freevo.py     21 Feb 2004 03:16:18 -0000      1.15
--- setup_freevo.py     20 Apr 2004 17:33:59 -0000      1.16
***************
*** 13,16 ****
--- 13,19 ----
  # -----------------------------------------------------------------------
  # $Log$
+ # Revision 1.16  2004/04/20 17:33:59  dischi
+ # lsdvd check
+ #
  # Revision 1.15  2004/02/21 03:16:18  gsbarbieri
  # MPAV support
***************
*** 101,104 ****
--- 104,108 ----
                       ("xine", "xine", 0),
                       ("fbxine", "fbxine", 0),
+                      ("lsdvd", "lsdvd", 0),
                       ("jpegtran", "jpegtran", 0),
                       ("xmame.x11", "xmame", 0),

Index: main.py
===================================================================
RCS file: /cvsroot/freevo/freevo/src/main.py,v
retrieving revision 1.118
retrieving revision 1.119
diff -C2 -d -r1.118 -r1.119
*** main.py     27 Feb 2004 20:12:16 -0000      1.118
--- main.py     20 Apr 2004 17:33:57 -0000      1.119
***************
*** 11,14 ****
--- 11,17 ----
  # -----------------------------------------------------------------------
  # $Log$
+ # Revision 1.119  2004/04/20 17:33:57  dischi
+ # lsdvd check
+ #
  # Revision 1.118  2004/02/27 20:12:16  dischi
  # reworked rc.py to make several classes
***************
*** 81,88 ****
      
      # now load other modules to check if all requirements are installed
-     import mmpython
      import Image
      import pygame
      import twisted
      
  except ImportError, i:
--- 84,104 ----
      
      # now load other modules to check if all requirements are installed
      import Image
      import pygame
      import twisted
+ 
+     import config
+ 
+     if not config.CONF.lsdvd:
+         print
+         print 'Can\'t find lsdvd. DVD support will be limited and maybe not'
+         print 'all discs are detected. Please install lsdvd, you can get it'
+         print 'from http://acidrip.thirtythreeandathird.net/lsdvd.html'
+         print
+     else:
+         os.environ['LSDVD'] = config.CONF.lsdvd
+         
+     import mmpython
+ 
      
  except ImportError, i:
***************
*** 105,110 ****
  
      
- import config
- 
  import util    # Various utilities
  import osd     # The OSD class, used to communicate with the OSD daemon
--- 121,124 ----



-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
Freevo-cvslog mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-cvslog

Reply via email to