Search...Search plugins and themes...
⌘K
Sign in
  • Get started
  • Download
  • Pricing
  • Enterprise
  • Account
  • Obsidian
  • Overview
  • Sync
  • Publish
  • Canvas
  • Mobile
  • Web Clipper
  • CLI
  • Learn
  • Help
  • Developers
  • Changelog
  • About
  • Roadmap
  • Blog
  • Resources
  • System status
  • License overview
  • Terms of service
  • Privacy policy
  • Security
  • Community
  • Plugins
  • Themes
  • Discord
  • Forum / 中文论坛
  • Merch store
  • Brand guidelines
Follow us
DiscordTwitterBlueskyThreadsMastodonYouTubeGitHub
© 2026 Obsidian

Stardust Importer

SonophageSonophage13 downloads

Pulls watched movies (Trakt) and full-album listens (Last.fm) into reference notes via Templater.

Add to Obsidian
  • Overview
  • Scorecard
  • Updates3

An Obsidian plugin that pulls watched movies (Trakt) and full-album listens (Last.fm) into notes in your vault, rendered through your own Movie/Album Templater templates. Named for Ziggy Stardust — the guise of Media, the New God of the screen.

What it does

  • Movies — on launch (after a delay), fetches new entries from Trakt's /users/me/history/movies (movies only — TV never leaks in) and creates Movies - <title> notes. Re-watches update last: + rewatched: true instead of duplicating.
  • Albums — reconstructs full-album listens from Last.fm scrobbles using a session detector: a sitting counts as an album listen when one album dominates a gap-bounded session and ≥ a coverage threshold of its tracklist was played. Creates Albums - <title> notes. Re-listens set relistened_14d: true.

How notes are created

The plugin doesn't reproduce the note schema — it hands data to the existing templates via a filename-keyed handshake. Each template's top <%* %> block reads:

const __P = app.plugins.plugins["stardust-importer"]?.pending?.[tp.file.title];

If a payload is present it skips the interactive prompts and fills from it; otherwise the template behaves exactly as before for manual note creation.

  • Movie template — payload { tmdbId, title, watchedAt }; reuses all TMDB enrichment, just skips the search/suggester/date prompts.
  • Album template — payload { artist, album, year, trackCount, listenedAt }; auto-selects the best MusicBrainz release-group (artist + title + closest year). On a low-confidence match it still attaches the best guess, sets needs_review: true, and adds a warning callout (option b).

Setup

  1. npm install && npm run build
  2. Symlink into the vault: .obsidian/plugins/stardust-importer → this repo, enable the plugin.
  3. In settings: add Trakt client ID/secret, Connect Trakt (device auth), add Last.fm API key + username.
  4. Backfill now (Trakt only) for movie history. Last.fm starts watching from first run forward — no history sweep.

Notes

  • Uses Templater's internal write_template_to_file — fine for a pinned personal install; a future Templater rewrite could rename it.
  • State (tokens, lastScanned watermarks, seen movies/albums) lives in this plugin's data.json.
HealthExcellent
ReviewPassed
About
Import watched movies from Trakt and reconstruct full-album listens from Last.fm scrobbles using session detection into notes via your Templater templates. Create Movies - <title> and Albums - <title> notes with TMDB and MusicBrainz metadata, mark re-watches and relistens, and flag low-confidence album matches for review.
ImportTemplatingMusic
Details
Current version
0.1.2
Last updated
7 days ago
Created
7 days ago
Updates
3 releases
Downloads
13
Compatible with
Obsidian 1.5.0+
Platforms
Desktop, Mobile
License
MIT
Report bugRequest featureReport plugin
Sponsor
Ko-fi
Author
SonophageSonophagesonophage
GitHubsonophage
  1. Community
  2. Plugins
  3. Import
  4. Stardust Importer

Related plugins

Kindle Highlights

Sync your Kindle book highlights using your Amazon login or uploading your My Clippings file.

Make It Rain

Pull Raindrop.io bookmarks, highlights, and attachments into Markdown notes with rich metadata, smart folder structures, and native file support.

Star Gate

Clip web pages into Obsidian with a multi-tab browser, AI analysis templates, and content capture.

Weread

Sync Tencent Weread highlights and annotations.

Kobo Highlights Importer

Import highlights from Kobo devices.

Importer

Convert your data to Markdown files you can use in Obsidian. Works with Apple Notes, OneNote, Evernote, Notion, Google Keep, and many other formats.

Templater

Create and use dynamic templates.

Zotero Integration

Insert and import citations, bibliographies, notes, and PDF annotations from Zotero.

Readwise Official

Sync highlights from Readwise to your vault.

Folder notes

Create notes within folders that can be accessed without collapsing the folder, similar to the functionality offered in Notion.