Mixxx does not discover new files placed in directories that were
already in the mixxx database. This patch fixes the problem.
steps to reproduce:
* create a new folder, foo/, and put a song in it
* rescan the library
** the new file appears in the library
* add another song into foo/
* rescan the library
expected result:
** the new file appears
actual result:
** it doesn't
This bug happens because the bexists variable is not reset for each loop
iteration. Thus, as soon as a single file is rediscovered in the
library, bexists remains true for every other file.
owen
=== modified file 'mixxx/src/trackplaylist.cpp'
--- mixxx/src/trackplaylist.cpp 2009-03-06 00:14:59 +0000
+++ mixxx/src/trackplaylist.cpp 2009-07-15 02:43:54 +0000
@@ -322,6 +322,7 @@
while (it.hasNext())
{
fi = it.next();
+ bexists = false;
//Check if the scan has been cancelled.
m_qLibScanMutex.lock();
------------------------------------------------------------------------------
Enter the BlackBerry Developer Challenge
This is your chance to win up to $100,000 in prizes! For a limited time,
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize
details at: http://p.sf.net/sfu/Challenge
_______________________________________________
Mixxx-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mixxx-devel