This website requires JavaScript.
Explore
Help
Sign In
platypush
/
platypush
Watch
2
Star
2
Fork
You've already forked platypush
4
Code
Issues
42
Pull Requests
Packages
Projects
4
Releases
Wiki
Activity
d59044fa2d
platypush
/
platypush
/
plugins
/
media
/
__init__.py
9 lines
103 B
Python
Raw
Normal View
History
Unescape
Escape
- Introduced a more consistent Enum for managing playing states across different players - media.ctrl can now spot which player is playing and control only the right one - Extended video.omxplayer plugin methods
2018-04-20 12:17:27 +02:00
import
enum
class
PlayerState
(
enum
.
Enum
)
:
STOP
=
'
stop
'
PLAY
=
'
play
'
PAUSE
=
'
pause
'