Album Search
pendingby Max Choi
Search for albums using the Spotify API and create notes with a custom template.
Obsidian Album Search Plugin
This is a plugin for Obsidian. It allows you to search for albums using the Spotify API and create notes with a custom template.
Features
- Search: Search for albums via Spotify.
- Customizable Note Creation:
- Automatically creates a note with album metadata.
- Customizable file name format (default:
{{title}}). - Customizable content template.
- Metadata: Fetches title, artist, year, cover image (high res), total tracks, and Spotify URL.
Installation
- Install via Community Plugins in Obsidian (once approved).
- Or, manually install by copying
main.js,manifest.json,styles.cssto your vault's.obsidian/plugins/obsidian-album-search-plugin/folder.
Setup (Important!)
This plugin uses the Spotify API, so you need to provide your own Client ID and Client Secret.
- Go to Spotify for Developers Dashboard.
- Log in and click "Create App".
- Give it a name (e.g., "Obsidian Search") and description, then click Save.
- In the app settings, find your Client ID and Client Secret.
- Open Obsidian Settings > Album Search Plugin.
- Paste your Client ID and Client Secret there.
Usage
- Open Command Palette (
Cmd/Ctrl + P). - Type "Search Album".
- Type an album or artist name.
- Select the album from the list.
- A new note will be created!
Template Variables
You can use these variables in your template file:
{{title}}: Album Name{{artist}}: Artist Name{{year}}: Release Year{{date}}: Today's Date (YYYY-MM-DD){{cover}}/{{coverUrl}}: Album Cover Image URL{{url}}: Spotify Link{{tracks}}: Total Track Count{{id}}: Spotify Album ID
Acknowledgements
This plugin was inspired by and referenced kudosmax/obsidian-album-search-plugin.
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.