@property
    def media_duration(self):
        # Time does not exist for streams
        return self.currentsong.get('time')
Duration of current playing media in seconds.
dataset/ETHPy150Open home-assistant/home-assistant/homeassistant/components/media_player/mpd.py/MpdDevice.media_duration