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

Modified Files:
        main.py 
Log Message:
check for mmpython version

Index: main.py
===================================================================
RCS file: /cvsroot/freevo/freevo/src/main.py,v
retrieving revision 1.124
retrieving revision 1.125
diff -C2 -d -r1.124 -r1.125
*** main.py     6 Jun 2004 07:45:35 -0000       1.124
--- main.py     6 Jun 2004 08:31:15 -0000       1.125
***************
*** 11,14 ****
--- 11,17 ----
  # -----------------------------------------------------------------------
  # $Log$
+ # Revision 1.125  2004/06/06 08:31:15  dischi
+ # check for mmpython version
+ #
  # Revision 1.124  2004/06/06 07:45:35  dischi
  # check for numeric
***************
*** 88,91 ****
--- 91,95 ----
          print 'from http://acidrip.thirtythreeandathird.net/lsdvd.html'
          print
+         print 'After installing it, you should run \'freevo cache --rebuild\''
      else:
          os.environ['LSDVD'] = config.CONF.lsdvd
***************
*** 103,117 ****
      print 'Please check the INSTALL file for more informations.'
      print
!     print 'A quick solution is to install the Freevo runtime. This contains'
!     print 'all Python dependencies to run Freevo. Get the current runtime at'
!     print 
'http://sourceforge.net/project/showfiles.php?group_id=46652&release_id=194955'
!     print 'After downloading, run \'./freevo install path-to-runtime.tgz\'.'
!     print
!     print 'The runtime doesn\'t contain external applications like mplayer, xine'
!     print 'or tvtime. You need to download and install them, too (all except'
!     print 'mplayer are optional).'
!     print
      sys.exit(0)
  
      
  import util    # Various utilities
--- 107,136 ----
      print 'Please check the INSTALL file for more informations.'
      print
!     #
!     # XXX: we need a new runtime :-)
!     #
!     # print 'A quick solution is to install the Freevo runtime. This contains'
!     # print 'all Python dependencies to run Freevo. Get the current runtime at'
!     # print 
'http://sourceforge.net/project/showfiles.php?group_id=46652&release_id=194955'
!     # print 'After downloading, run \'./freevo install path-to-runtime.tgz\'.'
!     # print
!     # print 'The runtime doesn\'t contain external applications like mplayer, xine'
!     # print 'or tvtime. You need to download and install them, too (all except'
!     # print 'mplayer are optional).'
!     # print
      sys.exit(0)
  
+ 
+ # check if mmpython is up to date to avoid bug reports
+ # for already fixed bugs
+ try:
+     import mmpython.version
+     if mmpython.version.CHANGED < 20040606:
+         raise ImportError
+ except ImportError:
+     print 'Error: Installed mmpython version is too old.'
+     print 'Please update mmpython to version 0.4.3 or higher'
+     print
+     sys.exit(0)
      
  import util    # Various utilities
***************
*** 446,449 ****
--- 465,472 ----
      if config.MEDIAINFO_USE_MEMORY == 2:
          import util.mediainfo
+ 
+         splash = Splashscreen(_('Reading cache, please wait ...'))
+         skin.register('splashscreen', ('screen', splash))
+ 
          cachefiles = []
          for type in ('video', 'audio', 'image', 'games'):
***************
*** 458,463 ****
          cachefiles = util.unique(cachefiles)
  
-         splash = Splashscreen(_('Reading cache, please wait ...'))
-         skin.register('splashscreen', ('screen', splash))
          for f in cachefiles:
              splash.progress(int((float((cachefiles.index(f)+1)) / len(cachefiles)) * 
100))
--- 481,484 ----



-------------------------------------------------------
This SF.Net email is sponsored by the new InstallShield X.
>From Windows to Linux, servers to mobile, InstallShield X is the one
installation-authoring solution that does it all. Learn more and
evaluate today! http://www.installshield.com/Dev2Dev/0504
_______________________________________________
Freevo-cvslog mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-cvslog

Reply via email to