Open RaitaroH opened 5 years ago
Interesting idea. If converting jpgs into the right format is fast enough, this might easy to implement as well. I think using embedded images is a bit overkill though, I think this would require caching to be fast enough.
I wonder why this does not use rofis build in icon_fetcher.. It is async (uses the threadpool rofi has internally) and you can just pass it a image uri and it will create an icon.
It would make adding this option easy enough. (and async!)
So the idea is if a folder has a
cover.jpg
in it or something like that use that image as an icon instead.The other option (still pretty cool) is to do the same using embedded covers made with youtube-dl for example. ydl is using ffmpeg as far as I know so it needs some file processing but that would be very cool in my opinion.