mirror of
https://github.com/kristoferssolo/solorice.git
synced 2025-10-21 20:10:34 +00:00
39 lines
1.1 KiB
Markdown
39 lines
1.1 KiB
Markdown
# exifaudio.yazi
|
|
|
|
Preview audio metadata and cover on [Yazi](https://github.com/sxyazi/yazi).
|
|
|
|

|
|
|
|
## Installation
|
|
|
|
```sh
|
|
# Automatically with yazi 0.3.0
|
|
ya pack -a "Sonico98/exifaudio"
|
|
|
|
# Or manually under:
|
|
# 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`:
|
|
|
|
```toml
|
|
[plugin]
|
|
prepend_previewers = [
|
|
{ mime = "audio/*", run = "exifaudio"}
|
|
]
|
|
```
|
|
|
|
Make sure you have [exiftool](https://exiftool.org/) installed and in your `PATH`.
|
|
|
|
Optional: if you have [mediainfo](https://mediaarea.net/en/MediaInfo) installed and in your `PATH`, it will be used instead for more accurate metadata. Exiftool is still required to display the cover.
|
|
|
|
## Thanks
|
|
|
|
Thanks to [sxyazi](https://github.com/sxyazi) for the PDF previewer code, on which this previewer is based on.
|