Media DB Plugin

by Moritz Jung
5
4
3
2
1
Score: 62/100

Description

Category: 3rd Party Integrations

The Media DB Plugin plugin enables users to search for and import metadata about various media types, including movies, series, anime, games, music, and books, directly into their Obsidian vault. It supports multiple APIs, offering comprehensive search by title or ID and allows metadata customization through templates. Users can integrate existing media collections, bulk-importing notes from folders and enhancing them with metadata from the plugin. Customization options include renaming metadata fields and appending pre-defined templates to notes. Supported APIs include Jikan, OMDb, MusicBrainz, Wikipedia, Steam, and more, catering to a wide range of media formats.

Reviews

No reviews yet.

Stats

450
stars
57,162
downloads
46
forks
1,438
days
3
days
467
days
91
total PRs
8
open PRs
12
closed PRs
71
merged PRs
177
total issues
63
open issues
114
closed issues
84
commits

Latest Version

README file from

Github

Obsidian Media DB Plugin

A plugin that can query multiple APIs for movies, series, anime, manga, books, comics, games, music, and wiki articles, and import them into your vault.

[!WARNING] Please make sure you are looking at the README on the release branch. The README on the master branch refers to the current in-development version of the plugin.

Features

Search by Title

Search for movies, series, anime, manga, books, comics, games, music releases, or wiki articles by their name across multiple APIs.

Search by ID

Allows you to search by an ID that varies from API to API. Concrete information on this feature can be found in the description of the individual APIs.

Templates

The plugin allows you to set a template note that gets added to the end of any note created by this plugin.
The plugin also offers simple template tags, for example {{ title }}, which will be replaced by the title of the media being imported.
Note that template tags are surrounded by two curly braces and spaces. The spaces inside the curly braces are important!

For arrays, there are two special ways of displaying them:

  • using {{ LIST:variable_name }} will result in:
      - element 1
      - element 2
      - element 3
      - ...
    
  • using {{ ENUM:variable_name }} will result in:
      element 1, element 2, element 3, ...
    

Available variables that can be used in template tags are any front-matter properties.

I also published my own templates here.

Download poster images

The plugin offers a setting to automatically download the poster images for a new media, ensuring offline access. The images are saved as type_title (year) e.g. movie_The Perfect Storm (2000), in a user-chosen folder.

Metadata field customization

Allows you to rename the metadata fields this plugin generates through mappings. The mappings can be set in the plugin's settings. The three options for mapping are:

  • default: Keep the original name
  • remap: Rename the property
  • remove: Removes the property entirely
Bulk Import

The plugin allows you to import your preexisting media collection and upgrade it 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.

Importing

To start the import process, right-click on the folder and select the Import folder as Media DB entries option. Then specify the API to search, if the current note content and metadata should be appended to the Media DB entry, and the name of the metadata field that contains the title of the piece of media.

Then the plugin will go through every file in the folder and prompt you to select from the search results.

Post import

After all files have been imported or the import was canceled, you will find the new entries as well as an error report that contains any errors or skipped/canceled files in the folder specified in the setting of the plugin.

How to install

The plugin is now released, so it can be installed directly through Obsidian's plugin installer.

Alternatively, you can manually download the zip archive from the latest release here on GitHub.
After downloading, extract the archive into the .obsidian/plugins folder in your vault.

The folder structure should look like this:

[path to your vault]
|_ .obsidian
   |_ plugins
      |_ obsidian-media-db-plugin
         |_ main.js
         |_ manifest.json
         |_ styles.css

How to use

Once you have installed this plugin, you will find a database icon in the left ribbon.
When using this or the Add new Media DB entry command, a pop-up will open.
Here, you can enter the title of what you want to search for and then select which APIs to search.

After clicking search, a new pop-up will open, prompting you to select from the search results.
Now you select the result you want, and the plugin will cast its magic, creating a new note in your vault that contains the metadata of the selected search result.

Currently supported media types

  • movies (including specials)
  • series (including OVAs)
  • videogames
  • boardgames
  • music releases
  • wiki articles
  • books
  • manga
  • comics

Currently supported APIs:

Name Description Supported formats Authentification Rate limiting SFW filter support
Jikan Jikan is an API that uses My Anime List and offers metadata for anime. series, movies, specials, OVAs, manga, manwha, novels No 60 per minute and 3 per second Yes
OMDb OMDb is an API that offers metadata for movies, series, and games. series, movies, games Yes, you can get a free key here here 1000 per day No
TMDB TMDB is a API that offers community editable metadata for movies and series. series, movies Yes, by making an account here and getting your API Read Access Token (not API Key) here 50 per second Yes
MusicBrainz MusicBrainz is an API that offers information about music releases. music releases No 50 per second No
Wikipedia The Wikipedia API allows access to all Wikipedia articles. wiki articles No None No
Steam The Steam API offers information on all Steam games. games No 10000 per day No
Open Library The OpenLibrary API offers metadata for books books No Cover access is rate-limited when not using CoverID or OLID by max 100 requests/IP every 5 minutes. This plugin uses OLID, so there shouldn't be a rate limit. No
Comic Vine The Comic Vine API offers metadata for comic books comicbooks Yes, by making an account here and going to the api section of the site 200 requests per resource, per hour. There is also a velocity detection to prevent malicious use. If too many requests are made per second, you may receive temporary blocks to resources. No
VNDB The VNDB API offers metadata for visual novels games No 200 requests per 5 minutes Yes
Boardgame Geek The Boardgame Geek API offers metadata for boardgames boardgames Yes, by making an account here and then requesting an application token Exact usage limits are still undetermined No
Notes
  • Jikan
    • sometimes the api is very slow; this is normal
    • you need to use the title the anime has on My Anime List, which is in most cases the Japanese title
      • e.g. instead of "Demon Slayer" you have to search "Kimetsu no Yaiba"
  • Support for the Moby Games API has been removed from the plugins as the API is no longer free to use.
  • Support for the Giant Bomb API has been removed from the plugin temporarily as their API is currently non functional.
Search by ID
  • Jikan
    • the ID you need is the ID of the anime on My Anime List
    • you can find this ID in the URL
      • e.g. for "Beyond the Boundary" the URL looks like this https://myanimelist.net/anime/18153/Kyoukai_no_Kanata so the ID is 18153
  • Jikan Manga
    • the ID you need is the ID of the manga on My Anime List
    • you can find this ID in the URL
      • e.g. for "All You Need Is Kill" the URL looks like this https://myanimelist.net/manga/62887/All_You_Need_Is_Kill so the ID is 62887
  • OMDb
    • the ID you need is the ID of the movie or show on IMDb
    • you can find this ID in the URL
      • e.g. for "Rogue One" the URL looks like this https://www.imdb.com/title/tt3748528/ so the ID is tt3748528
  • TMDB
    • the ID you need is the numeric value in the URL directly following /movie/ or /tv/
      • e.g. for "Stargate" the URL looks like this https://www.themoviedb.org/movie/2164-stargate so the ID is 2164
    • When searching by ID you need to select TMDBSeriesAPI, TMDBSeasonAPI, or TMDBMovieAPI for series, seasons, and movies respectively.
    • Season ID searches use the format <series_id>/season/<season_number> - season 1 of The Expanse expects 63639/season/1
  • MusicBrainz
    • the id of a release is not easily accessible; you are better off just searching by title
    • the search is generally for albums but you can have a more granular search like so:
      • search for albums by a specific artist:"Lady Gaga" AND primarytype:"album"
      • search for a specific album by a specific artist artist:"Lady Gaga" AND primarytype:"album" AND releasegroup:"The Fame"
      • search for a specific entry (song or album) by a specific artist:"Lady Gaga" AND releasegroup:"Poker face"
  • Wikipedia
    • here is a guide to finding the Wikipedia ID for an article
  • Steam
    • you can find this ID in the URL
      • e.g. for "Factorio" the URL looks like this https://store.steampowered.com/app/427520/Factorio/ so the ID is 427520
  • Open Library
    • The ID can either be the "/work/" ID, the "/book/" ID, or the "/isbn/" ID it needs to start with /works/. You can find this ID in the URL
      • e.g. for "Fantastic Mr. Fox" the "/works/" URL looks like this https://openlibrary.org/works/OL45804W so the ID is /works/OL45804W
        • This URL is located near the top of the page above the title, see An edition of Fantastic Mr Fox (1970)
      • For a specific edition of "Fantastic Mr. Fox" the "/books/" URL looks like this https://openlibrary.org/books/OL3567303M/ so the ID is /books/OL3567303M
        • This URL is located in the editions section`
  • Comic Vine
    • you can find this ID in the URL
      • e.g. for "Boule & Bill" the URL looks like this https://comicvine.gamespot.com/boule-bill/4050-70187/ so the ID is 4050-70187
      • Please note that only volumes can be added, not separate issues.
  • VNDB
    • Located in the novel's VNDB URL path

Problems, unexpected behavior, or improvement suggestions?

You are more than welcome to open an issue on GitHub.

Contributions

Thank you for wanting to contribute to this project.

Contributions are always welcome. If you have an idea, feel free to open a feature request under the issue tab or even create a pull request.

Credits

Credits go to:

Similar Plugins

info
• Similar plugins are suggested based on the common tags between the plugins.
Local REST API
4 years ago by Adam Coddington
Unlock your automation needs by interacting with your notes in Obsidian over a secure REST API.
Meta Bind Plugin
4 years ago by Moritz Jung
A plugin for Obsidian to make your notes interactive with inline input fields, metadata displays, and buttons.
Media Extended
5 years ago by AidenLx
Transform your Obsidian into a powerful video note-taking tool. 🖇️🗂️⏯️
Metadata Menu
4 years ago by mdelobelle
For data management enthusiasts : type and manage the metadata of your notes.
Supercharged Links
5 years ago by mdelobelle
obsidian plugin to add attributes and context menu options to internal links
Pretty Properties
7 months ago by Anareaty
Custom File Explorer sorting
4 years ago by SebastianMC
Take full control over the order and sorting of folders and notes in File Explorer in Obsidian
MetaEdit
5 years ago by Christian B. B. Houmann
MetaEdit for Obsidian
Auto Card Link
4 years ago by Nekoshita Yuki
Update time on edit
5 years ago by beaussan
April's Automatic Timelines
3 years ago by April Gras
Simple timeline generator plugin for story tellers using obsidian
Douban
4 years ago by Wanxp
an obsidian plugin that can pull data from douban to your markdown file
Metadata Extractor
5 years ago by kometenstaub
Obsidian Plugin that provides metadata export for use with third-party apps.
APIRequest
3 years ago by rooyca
Obsidian plugin that allows you to integrate API data into your notes with request caching, variable support, and precise JSON extraction.
Frontmatter Markdown Links
a year ago by mnaoumov
Obsidian Plugin that adds support for markdown links in frontmatter
Binary File Manager
4 years ago by qawatake
An Obsidian plugin to manage binary files
AI Tagger Universe
a year ago by Hu Nie
An intelligent Obsidian plugin that leverages AI to automatically analyze note content and suggest relevant tags, supporting both local and cloud-based LLM services.
NetClip
a year ago by Elhary
this plugin is for Obsidian that allows you to browse the web and clip webpages directly into your vault.
Auto Tag
3 years ago by Control Alt
Easily generate relevant tags for your Obsidian notes.
Media Slider
a year ago by Aditya Amatya
An obsidian plugin that helps to make slider for images, audios, videos, pdfs, markdown, etc in obsidian notes.
Enhance YouTube Links
3 years ago by GitSum
Take a YouTube link and get the title and optionally channel name, channel URL, and thumbnailURL.
Media Companion
a year ago by Nick de Bruin
Media Sync
3 years ago by fnya
Media Sync is Plugin for Obsidian
Notes dater
3 years ago by Paul Treanor
Adds created_on and updated_on dates of the active note to status bar
Time Things
2 years ago by Nick Winters
Show clock, track time spent editing a note, and track the last time a note has been edited.
Yesterday
2 years ago by Dominik Mayer
Obsidian plugin providing Yesterday journaling support
Bulk Exporter
3 years ago by symunona
Bulk export Markdown filtered, renamed and sorted by front matter metadata into a new structure.
User Plugins
4 years ago by mnowotnik
Allows user scripts to use plugin API
Metadata Auto Classifier
2 years ago by Beomsu Koh
AI-powered Obsidian plugin that automatically classifies and generates metadata (tags, frontmatter) for your notes.
Content Cards
a year ago by leo
Insert content cards in Markdown, such as timeline, highlightblock, target card, book information card, music information card, movie information card, photoes ablum, business card, content subfield, countdown, SWOT,BCG.
Fold Properties By Default
a year ago by Tommy Bergeron
Always have editor/metadata properties folded by default.
Linked Data Vocabularies
3 years ago by kometenstaub
Add linked data to the YAML of your Obsidian notes.
Local Media Embedder
2 years ago by seyf1elislam
an obsidian plugin allows you to Embed videos and images and audios from your local device in your notes.
Kanban Status Updater
a year ago by Ankit Kapur
Obsidian plugin that automatically updates the note property when card is moved to a column.
Geocoding Properties
3 years ago by Jose Elias Alvarez
Insert address / location data from geocoding APIs as Obsidian properties.
Obsidian to Flomo
4 years ago by Xiaoyu Li
Quickly share content to Flomo.
Cloudinary Uploader
4 years ago by Jordan Handy
An uploader for Obsidian to Cloudinary
Note aliases
3 years ago by Pulsovi
This plugin manages wikilinks aliases and save them on the aliases list of the linked note
Metadata Icon
2 years ago by Benature
change metadata entry icon
Additional Icons
2 years ago by Matthew Turk
Add additional iconsets to Obsidian
Frontmatter generator
3 years ago by Hananoshika Yomaru
A plugin for Obsidian that generates frontmatter for notes
File Title Updater
a year ago by wenlzhang
An Obsidian plugin that synchronizes titles between filename, frontmatter, and first heading in your notes.
Symbol linking
10 months ago by Evan Bonsignori ; Mara-Li
Adds ability to link with any trigger in Obsidian. Each trigger can limit linking to specific folders or file.
File Publisher
3 years ago by Devin Sackett
Copy Metadata
3 years ago by wenlzhang
An Obsidian plugin to copy metadata to clipboard and insert it into file name.
File Index
2 years ago by Steffo
Obsidian plugin to create a metadata file about the files present in the Vault
Update Time
2 years ago by Sébastien Dubois
Obsidian plugin that updates front matter to include creation and last update times
Image Picker
a year ago by ari.the.elk
Xiaohongshu Importer
a year ago by bnchiang96
An Obsidian plugin to import Xiaohongshu (小红书) notes into your vault. Extract titles, content, images, videos, and tags from share links, with customizable categories and optional local media downloads.
Autoplay & Loop
2 years ago by Zerkshop & Wapply
This Obsidian plugin auto reproduces content inside notes.
Unofficial Fabric Integration
2 years ago by Chasebank87
Integrate fabric by danielmiessler/fabric into Obsidian
Dataview Autocompletion
a year ago by Daniel Bauer
KoReader Highlight Importer
a year ago by Tahsin Kocaman
Imports highlights and metadata from KoReader into Obsidian notes
Conditional Properties
4 months ago by Diego Eis
Automate frontmatter property updates in your Obsidian notes using simple conditional rules.
Latex Render
2 years ago by jvsteiner
An Obsidian plugin that renders `label` code blocks to `<svg>` for viewing in notes. Make sure to bring your own command!
OpenAPI Renderer
2 years ago by Sentiago
Integrate OpenAPI specification management into Obsidian with features for version control, visualization, editing, and easy navigation of API specs.
Tag Tactician
a year ago by Scott Tomaszewski
Note UID Generator
a year ago by Valentin Pelletier
Allow you to automatically generate UID for the notes in your vault.
LLM Tagger
a year ago by David Jayatillake
Image Metadata
2 years ago by alexeiskachykhin
Adds image metadata editing capabilities to Obsidian
GitHub Integration
a year ago by Kirill Zhuravlev
Plugin that fetch your github stars into notes
Note Codes
8 months ago by Ezhik
Reference your Obsidian notes from anywhere with simple 4-character codes.
Data Fetcher
a year ago by qf3l3k
Fetch data from multiple sources (REST APIs, RPC, gRPC, GraphQL) and insert results into notes.
Virus Total Enrichment
2 years ago by ytisf
An Obsidian plugin to enrich a note with VirusTotal API.
Waveform Player
a year ago by Zhou Hua
Paste Image Into Property
a year ago by Nito
Sentinel
a year ago by Giorgos Sarigiannidis
A plugin for Obsidian that allows you to update properties or run commands based on document visibility changes.
Boardgame Search
a year ago by Marlon May
A plugin to create notes for boardgames based on the BGG API
Card Viewer
6 months ago by vsme
一个用于在 Obsidian 中解析和查看电影、电视剧、书籍、音乐和 HTML 内容卡片的插件。
Note Favicon
a year ago by mdklab
Obsidian plugin – Show Favicon from Metadata
Memories
3 months ago by DIMFLIX
Plugin to display a gallery directly in a note.
ExMemo Assistant
a year ago by ExMemo AI
Using LLMs to manage files and generating metadata such as tags and summaries.
Current File Tags
a year ago by Trung Tran
Book Clipper
5 months ago by Hossein Fardmohammadi
Save book details from websites into your notes
Simple File Info
a year ago by Lukas Capkovic
My Thesaurus
a year ago by Mara-Li
A plugin that auto tags file based on contents and a csv file or a Markdown table (inspired by https://github.com/pmartinolli/MyThesaurus)
Papers
8 months ago by William Liang
An obsidian plugin to retrieve and import research papers.
Watched-Metadata
2 years ago by Nail Ahmed
Watches for changes in metadata and updates the note content accordingly.
Another Name
a year ago by Jiyuan Wang
Add a subheading to your note in Obsidian
API Designer
5 months ago by Ruveyda Yilmaz
A plugin for Obsidian that lets you design and document API endpoints visually without leaving your notes.
Onto Tracker
2 years ago by Jacob Hart
Plugin for obsidian allowing project management with ontologies.
Discrete
9 months ago by shkarlsson
Frontmatter Metadata Link Classes
10 months ago by Varvara Zmeeva / zmeeva.io
Enhanced internal links with automatic classnames based on frontmatter metadata.
Frontmatter to HTML Attributes
2 months ago by Tarek Saier
Makes YAML frontmatter available as data-* attributes in HTML, enabling metadata based CSS styling.
Magiedit
a year ago by Matteo Gassend