aboutsummaryrefslogtreecommitdiffstats
path: root/mediagoblin/gmg_commands/batchaddmedia.py
diff options
context:
space:
mode:
authortilly-Q <nattilypigeonfowl@gmail.com>2014-04-21 12:07:33 -0400
committertilly-Q <nattilypigeonfowl@gmail.com>2014-04-21 12:11:12 -0400
commit45f426ddee9900439c086a8bb3d1cfaedf3eca6f (patch)
treed7d4cec8763ee766b00a498582ad7b2d009e09c0 /mediagoblin/gmg_commands/batchaddmedia.py
parent0bfb4089cc187113a7808eed6643a73c86bb01cb (diff)
downloadmediagoblin-45f426ddee9900439c086a8bb3d1cfaedf3eca6f.tar.lz
mediagoblin-45f426ddee9900439c086a8bb3d1cfaedf3eca6f.tar.xz
mediagoblin-45f426ddee9900439c086a8bb3d1cfaedf3eca6f.zip
Made it possible to submit media with the metadata provided
Diffstat (limited to 'mediagoblin/gmg_commands/batchaddmedia.py')
-rw-r--r--mediagoblin/gmg_commands/batchaddmedia.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/mediagoblin/gmg_commands/batchaddmedia.py b/mediagoblin/gmg_commands/batchaddmedia.py
index deb6c5bd..b6fd2763 100644
--- a/mediagoblin/gmg_commands/batchaddmedia.py
+++ b/mediagoblin/gmg_commands/batchaddmedia.py
@@ -178,6 +178,7 @@ FAIL: Local file {filename} could not be accessed.".format(filename=filename)
title=maybe_unicodeify(title),
description=maybe_unicodeify(description),
license=maybe_unicodeify(license),
+ metadata=json_ld_metadata,
tags_string=u"",
upload_limit=upload_limit, max_file_size=max_file_size)
print "Successfully uploading {filename}!".format(filename=filename)