reverted updatelibrary (not working in android)

When I suggested this change, I tested on Rpi and Windows.
I being using also in android now, and with the change to update only the folder is not working correctly.
I added only a movie (searched and the added to library), and only If I force update after adding to library, the movie is really added.
It seems that the path in some SO's doesn't work like in others.

Probably the best is to revert to old way that is more secure to work in all systems.