Update of /cvsroot/freevo/freevo/helpers
In directory sc8-pr-cvs1:/tmp/cvs-serv32090/helpers
Modified Files:
musicsqlimport.py
Log Message:
You can now run musicsqlimport as often as you'd like; the unique contraint
on the md5 prevents duplicate entries, and we use sqlite's internal conflict
resolution so we don't have to query the database before each insert.
Index: musicsqlimport.py
===================================================================
RCS file: /cvsroot/freevo/freevo/helpers/musicsqlimport.py,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -d -r1.4 -r1.5
*** musicsqlimport.py 30 Jun 2003 20:08:32 -0000 1.4
--- musicsqlimport.py 30 Jun 2003 20:20:05 -0000 1.5
***************
*** 82,86 ****
trackof, 100,0,0,'0','262',0,'null')
! SQL = 'INSERT INTO music VALUES ' + VALUES
return SQL
--- 82,86 ----
trackof, 100,0,0,'0','262',0,'null')
! SQL = 'INSERT OR IGNORE INTO music VALUES ' + VALUES
return SQL
-------------------------------------------------------
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