Importe les metadonnees Discogs d'un artiste ou d'un album dans une note Markdown.
An Obsidian plugin that imports Discogs metadata for an artist, album, master, or release and, overall, OTHER informations (credits, label, companies, musicians, technicians, engineer,etc.)
https://www.discogs.com/release/123456.artist_url and links the artist name to that Discogs profile.## artist section, including Discogs links and basic emphasis.Install dependencies and build the plugin:
npm install
npm run build
The build runs TypeScript type checking and produces main.js and main.js.map.
Run the unit tests:
npm test
The tests are located in tests/ and use an injected HTTP client, so they do not depend on a live Discogs request.
npm run build..obsidian/plugins/ directory.Open the command palette.
Run Import a Discogs URL.
Paste a Discogs URL, for example:
https://www.discogs.com/release/3940534-Matt-Molloy-Matt-Molloy
Confirm the import.
By default, generated notes are stored in the Discogs folder. The output folder and optional Discogs token can be changed in the plugin settings.
main.ts: Obsidian lifecycle, command registration, modal, and settings UI.src/discogs.ts: Discogs URL parsing and API client logic.src/markdown.ts: Pure Markdown rendering logic based on the album template.src/vault.ts: Obsidian vault folder and note persistence.tests/: Unit tests for URL parsing, API requests, and Markdown rendering.