ptrumpis / snap-camera-server

An alternative, self-hosted solution that allows you to continue using Snap Camera with all Snapchat filters after its shutdown on January 25, 2023.
https://github.com/snapcamera
MIT License
351 stars 44 forks source link

lens placeholder images not loading #103

Closed dingerr closed 9 months ago

dingerr commented 9 months ago

Please make sure the Wiki and Discussions section does not solve your problem:

If you are having technical difficulties please provide the following information: System (please complete the following information):

Hi, a lot of my lenses placeholder pictures are not loading. I will attach an image of what it shoes for the placeholder image. I love your work and appreciate all that you have done for snapcam etc. Hope to hear back from you soon, thanks again!

df3459b88c6b731918e76b2c38d6c903
ptrumpis commented 9 months ago

There was another undocumented change in version 3.2.0. I forgot to add it to the changelog (I'll update the changelog).

Some Snap lenses do not have a preview image at all and some lenses do not load the image due to a network error. Before v3.2.0 it was not possible to visually distinguish these two cases.

In v3.2.0, Snap lenses with their thumbnails missing will be shown with the default images provided by the server. These images are located in the server directory under "/nginx/snap-camera-media". see here

The images are not particularly beautiful by default, but they clearly stand out. You are welcome to edit them in your directory.

It would be nice if you could give me 2-3 share links to snap lenses that have the problem. Then I can check whether these lenses really do not contain their own thumbnail or whether there is a bug.

dingerr commented 9 months ago

sure, let me find some. https://www.snapchat.com/unlock/?type=SNAPCODE&uuid=681bc9199731473e8b21970e6b7b10b8&metadata=01 https://www.snapchat.com/unlock/?type=SNAPCODE&uuid=859b52f8dc4c45929f530d8026c274f1&metadata=01 https://www.snapchat.com/unlock/?type=SNAPCODE&uuid=cbd6fb0945c24219a00c744a972fe4f0&metadata=01 https://www.snapchat.com/unlock/?type=SNAPCODE&uuid=0716fb48ac8c4d54a9999e5e7623bc7e&metadata=01

ptrumpis commented 9 months ago

Thank you, I'll provide a fix shortly

dingerr commented 9 months ago

awesome! thanks for the quick response, I really appreciate all you do, and me and my friends use snapcam daily. :) also please let me know if you ever need any help with testing / beta updates or whatever, I'd be honored to help.

dingerr commented 9 months ago

@ptrumpis Any luck with finding the root of the issue or a workaround? I am still having / it is showing no placeholder image for almost the majority of my filters. Again much appreciated.

ptrumpis commented 9 months ago

Resolved with Patch Release v3.2.1