> Just to be clear the query should be: > "DELETE FROM tracks where url = %1;" where %1 is the id? Yup, making this fix solved the issue of the tree-view not updating, however deleting empty artists/albums should be done if there aren't any FK constraints.