photOS icon indicating copy to clipboard operation
photOS copied to clipboard

Previous image is visible after video

Open avanc opened this issue 4 years ago • 3 comments

After a video is shown, the previous image is visible again until the next image/video is loaded.

avanc avatar Aug 19 '21 18:08 avanc

add a clear frame function in /usr/bin/photoframe.sh

example: clear_framebuffer() { printf "\033[2J" > /dev/tty1 }

and add it in the start function before omxplayer line clear_framebuffer omxplayer --no-keys "$IMAGE" &

PS: This might not be the best way, but at least the previous image won't be displayed again

Partyarti777 avatar Dec 15 '24 00:12 Partyarti777

@Partyarti777 That's a nice trick, will consider it. Did you tested it? Is there a blank screen or whats happening while the image is loaded?

avanc avatar Dec 18 '24 16:12 avanc

@avanc I use it on my setup. Works for me. Black screen after video, instead of last picture.

Partyarti777 avatar Dec 21 '24 17:12 Partyarti777