metadata doesn't update after sync anymore

CambionnCambionn Member

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

  • gravelldgravelld Administrator

    Can you link to where it got fixed previously? From memory, sync has always been based on filename rather than modified date.

  • CambionnCambionn Member
    edited September 2

    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.

  • gravelldgravelld Administrator

    I'll review this 👍️

  • gravelldgravelld Administrator

    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!

  • gravelldgravelld Administrator

    We've implemented this. Here are the next steps:

    1. We'll set up a test version of the sync server.
    2. I'll send a resync for your account - this will resync everything because all of the tags are now set.
    3. You change some metadata on a file and make sure it's updated in the storage. Change a field we actually use (you can see these under the "... -> Details" for songs)
    4. I'll send a new resync through, and see if the change is taken.
  • gravelldgravelld Administrator

    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).

Sign In or Register to comment.