Fix doctest of get_media_duration