platypush/plugins/music/mpd/__init__.py
def play(self, resource=None):
        """
        Play a resource by path/URI

        :param resource: Resource path/URI
        :type resource: str
        """

        if resource:
            self.add(resource, position=0)
            return self.play_pos(0)

        return self._exec('play')

        Play a resource by path/URI

        :param resource: Resource path/URI
        :type resource: str
        
Play a resource by path/URI
Play a resource by path / URI
def play(self, resource=None):
        if resource:
            self.add(resource, position=0)
            return self.play_pos(0)
        return self._exec('play')
def play ( self , resource = None ) : if resource : self . add ( resource , position = 0 ) return self . play_pos ( 0 ) return self . _exec ( 'play' )
Play a resource by path/URI
Play a resource by path / URI
"""
        Play a resource by path/URI

        :param resource: Resource path/URI
        :type resource: str
        """
self
resource
None