python-omxplayer-wrapper icon indicating copy to clipboard operation
python-omxplayer-wrapper copied to clipboard

pause() is not working anymore

Open lookaffe opened this issue 6 years ago • 1 comments

the command player.pause() is not working

I've tested with this example: `#!/usr/bin/env python3

from omxplayer.player import OMXPlayer from pathlib import Path from time import sleep

VIDEO_PATH = Path("../tests/media/test_media_1.mp4")

player = OMXPlayer(VIDEO_PATH)

sleep(5)

player.quit()` changhing the last line in player.pause(). Is it working the first time and then I tried to use it in my software. After a while it doesn't work anymore. I tested the same example and the quit() command works, the pause() command not.

Environment details

Distributor ID: Raspbian
Description:    Raspbian GNU/Linux 10 (buster)
Release:        10
Codename:       buster
Software Version
python-omxplayer-wrapper 0.3.2
python-dbus (dpkg -s python-dbus) `1.2.8.3
python (python --version) 3.7.3
omxplayer (omxplayer --version) f06235c

lookaffe avatar Jul 23 '19 14:07 lookaffe

I noticed the same issue after updating my OS. I guess I had an older version before the update.

Gillissie avatar Jun 14 '22 22:06 Gillissie