Skip to content
This repository was archived by the owner on Sep 12, 2022. It is now read-only.
This repository was archived by the owner on Sep 12, 2022. It is now read-only.

Controls do not work anymore on Raspbian Buster #101

Description

@twinstef

Hello,
I try to use RaspberryCast on a Raspberry Pi3 A+ under Raspbian BUSTER
I can launch a video put can't control it.

  • commands like pause, quit, volume ... etc do not works at all.

When i look to source code, the command are launched via the fifo file /tmp/cmd with code like:

echo -n q >> /tmp/cmd

But this way to pilot omxplayer does not work anymore on Buster !
See this issue: popcornmix/omxplayer#737

Perhaps a more robust way to control omxplayer could be:
p = subprocess.Popen(['/usr/bin/omxplayer ......'], stdin=subprocess.PIPE, stdout=subprocess.PIPE, stderr=subprocess.PIPE, shell=True)
and then:
p.communicate(input='q')
But i not tried it to see if it works under buster

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