Moving plex library to a new drive without losing watched and metadata info

If you are changing folder names, there is only one way: to directly edit the database.

But this way is not for everyone. So it is best not to edit folder names if you have lots of manually edited metadata.