Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature request: display cover art embedded in media file #208

Open
Kabouik opened this issue Jul 19, 2024 · 1 comment
Open

Feature request: display cover art embedded in media file #208

Kabouik opened this issue Jul 19, 2024 · 1 comment

Comments

@Kabouik
Copy link

Kabouik commented Jul 19, 2024

mpv --vo=sixel can show covers embedded in media files such as mp3, it would be great if chafa /some/audio/file.mp3 could do the same.

@hpjansson
Copy link
Owner

hpjansson commented Aug 7, 2024

Hi, thanks for submitting the request. I'm a bit conflicted about it, since there's an ~infinite number of media formats, and chasing them could quickly lead to scope creep and dependency bloat. I think it makes sense to limit chafa in order to keep it small, manageable and secure, and maybe implement a separate package/tool specifically for previewing/multimedia/etc.

You can still use chafa to preview images from MP3 files - you just need to place a different tool in front of it to extract the image from the container (a quick search finds a couple, e.g. eyeD3). Chafa can take the image on stdin, so you can use it in pipelines if needed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants