Update of /cvsroot/freevo/freevo/src
In directory sc8-pr-cvs1:/tmp/cvs-serv11087
Modified Files:
util.py
Log Message:
Changed how we save bookmarks; the path is less important, but the filename
is what we match on now.
Upside:
MD5's of movie files will take a long time, so filename is quicker.
Downside:
Rename the file, and bookmarks vanish.
Index: util.py
===================================================================
RCS file: /cvsroot/freevo/freevo/src/util.py,v
retrieving revision 1.15
retrieving revision 1.16
diff -C2 -d -r1.15 -r1.16
*** util.py 17 Mar 2003 16:34:32 -0000 1.15
--- util.py 17 Mar 2003 19:04:10 -0000 1.16
***************
*** 10,13 ****
--- 10,23 ----
# -----------------------------------------------------------------------
# $Log$
+ # Revision 1.16 2003/03/17 19:04:10 outlyer
+ # Changed how we save bookmarks; the path is less important, but the filename
+ # is what we match on now.
+ #
+ # Upside:
+ # MD5's of movie files will take a long time, so filename is quicker.
+ #
+ # Downside:
+ # Rename the file, and bookmarks vanish.
+ #
# Revision 1.15 2003/03/17 16:34:32 outlyer
# Added preliminary movie bookmarks (i.e. places to jump to on next play)
***************
*** 477,482 ****
def get_bookmarkfile(filename):
! myfile = filename.replace('/','_')
! myfile = config.FREEVO_CACHEDIR + "/" + str(myfile)
return myfile
--- 487,492 ----
def get_bookmarkfile(filename):
! myfile = os.path.basename(filename)
! myfile = config.FREEVO_CACHEDIR + "/" + str(myfile) + '.bookmark'
return myfile
-------------------------------------------------------
This SF.net email is sponsored by:Crypto Challenge is now open!
Get cracking and register here for some mind boggling fun and
the chance of winning an Apple iPod:
http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0031en
_______________________________________________
Freevo-cvslog mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-cvslog