@property
def media_duration(self):
    'Duration of current playing media in seconds.'
    if ((self._properties is not None) and (not self._properties['live'])):
        total_time = self._properties['totaltime']
        return (((total_time['hours'] * 3600) + (total_time['minutes'] * 60)) + total_time['seconds'])
Duration of current playing media in seconds.
@property
def media_duration(self):
    
    if ((self._properties is not None) and (not self._properties['live'])):
        total_time = self._properties['totaltime']
        return (((total_time['hours'] * 3600) + (total_time['minutes'] * 60)) + total_time['seconds'])