mirror of
https://github.com/kristoferssolo/solorice.git
synced 2025-10-21 20:10:34 +00:00
23 lines
447 B
Markdown
23 lines
447 B
Markdown
# 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"},
|
|
]
|
|
```
|