'Returns the percentage of prebuffering for Video-On-Demand already
completed.
@return A float (0..1)'

def get_vod_prebuffering_progress(self):

    if (self.stats is None):
        if ((self.status == DLSTATUS_STOPPED) and (self.progress == 1.0)):
            return 1.0
        else:
            return 0.0
    else:
        return self.stats['vod_prebuf_frac']
