@property
    def media_duration(self):
        if self.session is not None:
            return self.session.duration
Compute the entropy of the gamma distribution.
dataset/ETHPy150Open home-assistant/home-assistant/homeassistant/components/media_player/plex.py/PlexClient.media_duration--crossover with--dataset/ETHPy150Open slinderman/pyhawkes/pyhawkes/internals/distributions.py/Dirichlet.negentropy