immichFrame / ImmichFrame

GNU General Public License v3.0
469 stars 20 forks source link

TransitionDuration settings does not affect transtion time on web view #146

Closed miloszlipski closed 1 month ago

miloszlipski commented 1 month ago

Version

ghcr.io/immichframe/immichframe:main

Deployment Method

hosted on unraid, displayed on web (chromium browser)

Description

TransitionDuration settings does not affect transtion time on web view, immiches are switching every 7-10 seconds, no matter what I set in config file

Reproduction

just instaled fresh docker on unraid and oppened web url, in my case it is http://192.168.8.101:8888/

Expectations

I want to slow down images transistion

Configuration

{
  "ImmichServerUrl": "https://...",
  "ApiKey": "...",
  "ImageStretch": "Uniform",
  "Margin": "0,0,0,0",
  "Interval": 12000,
  "TransitionDuration": 50,
  "DownloadImages": false,
  "ShowMemories": true,
  "RenewImagesDuration": 45,
  "Albums": [ "f7518b7b-0e12-4c75-93da-e1781bed4f6c","00f7ee44-7db8-41aa-8929-435dcfc2c3dd","b26d7b27-458a-4b32-bdec-c2abcb851c8d"],
  "ExcludedAlbums": ["c6b1e345-e482-401b-9e73-ad6d009cc04d"],
  "RefreshAlbumPeopleInterval": 2,
  "ImmichFrameAlbumName": "",
  "ShowClock": true,
  "ClockFontSize": 36,
  "ClockFormat": "HH:mm:ss",
  "ShowPhotoDate": true,
  "PhotoDateFontSize": 24,
  "PhotoDateFormat": "dd-MM-yyyy",
  "ShowImageDesc": true,
  "ImageDescFontSize": 24,
  "ShowImageLocation": true,
  "ImageLocationFormat": "City, Country",
  "ImageLocationFontSize": 16,
  "FontColor": "#FF5733",
  "WeatherApiKey": "",
  "ShowWeatherDescription": false,
  "WeatherFontSize": 24,
  "UnitSystem": "imperial",
  "WeatherLatLong": "",
  "Language": "pl",
  "UnattendedMode": false
}

Logs

text  error  warn  system  array  login  

info: Microsoft.Hosting.Lifetime[0]
      Hosting environment: Production
info: Microsoft.Hosting.Lifetime[0]
      Content root path: /app
warn: Microsoft.AspNetCore.HttpsPolicy.HttpsRedirectionMiddleware[3]
      Failed to determine the https port for redirect.
info: Microsoft.Hosting.Lifetime[0]
      Application is shutting down...
info: Microsoft.Hosting.Lifetime[14]
      Now listening on: http://[::]:8080
info: Microsoft.Hosting.Lifetime[0]
      Application started. Press Ctrl+C to shut down.
info: Microsoft.Hosting.Lifetime[0]
      Hosting environment: Production
info: Microsoft.Hosting.Lifetime[0]
      Content root path: /app
warn: Microsoft.AspNetCore.HttpsPolicy.HttpsRedirectionMiddleware[3]
      Failed to determine the https port for redirect.
info: Microsoft.Hosting.Lifetime[0]
      Application is shutting down...
info: Microsoft.Hosting.Lifetime[14]
      Now listening on: http://[::]:8080
info: Microsoft.Hosting.Lifetime[0]
      Application started. Press Ctrl+C to shut down.
info: Microsoft.Hosting.Lifetime[0]
      Hosting environment: Production
info: Microsoft.Hosting.Lifetime[0]
      Content root path: /app
warn: Microsoft.AspNetCore.HttpsPolicy.HttpsRedirectionMiddleware[3]
      Failed to determine the https port for redirect.
info: Microsoft.Hosting.Lifetime[0]
      Application is shutting down...
info: Microsoft.Hosting.Lifetime[14]
      Now listening on: http://[::]:8080
info: Microsoft.Hosting.Lifetime[0]
      Application started. Press Ctrl+C to shut down.
info: Microsoft.Hosting.Lifetime[0]
      Hosting environment: Production
info: Microsoft.Hosting.Lifetime[0]
      Content root path: /app
warn: Microsoft.AspNetCore.HttpsPolicy.HttpsRedirectionMiddleware[3]
      Failed to determine the https port for redirect.
info: Microsoft.Hosting.Lifetime[0]
      Application is shutting down...
info: Microsoft.Hosting.Lifetime[14]
      Now listening on: http://[::]:8080
info: Microsoft.Hosting.Lifetime[0]
      Application started. Press Ctrl+C to shut down.
info: Microsoft.Hosting.Lifetime[0]
      Hosting environment: Production
info: Microsoft.Hosting.Lifetime[0]
      Content root path: /app
warn: Microsoft.AspNetCore.HttpsPolicy.HttpsRedirectionMiddleware[3]
      Failed to determine the https port for redirect.
info: Microsoft.Hosting.Lifetime[0]
      Application is shutting down...
info: Microsoft.Hosting.Lifetime[14]
      Now listening on: http://[::]:8080
info: Microsoft.Hosting.Lifetime[0]
      Application started. Press Ctrl+C to shut down.
info: Microsoft.Hosting.Lifetime[0]
      Hosting environment: Production
info: Microsoft.Hosting.Lifetime[0]
      Content root path: /app
warn: Microsoft.AspNetCore.HttpsPolicy.HttpsRedirectionMiddleware[3]
      Failed to determine the https port for redirect.
info: Microsoft.Hosting.Lifetime[0]
      Application is shutting down...
info: Microsoft.Hosting.Lifetime[14]
      Now listening on: http://[::]:8080
info: Microsoft.Hosting.Lifetime[0]
      Application started. Press Ctrl+C to shut down.
info: Microsoft.Hosting.Lifetime[0]
      Hosting environment: Production
info: Microsoft.Hosting.Lifetime[0]
      Content root path: /app
warn: Microsoft.AspNetCore.HttpsPolicy.HttpsRedirectionMiddleware[3]
      Failed to determine the https port for redirect.
info: Microsoft.Hosting.Lifetime[0]
      Application is shutting down...
info: Microsoft.Hosting.Lifetime[14]
      Now listening on: http://[::]:8080
info: Microsoft.Hosting.Lifetime[0]
      Application started. Press Ctrl+C to shut down.
info: Microsoft.Hosting.Lifetime[0]
      Hosting environment: Production
info: Microsoft.Hosting.Lifetime[0]
      Content root path: /app
warn: Microsoft.AspNetCore.HttpsPolicy.HttpsRedirectionMiddleware[3]
      Failed to determine the https port for redirect.

Pre-Submission Checklist

JW-CH commented 1 month ago

Hello @miloszlipski, thank you for the issue.

The web package for immichFrame is rather new and in active developement. These config-values are fully working in the immichFrame client app, but are not implemented as of now for the docker container. Could you comment an optimal duration (in seconds) that I can set this to for now? I am sorry for the trouble.

New features for the web are coming. Thanks for commenting.

miloszlipski commented 1 month ago

Ah ok. That's fine. Could you set it to 45 seconds? And when it comes to config I would suggest to add unit into config variable name. So for example if we have RefreshAlbumPeopleInterval, it is in hours I think, so what about renaming this into RefreshAlbumPeopleIntervalHours. Same for others, coz now you can't tell without looking into implementation in what unit it is. Or maybe we can mention this in readme.

JW-CH commented 1 month ago

@miloszlipski just a quick update on this, the duration of images and the date-format is now configurable. More settings will be reimplemented soon :)