Hi want to add a movie system to my retropie. Therefor i downloaded and installed OMXPlayer. Then i added this
<system>
<fullname>Movies</fullname>
<name>movies</name>
<path>~/RetroPie/roms/movies</path>
<extension>.mkv .MKV</extension>
<command>omxplayer -o hdmi -r %ROM%</command>
<theme>movies</theme>
</system>
to the es_config file and added a movies Theme to the themes folder.
I can select a movie and it starts but my keyboard inputs arent detected from omxplayer so i cant leave the movie and need to reboot which works from keyboard.
I also tried it with an sh file and opened omx in xterm
xterm -fullscreen -fg black -bg black -e omxplayer -o hdmi -r $1
but then i get a display error..
I probably have to kill Emulationstation and restart after closing the movie but i am new with bash and dont know how to do callbacks.
Thanks for the time