carddav2fb
carddav2fb copied to clipboard
Ignore duplicates
I suggest to add a test for duplicates and ignore them when creating the xml file. In my use case I have several data sources, thus, some entries would occur multiple times in the xml file. Modifying the code a bit I can avoid multiple entries in the Fritz.Box.
Attached is a diff file (not only including the duplicates check but also the modification suggested in the Synology forum):
Best wishes and thanks for the nice carddav2fb tool! Norbert
I think this task should be done on the CardDAV server? There are serveral tools supporting a merge of the contacts with the same name (e.g. CardBook Thunderbird extension)