Moritz Jung56k downloadsQuery multiple APIs for movies, series, anime, games, music releases and wiki articles, and import them into your vault.
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.
Search for movies, series, anime, manga, books, comics, games, music releases, or wiki articles by their name across multiple APIs.
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.
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:
{{ LIST:variable_name }} will result in: - element 1
- element 2
- element 3
- ...
{{ 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.
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.
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 nameremap: Rename the propertyremove: Removes the property entirelyThe plugin allows you to import your preexisting media collection and upgrade it to Media DB entries.
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.
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.
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.
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
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.
| 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 |
https://myanimelist.net/anime/18153/Kyoukai_no_Kanata so the ID is 18153https://myanimelist.net/manga/62887/All_You_Need_Is_Kill so the ID is 62887https://www.imdb.com/title/tt3748528/ so the ID is tt3748528/movie/ or /tv/https://www.themoviedb.org/movie/2164-stargate so the ID is 2164TMDBSeriesAPI, TMDBSeasonAPI, or TMDBMovieAPI for series, seasons, and movies respectively.<series_id>/season/<season_number> - season 1 of The Expanse expects 63639/season/1artist:"Lady Gaga" AND primarytype:"album"artist:"Lady Gaga" AND primarytype:"album" AND releasegroup:"The Fame"artist:"Lady Gaga" AND releasegroup:"Poker face"https://store.steampowered.com/app/427520/Factorio/ so the ID is 427520/works/. You can find this ID in the URLhttps://openlibrary.org/works/OL45804W so the ID is /works/OL45804WAn edition of Fantastic Mr Fox (1970) https://openlibrary.org/books/OL3567303M/ so the ID is /books/OL3567303Mhttps://comicvine.gamespot.com/boule-bill/4050-70187/ so the ID is 4050-70187https://vndb.org/v945) is v945You are more than welcome to open an issue on GitHub.
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 go to: