Skip to content

launch omxplayer-sync on startup  #114

@TheAffair

Description

@TheAffair

Hello- I installed omxplayer-sync on B plus running Stretch. Master works fine. Slave returns the errors below on startup. Can you provide a solve or point me in the right direction please?

I am launching omxplayer-sync with a bash script on start up using this script:
#!/bin/bash
echo startup.sh : Launching omxplayer-sync:
omxplayer-sync -muv hdmi /home/pi/Vides/DFS.mp4

Error:
Traceback (most recent call last)
File "/usr/bin/omxplayer-sync", line 394, in
OMXplayerSync().run()
File "/usr/bin/omxplayer-sync", line 182, in run
self.play_file(self.playlist[self.playlist.index])
File "/usr/bin/omxplayer-sync", line 209, in play file
preexec_fn=os.setsid, stdout=DEVNULL, stderr=DEVNULL, stdin=DEVNULL)
File "/usr/lib/python3.7/subprocess.py", line 775, in_init_
restore_signals, start_new_session)
File "/usr/lib/python3.7/subprocess.py", line 1522, in_execute_child
raise child_exception_type(errnonum, err_msg, err_filename)
FileNotFoundError: [Errno 2} No such file or directory: 'omxplayer': 'omxplayer'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions