OMX Player for Movies
#1
Hi all  Smile (my first post here)

After not being successfull getting Kodi working I've decided to try to use the already built in omxplayer.
I'm really happy that it worked!

To have controls you have to install joj2key first (apt install joy2key)
This is how my es_systems.cfg entry looks like

Code:
 <system>
   <name>movies</name>
   <fullname>Movies</fullname>
   <path>/home/pi/RetroPie/roms/movies</path>
   <extension>.avi .mp4</extension>
   <command>joy2key -terminal -thresh 32767 -32767 16383 -16383 -axis d s w a -buttons + z z - ' ' q & omxplayer %ROM% --key-config=/home/pi/omxkeys.txt ; killall joy2key </command>
   <platform>movies</platform>
   <theme>movies</theme>
 </system>

As omxplayer did not recognize left-right-up-down properly I had to remap the controls.
omxkeys.txt

Code:
PAUSE:hex 0X20 #SPACE key
EXIT:q
SEEK_FORWARD_LARGE:w
SEEK_BACK_LARGE:a
SEEK_FORWARD_SMALL:s
SEEK_BACK_SMALL:d
DECREASE_VOLUME:-
INCREASE_VOLUME:+

Movies as a System:
   
Reply
#2
Oh, awesome! I'm very glad you posted this info here. Thank you very much for sharing!
Card Fighters' Clash 2 English Translation ( http://cfc2english.blogspot.com/ )
Neo Geo Pocket Flash Cart and Linker Project ( http://www.flashmasta.com/ )
Avatar art thanks to Trev-Mun ( http://trevmun.deviantart.com/ )
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)