Automatic video or audio loop for digital posters and audiovisual installations using Raspberry Pi hardware