I want to know if it's possible to check in omxplayer that it's finished to play a video file.
I use this code to start the omxplayer:
os.system("omxplayer -b /home/pi/Videos/file.mp4")
May be it is possible to run omxplayer so, that after playing the file it's closing itself and with polling to check if omxplayer process exists and if not -> to run the next file?
Thanks a lot!