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:
parent
b503536d57
commit
3e458e2d9f
|
@ -12,8 +12,8 @@ list<LibraryPath> path_list;
|
|||
|
||||
static void do_update(list<LibraryPath>::iterator it)
|
||||
{
|
||||
it->update();
|
||||
it->validate();
|
||||
it->update();
|
||||
}
|
||||
|
||||
namespace libsaria
|
||||
|
|
Loading…
Reference in New Issue