Kodi Community Forum
Ember webp support - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: Supplementary Tools for Kodi (https://forum.kodi.tv/forumdisplay.php?fid=116)
+---- Forum: Ember Media Manager (https://forum.kodi.tv/forumdisplay.php?fid=195)
+---- Thread: Ember webp support (/showthread.php?tid=364290)



Ember webp support - adultmm - 2021-09-02

Hi Dan, 

What do you think about the webp support of EMM? Some sites now contain only webp format, and I think, I can't solve it on the plugin level, because a scraper has to pass URL to EMM.

You can see the original post here.

Any idea?

Thanks


RE: Ember webp support - DanCooper - 2021-09-03

Hi

if i look into the Kodi Wiki only jpg and png for posters is supported. I know Kodi can display webp images in the picture function but I would rather suggest that the images be converted to jpg. This would also guarantee that the posters would work in other media centers.
I can add a conversion function to the Ember API. Depending on the effort, I could also try automate the conversion so that you don't have to trigger it manually.

What are you thinking about that?


RE: Ember webp support - adultmm - 2021-09-03

Hi Dan,

I'm sure, the conversion should happen in EmberAPI, not in the scrapers. Maybe it can be handled in the HTTP class only. I think webp to jpeg conversion is not a big deal, but the question is, how many places we use image downloads, possibly in different ways.

Another question: what URL should be written in NFO where URL is expected? Actors, for example.

Quick and dirty workaround: use a web-based image converter, and wrap the image urls with it. Smile

Can I help you with something?