I don't think this takes iterations into account, try player.source.endTime