Hi Guys,
i need help with writing a program and unfortunately i don’t know how to start. I have already implemented a number of Raspberry projects, but only according to instructions or I only had to make small changes, for which I was able to work out the solution specifically with the help of google.
Now I want to create something completely own, for which I couldn’t find anything comparable on the Internet that I can paraphrase.
It’s about the following and probably also quite simple project:
I need a video player that pulls random videos from different folders and plays them back. The function should then be as follows:
The Raspberry starts up and pulls a random video from “Folder 1”. The randomly selected video should now play in a continuous loop until a button is pressed via GPIO. When the button is pressed, a random video from “Folder 2” should be played. As soon as this video has expired, a random video from “Folder 3” should start. As soon as this video is played, a random video from “Folder 1” should be played in a loop again, as at the beginning, until the button is pressed.
That’s all. It would be “a nice to have” if I can feed the videos to the memory card via my network. However, the videos have to be saved locally on the Pi’s memory card or an plugged in USB stick, since the application should also work without a network connection when on the move.
Can someone help me with this or, even better, write me a corresponding program?
Of course, I would also be grateful and, depending on the actual effort, give the helping person a discount on my mirror (if there is interest in it) or something similar. I would be really very grateful. Unfortunately I can’t do it alone and I just don’t have the time to teach myself everything to make this project a reality.
Thanks in Advance
Chriz