Splitview causes the same photo to show twice sometimes
まだ誰も着手していません。
評価
調査の方向性
The payload does not name the file, so start by finding the C# code that picks the second portrait image for splitview when an album is filtered via the Albums setting. Read how the candidate list is built and how the second image is chosen, then check the splitview path with a small album that has few portrait photos. Done means the second image can never be the same asset as the first, and a test or manual run over many cycles shows no duplicates.
索引モデルが issue の本文から書いたものです。
説明
Version
1.0.28.0
Deployment Method
Desktop and Android
Description
I have splitview enabled by default. It's an album with not too many photos.
Sometimes when a splitview image shows, it shows the same photo twice, side by side. I guess it randomly finds another portrait photo to show, and since there's not a lot, eventually it finds the exact same by chance.
Logs are probably not relevant as I'm running it as a Home Assistant addon.
Reproduction
- Enable splitview.
- Filter with an album with a low amount of pictures (still enough portrait ones so it doesn't ALWAYS happen).
- Wait until eventually a portrait photo will show twice.
Expectations
Same photo to be excluded when finding the second picture.
Configuration
General:
ClockFormat: "HH:mm"
# WeatherApiKey: redacted
# UnitSystem: metric
# WeatherLatLong: 53.380714,-2.1678159999999997
ShowPhotoDate: false
ShowAlbumName: false
ShowImageLocation: false
ShowPeopleDesc: false
ShowImageDesc: false
ShowWeatherDescription: false
ShowProgressBar: false
PrimaryColor: "#fff"
Interval: 300
ImageFill: true
Accounts:
# - ImmichServerUrl: "http://192.168.1.158:8181"
# ApiKey: "redacted"
# ImagesFromDays: 60
# Albums: []
# ExcludedAlbums: []
# People:
# - "79f8359a-bd6b-4fc1-ad71-7e4ad1aa032a"
- ImmichServerUrl: "http://192.168.1.158:8181"
ApiKey: "redacted"
# ImagesFromDays: 60
Albums:
- "4c7d865a-1ce7-49bd-884f-8541c9d9a778"
ExcludedAlbums: []
# People:
# - "0bf41189-7e74-4867-b94a-497c84806c6b"
Logs
Starting...
/etc/cont-init.d/00-banner.sh: executing
-----------------------------------------------------------
Add-on: Immich Frame
Display your immich gallery as a digital photo frame
-----------------------------------------------------------
Add-on version: 1.0.28.0
You are running the latest version of this add-on.
System: Home Assistant OS 16.2
Architecture: amd64 / generic-x86-64
Home Assistant Core: 2025.9.3
Home Assistant Supervisor: 2025.09.0
-----------------------------------------------------------
Please, share the above information when looking for help
or support in, e.g., GitHub, forums
-----------------------------------------------------------
Provided by: https://github.com/alexbelgium/hassio-addons
-----------------------------------------------------------
/etc/cont-init.d/00-global_var.sh: executing
ApiKey=KLaoBzY9N1BW3juoGjaD3xEpMvlg5MSvcU2WxFY7Cs
ImmichServerUrl=http://192.168.1.158:8181
Timezone set from /UTC to Europe/London
/etc/cont-init.d/00-local_mounts.sh: executing
/etc/cont-init.d/00-smb_mounts.sh: executing
/etc/cont-init.d/01-config_yaml.sh: executing
Setting permissions for the config.yaml directory
Load environment variables from /config/config.yaml if existing
If accessing the file with filebrowser it should be mapped to /addon_configs/db21ed7f_immich-frame/config.yaml
---------------------------------------------------------
Wiki here on how to use: https://github.com/alexbelgium/hassio-addons/wiki/Addons-feature:-add-env-variables
/etc/cont-init.d/01-custom_script.sh: executing
Execute /addon_configs/db21ed7f_immich-frame/immich-frame.sh if existing
Wiki here : github.com/alexbelgium/hassio-addons/wiki/Add-ons-feature-:-customisation
... script found, executing
--- Starting custom script for ImmichFrame ---
INFO: Custom CSS file found at /config/custom.css
SUCCESS: Custom CSS copied to /app/wwwroot/static/custom.css
INFO: ImmichFrame YAML config found at /config/custom-settings.yaml
SUCCESS: ImmichFrame YAML config copied to /app/Config/Settings.yml
INFO: YAML config will override environment variables
--- Custom script for ImmichFrame finished ---
/etc/cont-init.d/99-run.sh: executing
[08:56:07] INFO: Starting Immich Frame
_ _ _ ______
(_) (_) | | | ___|
_ _ __ ___ _ __ ___ _ ___| |__ | |_ _ __ __ _ _ __ ___ ___
| | '_ ` _ \| '_ ` _ \| |/ __| '_ \| _| '__/ _` | '_ ` _ \ / _ \
| | | | | | | | | | | | | (__| | | | | | | | (_| | | | | | | __/
|_|_| |_| |_|_| |_| |_|_|\___|_| |_\_| |_| \__,_|_| |_| |_|\___| Version 1.0.28.0
LogLevel: Information
25-09-17 08:56:08 warn: Microsoft.AspNetCore.DataProtection.Repositories.FileSystemXmlRepository[60] Storing keys in a directory '/root/.aspnet/DataProtection-Keys' that may not be persisted outside of the container. Protected data will be unavailable when container is destroyed. For more information go to https://aka.ms/aspnet/dataprotectionwarning
25-09-17 08:56:08 warn: Microsoft.AspNetCore.DataProtection.KeyManagement.XmlKeyManager[35] No XML encryptor configured. Key {4c0188cc-52fb-4063-b1c9-9090955b4e57} may be persisted to storage in unencrypted form.
25-09-17 08:56:08 info: Microsoft.Hosting.Lifetime[14] Now listening on: http://[::]:8080
25-09-17 08:56:08 info: Microsoft.Hosting.Lifetime[0] Application started. Press Ctrl+C to shut down.
25-09-17 08:56:08 info: Microsoft.Hosting.Lifetime[0] Hosting environment: Production
25-09-17 08:56:08 info: Microsoft.Hosting.Lifetime[0] Content root path: /app
Pre-Submission Checklist
-
This is a bug report and not a feature request
-
I have provided all of the required information to reproduce the bug (config, logs, etc.)
-
I have checked for related issues and checked the documentation
- 主要言語
- C#
- スター
- 2.4k
- フォーク
- 121
- 平均マージ
- 18日 20時間
- マージ済み PR(30日)
- 1
環境構築
- Dockerfile または Docker Compose ファイルあり
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
immichFrame/ImmichFrame のほかの issue
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
immichFrame/ImmichFrame#735 ·
-
bug
難易度 4/5 3〜5日 初心者へのやさしさ 56/100
immichFrame/ImmichFrame#733 ·
-
難易度 3/5 1〜2日 初心者へのやさしさ 76/100
immichFrame/ImmichFrame#732 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 22/100
immichFrame/ImmichFrame#731 · リアクション 1 件 ·
-
enhancement
難易度 4/5 3〜5日 初心者へのやさしさ 48/100
immichFrame/ImmichFrame#729 ·
immichFrame/ImmichFrame の issue をすべて見る
似ている issue
-
Feature needs response
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
Adyen/adyen-dotnet-api-library#1907 ·
メンテナーはふだん 5 日以内に返信
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
dimitar-radenkov/Pointframe#318 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
DotHarness/dotcraft#546 ·
メンテナーはふだん 1 日以内に返信
-
a-corriger bug
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
christian-raj/S-Aloha#303 · コメント 1 件 ·
-
Input editor says "Apply Changes" even when no changes have been made.対応中かも @hcooper が今日担当しました。 オープン
難易度 1/5 1時間未満 初心者へのやさしさ 72/100
MobiFlight/MobiFlight-Connector#3526 ·
メンテナーはふだん 1 日以内に返信