Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
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


Messages In This Thread
OMX Player for Movies - by Nic Lobo - 11-16-2019, 10:51 PM
RE: OMX Player for Movies - by Flavor - 11-17-2019, 07:44 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)