Update of /cvsroot/freevo/freevo/helpers
In directory sc8-pr-cvs1:/tmp/cvs-serv26860/helpers
Modified Files:
musicsqlimport.py
Log Message:
Just a note to myself to add a function to remove files that are already
in the database to save time.
Index: musicsqlimport.py
===================================================================
RCS file: /cvsroot/freevo/freevo/helpers/musicsqlimport.py,v
retrieving revision 1.10
retrieving revision 1.11
diff -C2 -d -r1.10 -r1.11
*** musicsqlimport.py 3 Jul 2003 16:29:27 -0000 1.10
--- musicsqlimport.py 6 Jul 2003 20:34:47 -0000 1.11
***************
*** 84,87 ****
--- 84,99 ----
songs = util.recursefolders(path,1,type,1)
+
+ # TODO
+ # Check the database and generate a list and then use
+ # songs.remove(os.path.join(path,filename))
+ # to remove it so # we can speed up the whole process. We just
+ # need a function that returns a list of files with full paths
+ # from the database.
+ #
+ # It's not a necessity, but it'll make large directories less
+ # time consuming to do.
+
+
tempvar = ''
for song in songs:
-------------------------------------------------------
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/psa00100006ave/direct;at.asp_061203_01/01
_______________________________________________
Freevo-cvslog mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-cvslog