Read the statement by Michael Teeuw here.
Video player -> would someone like to help me to write a program?
-
I need something simple that works according to the following example scheme:
Start loop
Select random Video from Folder “placeholder 1”
IF GPIO “XY” ist true
THAN Select random Video from Folder “placeholder 2”
ELSE Loop previous selected Video from Folder “placeholder 1”
IF selected random Video from Folder “placeholder 2” is over
THAN select random Video from Folder “placeholder 3”
IF selected random Video from Folder “placeholder 3” is over
THAN go Back to start
End Loop -
@Goldjunge_Chriz got it… will check if i can help you with it. Is it fine that background script is starting and stopping the player based on GPIO input ?
-
@ashishtank said in Video player -> would someone like to help me to write a program?:
@Goldjunge_Chriz got it… will check if i can help you with it. Is it fine that background script is starting and stopping the player based on GPIO input ?
the player should actually always run automatically. So boot up and automatically play the first random video from “placeholder 1”. once all steps have been processed, he should simply play a video from “placeholder 1” again until the button is pressed. And so on in a loop, until you shut down the raspberry. I would like to avoid one or more actions.
Thank you in advance, I think it’s great that you want to help :)
-
Yes, i can help. infect i have also seen few open source scripts/players where one or more things are controlled by GPIO. I have limited time so i can not commit any time line for this yet.
-
OK. I had actually hoped for relatively quick help, but if it doesn’t work sooner I’ll have to live with it :) I’m happy if someone supports me at all :)
-
@Goldjunge_Chriz could you two take this to email or chat. thanks
-
Hi @Goldjunge_Chriz you can check below post this have mostly similar feature. few changes and it should work for you. I am replying here so if some one have different opinion or better solution then can suggest, if you have any query for the below then do send me chat.
https://www.instructables.com/id/Raspberry-Pi-video-player-for-Children/
-
that looks very, very interesting.
Can you help adapt the code for my needs? :) that with the playlists seems like a really interesting approach.
-
No other ideas or help ? 😟