Skip to content

Start, stop and start will end the 2nd video before expected #7

@totty90

Description

@totty90

Here is the exact steps to reproduce (doesn't happen 100% of the times):

  • Start video A;
  • Get status: playing
  • Stop
  • Get status: stopped
  • Start video B
  • Get status the next 0.5 second: playing
  • Then player stops with process exit { '0': 0, '1': null }

I didn't stopped it because the output would be process exit { '0': null, '1': 'SIGTERM' }

Here is the log:

> omx.play(left)
spawn omx process with omxplayer left.mp4
true
> omx.stop();
action quit
true
> undefined
omxplayer still running. kill forced
process exit { '0': null, '1': 'SIGTERM' }
stopped {}
omx.play(init)
spawn omx process with omxplayer init.mp4
trueprocess exit { '0': 0, '1': null }
> 
stopped {}

I've added some logs into the key parts of your lib to get that output.

I've tried with the omxplayer from cli and works as expected.

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