desertblade / PiPup

Enhanced notifications for Android TV
65 stars 5 forks source link

Image caching problem #2

Open Terxeno opened 8 months ago

Terxeno commented 8 months ago

If you send an image with the same name, the same image is displayed on TV until you change the file name.

b0ddu commented 2 months ago

Yes, i have the same problem.... did you figure out ? I used a delay of 3 secs.. still same.. In the browser, i do however see the image with newer timestamp

8666 commented 2 months ago

maybe add random value at the end of request? ..............&random=43523534 (timestamp)

Terxeno commented 2 months ago

maybe add random value at the end of request? ..............&random=43523534 (timestamp)

Yes you are right! Not ideal but working.

b0ddu commented 2 months ago

cool, will try with random.

also - was reading about this caching - it’s not a caching issue. If you want the image to update and you’re using the same image name, you need to display the image as a camera. https://community.home-assistant.io/t/caching-issue-with-camera-snapshot-notification/307822/8?u=sankeerth