Closed natloh closed 2 months ago
I've gotten too used to writing modern JS. I was trying to avoid going down the Typescript route but I think it might be worth adding.
@natloh Would you be open to testing out a fix for this using the development docker image?
If so, you can use damongolding/immich-kiosk-development:0.8.1
as your image
in your compose file.
If you are able could you report any issues or fixes to this issue please š
Hey @damongolding
The small projects always get big so quickly haha! This is a great project by the way, solved a need in a much better way than I could do and one I was putting off for a while. Thank you for the work!
Just tested out the dev branch you referenced and it looks to be running smoothly for me on the iPad Air Gen 1.
For posterity, this is the compose file I am using, pause and full screen also look good!
services:
immich_kiosk:
image: damongolding/immich-kiosk-development:0.8.1
container_name: immich_kiosk
environment:
TZ: "America/Los_Angeles"
# Required settings
KIOSK_IMMICH_API_KEY: "*************"
KIOSK_IMMICH_URL: "***************"
# Clock
KIOSK_SHOW_TIME: FALSE
KIOSK_TIME_FORMAT: 12
KIOSK_SHOW_DATE: FALSE
KIOSK_DATE_FORMAT: MMM D
# Kiosk behaviour
KIOSK_REFRESH: 7200
KIOSK_DISABLE_SCREENSAVER: TRUE
# Asset sources
KIOSK_ALBUM: "*************"
#KIOSK_PERSON: "PERSON_ID,PERSON_ID,PERSON_ID"
# UI
KIOSK_DISABLE_UI: FALSE
KIOSK_HIDE_CURSOR: FALSE
KIOSK_BACKGROUND_BLUR: FALSE
KIOSK_TRANSITION: "cross-fade"
# Image display settings
KIOSK_SHOW_PROGRESS: FALSE
KIOSK_IMAGE_FIT: COVER
# Image metadata
KIOSK_SHOW_IMAGE_TIME: FALSE
KIOSK_IMAGE_TIME_FORMAT: 12
KIOSK_SHOW_IMAGE_DATE: FALSE
KIOSK_IMAGE_DATE_FORMAT: MM-DD-YYY
KIOSK_SHOW_IMAGE_EXIF: FALSE
KIOSK_SHOW_IMAGE_LOCATION: FALSE
# Kiosk settings
KIOSK_CACHE: TRUE
ports:
- 3000:3000
restart: on-failure
The small projects always get big so quickly haha!
Don't they just! I now have a typescript and bundler build step š
I'm happy you're getting some use out of Kiosk :)
Describe the bug using the (
?.
) chaining syntax in the kiosk.js file prevents a few older browsers, notably the ipad air 1 running iOS 12.5.7, from working.To Reproduce Steps to reproduce the behavior:
Expected behavior Images should rotate
Your Kiosk version 0.8.0
Your Kiosk installation
The URL used to access Kiosk
Desktop:
Smartphone:
Additional context I made the edits to the JS that can be seen below and have redeployed the docker image under my own fork. Looks like it works as expected. Here is the updated kiosk.js code