Python media scanner