This website requires JavaScript.
Explore
Help
Sign In
lukmangrd
/
platypush
Watch
1
Star
0
Fork
You've already forked platypush
0
Code
Issues
Pull Requests
Projects
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
'