From 23635f00f7eb1a21b796302c863e74046cc48ce2 Mon Sep 17 00:00:00 2001 From: Rudi Grinberg Date: Mon, 1 Oct 2012 11:32:42 -0400 Subject: [PATCH] removed bad metadata handling --- python_apps/media-monitor2/media/metadata/definitions.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/python_apps/media-monitor2/media/metadata/definitions.py b/python_apps/media-monitor2/media/metadata/definitions.py index ae81a33f1..51ef6fd14 100644 --- a/python_apps/media-monitor2/media/metadata/definitions.py +++ b/python_apps/media-monitor2/media/metadata/definitions.py @@ -94,8 +94,7 @@ with md.metadata("MDATA_KEY_MD5") as t: t.optional(False) t.translate(lambda k: file_md5(k['path'], max_length=100)) -with md.metadata("MDATA_KEY_OWNER_ID") as t: - t.depends('owner_id') +# owner is handled differently by (by events.py) with md.metadata('MDATA_KEY_ORIGINAL_PATH') as t: t.depends('original_path')