spetrovi / songbook

GNU General Public License v3.0
2 stars 0 forks source link

Preserve library uuids #22

Closed spetrovi closed 9 months ago

spetrovi commented 9 months ago

When adding new songs to the library via importer, we loose song/source uuids. If there are any songbooks created, it leads to error (because the user database works with the old ids)

spetrovi commented 9 months ago

So far I resolved this by storing the uuids in the metadata files on file system. For some back-compatibility and ease of use, we won't force the user to generate uuid and paste it there, we'll just do it for them and update the metadata.json.

If there is a better way to do this, let me know