OMDb Fetcher

pending

by Moray Macdonald

Fetches data about movies and TV shows from OMDb into your notes.

Updated 5d agoGPL-3.0Discovered via Obsidian Unofficial Plugins
View on GitHub

OMDb Fetcher

Fetches movie and TV data from OMDb and fills placeholders in the current note. It's not designed to be a fully-featured movie library plugin, but to work alongside plugins like QuickAdd and Templater which create notes, and then this plugin populates them.

Setup

You need an OMDb API key (free at omdbapi.com). Set it under Settings → Community plugins → OMDb Fetcher. You can choose whether to fetch a short or full plot under the same settings page.

Commands

All three commands require an active Markdown note; they replace {=omdb:...=} placeholders in the current page.

CommandBehavior
OMDb: Fetch movie data from filenameParses the note filename as Name (Year) and fetches by title and year. Shows a notice if the filename does not match.
OMDb: Fetch movie data by title and yearOpens a modal to enter title and optional year, then fetches and applies.
OMDb: Fetch movie data by IMDb IDOpens a modal to enter IMDb ID (e.g. tt0080455), then fetches and applies.

Placeholders

If you've used my other plugin OSM Fetcher then this will be familiar to you!

PlaceholderDescription
TitleTitle
YearYear
imdbIDIMDb ID
Typemovie / series / episode
RatedRating (e.g. PG-13)
ReleasedRelease date string
Runtimee.g. "142 min"
GenreGenre list
DirectorDirector(s)
WriterWriter(s)
ActorsCast
PlotPlot (short or full; controlled by OMDb plot type setting)
LanguageLanguage(s)
CountryCountry/countries
AwardsAwards text
PosterPoster URL
MetascoreMetascore
imdbRatingIMDb rating
imdbVotesVote count
DVDDVD release date
BoxOfficeBox office
ProductionProduction company
WebsiteOfficial website URL
totalSeasonsNumber of seasons (series)
imdbLinkLink to IMDb's page for this title
rawThe raw JSON response from OMDb

If no placeholders are replaced, the message "No {=omdb:...=} placeholders found in note" will be shown.

Examples

[{=omdb:Title=} ({=omdb:Year=})]({=omdb:imdbLink=})

Expands to a clickable link in your note

[The Blues Brothers (1980)](https://www.imdb.com/title/tt0080455)

Privacy and network

Data is sent to OMDb only when you run a command. The plugin does not send telemetry or other data.

Manual install

Copy main.js, manifest.json (and styles.css if present) into your vault's .obsidian/plugins/omdb-fetcher/ folder, then enable the plugin under Settings → Community plugins.

For plugin developers

Search results and similarity scores are powered by semantic analysis of your plugin's README. If your plugin isn't appearing for searches you'd expect, try updating your README to clearly describe your plugin's purpose, features, and use cases.