-
-
Notifications
You must be signed in to change notification settings - Fork 87
Issue: Image metadata is lost when moving image to a different folder #623
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Thanks, @polynook for opening an issue. I need to think about a way to re-map the media files and their metadata. |
There was an issue in the move file listener. This will be fixed in the upcoming beta. I also added a new unmapped files feature. When editing a file's metadata, a check will be performed against the metadata, which is not linked to any file with the same filename. In the following recording you can see the updates:
Screen.Recording.2023-09-14.at.17.12.09.mov |
Thanks for improvements, @estruyf. I've been testing them and the unmapped media feature seems to work great, but the metadata is not being moved in my case. Code_2023-09-15_13-42-59.mp4After checking the |
Thanks @polynook for testing. It's good to see that at least the remapping works. I will have to check if it would have anything to do with VSCode listeners on Windows. |
Just to add a bit more context, I'm running Front Matter inside a Debian 11 dev container in WSL 2. Maybe it'll be helpful. |
Think I know what can cause it, should be fixed in the next beta. |
Beta has been released. |
Phenomenal work, @estruyf! Works well now. Thanks. |
Describe the bug
When moving an image with metadata from one folder into another, its metadata is lost in
mediaDb.json
.mediaDb.json
before moving:mediaDb.json
after moving tonew
folder:To Reproduce
Steps to reproduce the behavior:
mediaDb.json
— new image location is updated inmediaDb.json
, but all metadata is lost.Expected behavior
When moving an image with metadata in VS Code file browser to another folder, image metadata should be retained in
mediaDb.json
.The text was updated successfully, but these errors were encountered: