Handle collection in batchaddmedia command

Make the batchaddmedia command look for a 'collection-slug' column, that
for each row may specify the slug of a collection that the media should
be added to. This matches the '--collection-slug' argument of the
addmedia command.
This commit is contained in:
Simen Heggestøyl
2017-10-15 13:33:36 +02:00
committed by Boris Bobrov
parent 3eadd6705e
commit 4727ee109e
2 changed files with 3 additions and 0 deletions

View File

@@ -87,6 +87,7 @@ just as easy to provide this information through the correct metadata columns.
- **license** is used to set a license for your piece a media for MediaGoblin's use. This must be a URI.
- **title** will set the title displayed to MediaGoblin users.
- **description** will set a description of your media.
- **collection-slug** will add the media to a collection, if a collection with the given slug exists.
Metadata columns
----------------