Webhook event that notifies when an image is actually shown

Open
#729 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
48/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Active
Tech stack
csharp
Domain
api, backend

Research direction

Start by reading how the existing AssetRequestedNotification webhook is defined and emitted, then trace where the slideshow determines which picture is actually shown. Identify an appropriate event point and how webhook events are delivered; done means a new webhook notification fires for the displayed picture rather than for a prefetched request.

Written by the indexing model from the issue text.

Description

enhancement
Description

It would be really great to have a webhook event, that tells me when a new picture is shown.

Use Case

I tried to implement a speech command for my home automation, that could tell me info about the picture, that is not stored in the exif data.
Sometimes the place is missing, but it´s included in the folder structure.

After I got it all finished it turned out, that I can not use the AssetRequestedNotification that is available via webhook, because it only tells me that some client requested a picture, but that does not mean its actually been shown.

It turned out, that in my case, the picture I get the AssetRequestedNotification for, is around 5 pictures in the future.

Details

No response

Pre-Submission Checklist
  • This is a feature request and not a bug report

  • I have checked for related issues and checked the documentation

Dominant language
C#
Stars
2.4k
Forks
121
Avg merge
18d 20h
Merged PRs (30d)
1

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from immichFrame/ImmichFrame

All issues in immichFrame/ImmichFrame

Similar issues

More C# issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.