music-metadata

n8n community node to extract metadata from audio files using music-metadata

Package Information

Released: 4 mo ago
Downloads: 3 weekly / 155 monthly
Latest Version: 0.1.0
Author: Lucas Leandro

Documentation

n8n-nodes-music-metadata

Community node for n8n that extracts metadata from audio files using music-metadata.

Supported formats

MP3, FLAC, OGG, WAV, AAC, M4A, AIFF, WMA, Opus, and more — anything supported by music-metadata.

Operations

Operation Description
Extract from Binary Parse a binary field (e.g. from HTTP Request, Read Binary File)
Extract from File Path Parse a file directly from an absolute path on disk

Output fields

Field Description
title Track title
artist Artist name
albumArtist Album artist
album Album name
year Release year
trackNumber / trackTotal Track number and total
diskNumber Disk number
genre Genre array
composer Composer(s)
comment Comment tag
label Record label
isrc ISRC code
bpm Beats per minute
key Musical key
mood Mood tag
language Language
container File container (e.g. MPEG)
codec Codec (e.g. MP3)
lossless Boolean — lossless format?
sampleRate Sample rate in Hz
bitrate Bitrate in bps
numberOfChannels Channel count
bitsPerSample Bit depth
duration Duration in seconds or HH:MM:SS
tagTypes List of tag formats found
coverArt Base64 data-URI of cover (optional)
nativeTags Raw native tags object (optional)

Options

  • Include Cover Art — returns cover image as a data:<mime>;base64,… string
  • Include Native Tags — returns the raw ID3/Vorbis/etc. tag objects
  • Duration Format — seconds (number) or HH:MM:SS string

Installation

In your n8n instance, go to Settings → Community Nodes and install:

n8n-nodes-music-metadata

Development

npm install
npm run build

Link to your local n8n for testing:

npm link
cd ~/.n8n/custom   # or your n8n custom dir
npm link n8n-nodes-music-metadata

License

MIT

Discussion