rogro82 / PiPup

Enhanced notifications for Android TV
237 stars 71 forks source link

My photo is not showing #59

Closed reyur closed 5 months ago

reyur commented 5 months ago

Hello.

I want to display a screenshot from my camera using a link like: https://MYADDRESS.eu.jeedom.link/plugins/camera/core/php/snapshot.php?id=MYID&apikey=MYKEY If I access this URL from my browser, I obtain an image in jpg format. On the other hand, this is not displayed with PipUp. JPG format not supported? Or problems because the format is not specified in the URL?

Thank you.

wendy2702 commented 5 months ago

HTTPS might be the problem.

Can you try with http only!?

reyur commented 5 months ago

Maybe HTTPS, maybe authentication on jeedom. I tried with 'autologin' (a jeedom plugin) : http://192.168.2.XX/plugins/autologin/core/php/go.php?apikey%BLABLABLA&id%BLABLA

--> With TV browser, I can access my photo. --> With PIPup, same problem (no photo).

wendy2702 commented 5 months ago

Are you able to get a simple text message displayed with Pipup?

reyur commented 5 months ago

Yes, the text displays perfectly. It's definitely a problem with the image.

wendy2702 commented 5 months ago

Can you provide the image?

reyur commented 5 months ago

snapshot Thank you for your help!

reyur commented 5 months ago

Hello. It's actually an authentication issue. The url does not point directly to an image, but first does something to authenticate, so it doesn't work. I get around the problem by displaying a web page, and not an image.