carddav2fb icon indicating copy to clipboard operation
carddav2fb copied to clipboard

Ignore duplicates

Open pucicu opened this issue 7 years ago • 1 comments

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

pucicu avatar Jan 11 '18 22:01 pucicu

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)

carlos22 avatar Jan 26 '18 13:01 carlos22