aerkalov/ebooklib

item.get_type() does not recognize webm

Opened this issue · 1 comments

Hi,

When using item.get_type() on a webm file, it returns an enum of 0 and the file is not recognized as ITEM_VIDEO.

Although I have not tested it, we can also test if webp files are being recognized as images.

The following epub can be used for testing.

Thanks.

Good point. I guess this extensions mapper could be updated a little bit.