Exponential weighting when randomising the photos to display

Đang mở
#545 1 bình luận 2 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
25/100
Loại issue
Tính năng
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Đình trệ
Công nghệ
csharp
Lĩnh vực
backend

Hướng nghiên cứu

The payload names no files or tests. Start by finding the existing image-selection code that applies a strict 'last X days' cutoff in the C# backend, then read how the random pick is made. Done means an optional exponential-weighting mode that gives recent photos higher selection probability while older ones stay possible. The decay parameter and its configuration are not specified, so confirm the design with maintainers first.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

enhancement
Description

Thanks for the great app!

I have some feedback regarding the image selection feature. Currently, selecting images using a strict cut-off date (e.g., 'the last X days') feels too rigid. While I mostly want to see recent images, I’d occasionally like to see photos from further back in my history as well.

I propose adding an optional 'exponential weighting' feature. This would assign a higher probability of selection to recent images, with the probability gradually decreasing for older images, rather than excluding them entirely.

Use Case

Provides more control over selected variety, resulting in more interesting image rotation.

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

Ngôn ngữ chính
C#
Star
2.4k
Fork
121
Merge trung bình
18 ngày 20 giờ
Pull request đã merge (30 ngày)
1

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của immichFrame/ImmichFrame

Tất cả issue của immichFrame/ImmichFrame

Issue tương tự

Thêm issue về C#

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.