I have a question that i hope somebody can help me with.
At work (i work as a designer and IT Manager for a company who designs and installs indoor playgrounds) we are trying work out an idea we have regarding a new play item to use in our playgrounds.
The idea was to create a kind of interactive traffic circuit combined with images that we are going to project using beamers, sound and some IO stuff for infrared etc.
Now the IO part is working but i have a problem with the code i should use regarding the images.
When i use the terminal with feh i have no problem to display the images fullscreen, but this does not seem to work very well from within python (or i am doing something wrong, kind of a python novice to be honest, but working on it )
From the terminal, i use the following command :
Code: Select all
feh --hide-pointer -x -q -B black -g 1280x800 /path/to/image/pic.jpg
Could somebody help me out, what i need it that the image is displayed fullscreen (1280x800) for a numer of seconds and at the same time it should also play the sound. Now for the sound part, i did not go into that part deeper so maybe this will be easy but i am completely stuck, so i hope somebody could help me out with some code i can put into the rest of my code.
And any tips regarding the sound code would also help me out immensely. the idea is that it keeps playing/repeating a specific mp3 file for a specific number of seconds.
Hope somebody could help me out,
Thanks a lot for any input.