libsaria: Validate library before adding new songs

If a file has been moved to another location in the same library root
the new location won't be added since it'll have the same inode number.
The track would then be removed during the library validation step.  I
switch the order for correctness.
This commit is contained in:
Bryan Schumaker 2012-01-04 08:22:21 -05:00
parent b503536d57
commit 3e458e2d9f
1 changed files with 1 additions and 1 deletions

View File

@ -12,8 +12,8 @@ list<LibraryPath> path_list;
static void do_update(list<LibraryPath>::iterator it)
{
it->update();
it->validate();
it->update();
}
namespace libsaria