metadata doesn't update after sync anymore
Hey!
This once was an issue, but got fixed ages ago. It seems somewhere in the later updates, this issue has been brought back.
When I change metadata, but not the file name, Astiga never updates the new metadata on sync. Due to this, a typo in for example album names stay stuck. This is especially annoying on album names, track titles and artist names as that means the scrobbles also get messed up (but shouldn't really happen anywhere).
For now, I ran a separate sync with force refresh on the folders of the affected albums, but that is more a work around than a fix.
Comments
Can you link to where it got fixed previously? From memory, sync has always been based on filename rather than modified date.
I can't seem to find it back. But I'm near certain that updating metadata without changing file names used to work.
Either way, regardless of what it used to do I would expect updating on sync to be the desired behavior. After all, you don't want to have to alter your naming standards for fixing typo's or updating cover art.
I'll review this 👍️
I think I can see the problem. Synchronisation relies on the storage integration (SFTP in your case) returning an identifier that identifies the revision of a file (we call this a "tag"). The SFTP integration doesn't include this, therefore files are not differentiated when they are updated.
However, I think we should be able to see the
mtime
for each file. If this works out (I should spike it) I think we could generate a tag combining the path and the mtime. I think that should work.That would explain why I thought it worked before. My previous storages used different integrations.
Hope it works, sounds like a decent fix!
We've implemented this. Here are the next steps:
I've completed steps 1 and 2, so could you edit some metadata and let me know the path to the file(s) changed? (You could try a few if you like, and send via email).