nixos-config/modules/home/yazi/plugins/mediainfo.yazi/README.md

27 lines
583 B
Markdown
Raw Normal View History

2025-02-06 18:58:39 -05:00
> [!NOTE]
> Please use **boydaihungst**'s fork for the latest version of this plugin:
> https://github.com/boydaihungst/mediainfo.yazi
# mediainfo.yazi
This is a Yazi plugin for previewing media files. The preview shows thumbnail
using `ffmpegthumbnailer` if available and media metadata using `mediainfo`.
## Installation
Install the plugin:
```
ya pack -a Ape/mediainfo
```
Create `~/.config/yazi/yazi.toml` and add:
```
[plugin]
prepend_previewers = [
{ mime = "{image,audio,video}/*", run = "mediainfo"},
{ mime = "application/x-subrip", run = "mediainfo"},
]
```