Describe the bug
When you update metadata in the 0.4.0 release it duplicates the note currently have open if it isn't located in the default folder for new files.
To Reproduce
Steps to reproduce the behavior:
- Add a movie using the plugin
- Move it to another folder
- Press the button to update the metadata
- The note gets duplicated again in the default folder (with all content intact however)
Expected behavior
Ideally it would update the currently open note rather than re-create it with the note content intact.
Occurs on
Plugin version
0.4.0
Edit: The same also happens if you rename the file but the file stays in the default folder.