notryanb / nu_plugin_id3

A Nushell plugin to get Id3 tag information as structured data.
6 stars 1 forks source link
id3 nushell plugin

nu_plugin_id3

The id3 is a plugin for nushell that helps you read the id3 metadata of your mp3 files. This is project is experimental and still under development. The public API for the user (flags, command input, etc...) may change while nushell is still pre 1.0.

Example of id3

This project is still lacking many features

Installation

This project depends on a minimum of nushell 0.10.0 to be installed as that is when support for plugin names containing numbers started.

Cargo

cargo install nu_plugin_id3

Build from Source

Usage

id3 will recursively walk a directory and try to parse id3 tags for each file it finds. The only parameter id3 takes is an optional path. If no optional path is given, id3 will search the current directory. You may specify an arbitrary directory or path to search.

// Searches the present working directory
id3
// Searches all directories inside of ~/mp3s/fugazi
id3 ~/mp3s/fugazi

To take advantage of some fun features of nushell like viewing images in your terminal, you'll need to have the binaryview plugin installed with nushell. You can install this via cargo install nu_plugin_binaryview.

// :)
id3 ~/mp3s/fugazi/repeater | get pictures | first | get data