platypush/plugins/media/webtorrent/__init__.py
def status(self):
        """
        Get the current player state.

        :returns: A dictionary containing the current state.

        Example::

            output = {
                "state": "play"  # or "stop" or "pause"
            }
        """

        return {'state': self._media_plugin.status().get('state', PlayerState.STOP.value)}

        Get the current player state.

        :returns: A dictionary containing the current state.

        Example::

            output = {
                "state": "play"  # or "stop" or "pause"
            }
        
Get the current player state.
Get the current player state .
def status(self):
        return {'state': self._media_plugin.status().get('state', PlayerState.STOP.value)}
def status ( self ) : return { 'state' : self . _media_plugin . status ( ) . get ( 'state' , PlayerState . STOP . value ) }
Get the current player state.
Get the current player state .
"""
        Get the current player state.

        :returns: A dictionary containing the current state.

        Example::

            output = {
                "state": "play"  # or "stop" or "pause"
            }
        """
A dictionary containing the current state.
Example:.

output = {
"state": "play"  # or "stop" or "pause"
}
A dictionary containing the current state . Example : . output = { " state " : " play " # or " stop " or " pause " }
self