Update of /cvsroot/freevo/freevo/src/util
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv27504/src/util
Modified Files:
mediainfo.py
Log Message:
cache updates
Index: mediainfo.py
===================================================================
RCS file: /cvsroot/freevo/freevo/src/util/mediainfo.py,v
retrieving revision 1.47
retrieving revision 1.48
diff -C2 -d -r1.47 -r1.48
*** mediainfo.py 6 Jun 2004 06:41:47 -0000 1.47
--- mediainfo.py 6 Jun 2004 06:52:37 -0000 1.48
***************
*** 11,14 ****
--- 11,17 ----
# -----------------------------------------------------------------------
# $Log$
+ # Revision 1.48 2004/06/06 06:52:37 dischi
+ # cache updates
+ #
# Revision 1.47 2004/06/06 06:41:47 dischi
# delete cache on mmpython update
***************
*** 738,742 ****
for f in util.match_files(config.OVERLAY_DIR + '/disc/metadata', ['mmpython']):
os.unlink(f)
!
#
--- 741,746 ----
for f in util.match_files(config.OVERLAY_DIR + '/disc/metadata', ['mmpython']):
os.unlink(f)
! cachefile = os.path.join(config.FREEVO_CACHEDIR, 'mediainfo')
! util.save_pickle((mmpython.version.CHANGED, 0, 0, 0), cachefile)
#
***************
*** 777,781 ****
mmchanged, freevo_changed, part_update, complete_update = info
# let's warn about some updates
! if freevo_changed < 3:
print
print 'Warning: Freevo cache helper/informations updated.'
--- 781,789 ----
mmchanged, freevo_changed, part_update, complete_update = info
# let's warn about some updates
! if freevo_changed == 0:
! print
! print 'Please run \'freevo cache\''
! print
! elif freevo_changed < 3:
print
print 'Warning: Freevo cache helper/informations updated.'
-------------------------------------------------------
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