04-01-2024, 03:52 PM
Hi Mike,
I completely understand what you mean.
I can understand both ways of thinking and how the 'receiving' side can't distinguish a swap from a replacement.
Maybe you could add a switch/flag on the Song-level in the swapping screen through which the user indicates whether the new file is a new version of the PDF of a new version of the song (or 'Synced devices must keep/remove annotations').
Maybe you could use that information in the sync logic where the code has to determine whether to keep or trash the annotations.
Something like: if a new PDF is found for this song: if Keep_annotations = true: keep annotations, else: delete annotations.
I completely understand what you mean.
I can understand both ways of thinking and how the 'receiving' side can't distinguish a swap from a replacement.
Maybe you could add a switch/flag on the Song-level in the swapping screen through which the user indicates whether the new file is a new version of the PDF of a new version of the song (or 'Synced devices must keep/remove annotations').
Maybe you could use that information in the sync logic where the code has to determine whether to keep or trash the annotations.
Something like: if a new PDF is found for this song: if Keep_annotations = true: keep annotations, else: delete annotations.
René