Hello everyone,
I got the assignement to transform a Raspberry Pi into a Videolooper on Startup. The thing is, i have never worked with a Raspberry Pi at all. So my first thought was to install Raspberry Pi OS on it.
One main Problem is, that i cannot connect the rasp to the internet. So i was forced to only use the utilities given with the OS(vlc media is installed). And on top of that i saw this as a learning opportunity (so dont use OS image files ), so im basically trying to write a script to loop the presentation.
I was able to get to a point where Rasp plays the video on startup. I did that with a .desktop file.
https://forums.raspberrypi.com/viewtopic.php?t=17051
Now the problem with the Method described in the post is that you have to have the Video file located at a specific spot on the rasp with a specific name.
But the looper has one main cirteria:
- the video is supposed to be located on a usb stick, with ideally no name
specifications
I have been trying to run everything through a bashscript but find myself limited by my minimal knowledge on Linux.
I got a hint to try using systemd services. That's a thing Im looking into.
Im not expecting anyone to give me a full script on how to create a videolooper. Id sum up my post in a couple of questions:
1. Does it make sense to use a Bashscript for this particular purpous.
2. If Bashscripts are the way to go, how do I retrieve a file from a usb-stick using a
Bashscript.
3. Does anyone have some good reasources to learn about systemd services or .desktop
or at the very least some nudges to the write direction?