andig / carddav2fb

Download CardDAV VCards and upload as phonebook to AVM FRITZ!Box
63 stars 19 forks source link

Fritz!Fon does not update images when changed image was uploaded to Fritz!Box #84

Closed derwok closed 5 years ago

derwok commented 5 years ago

(PR will follow!)

Hardware: Fritz!Box (FW 06.85) Fritz!Fon C5 (FW 02.04.09)

Steps to reproduce:

Expected: new image is shown in FritzFon Actual: old image is shown in FritzFon

Observation#1: in the FritzBox web interface the new image is shown Observation#2: in the FritzBox FTP server the new image has a newer time stamp (so, it actually was uploaded!)

I tried various ways to force the update of the image inside FritzFon

Seems the FritzFon has some very sticky internal cache implemented (that stupidly ignores the FTP servers timestamp of the files) :-(

I then tested a "quick hack":

I prepared a PR that does exactly this on image FTP uploads: