nixos_dots/archive/yazi/plugins/exifaudio.yazi
2024-12-12 19:12:55 +03:00
..
init.lua Initial Commit 2024-12-12 19:12:55 +03:00
LICENSE Initial Commit 2024-12-12 19:12:55 +03:00
README.md Initial Commit 2024-12-12 19:12:55 +03:00

exifaudio.yazi

Preview audio metadata and cover on Yazi.

image

Installation

# Linux/macOS
git clone https://github.com/Sonico98/exifaudio.yazi.git ~/.config/yazi/plugins/exifaudio.yazi

# Windows
git clone https://github.com/Sonico98/exifaudio.yazi.git %AppData%\yazi\config\plugins\exifaudio.yazi

Usage

Add the following to your yazi.toml:

[plugin]
prepend_previewers = [
    { mime = "audio/*",   run = "exifaudio"}
]

Make sure you have exiftool installed and in your PATH.

Thanks

Thanks to sxyazi for the PDF previewer code, on which this previewer is based on.