obsidian-media-db-plugin icon indicating copy to clipboard operation
obsidian-media-db-plugin copied to clipboard

CSV bulk import how?

Open bespokecomp opened this issue 8 months ago • 3 comments

Hi, really liking the plugin. I have a list of films.

I want to import in bulk, but i don't understand the part about csv

"Bulk Import

The plugin allows you to import your preexisting media collection and upgrade them to Media DB entries. Prerequisites The preexisting media notes must be inside a folder in your vault. For the plugin to be able to query them they need one metadata field that is used as the title the piece of media is searched by. This can be achieved by for example using a csv import plugin to import an existing list from outside of obsidian."

Could anyone please explain exactly how this is done?

bespokecomp avatar Aug 02 '25 12:08 bespokecomp

The csv import is for instance if you have a list from imdb that you'd like to import to mediadb, you'd download the csv export from imdb and then import each line into a separate note using [this plugin]https://github.com/farling42/obsidian-import-json) or another. Once all the csv entries are in a new folder you just right click that folder in obsidian and choose "Import folder as Media DB entries", choose the API and the name of the metadata field that will be used to search.

Important: it only searches by title

Please let me know if you have further questions

ltctceplrm avatar Aug 02 '25 13:08 ltctceplrm

When you generate the initial notes using import-json for this purpose, can they include more meta-date than just the title used for MediaDB to parse? If those fields cold be incorporated into the MediaDB template, that would be pretty fantastic.

mattsigal avatar Aug 12 '25 09:08 mattsigal

You can indeed include more metadata, just take take care that it isn't one of the fields that will be overwritten (any custom field will be safe)

ltctceplrm avatar Aug 13 '25 00:08 ltctceplrm