(Chrome Extension) Getting the metadata from a music file

Viewed 40

I've been stuck on this for days, and I still haven't found a solution. Basically I'm creating a music player Chrome extension, and what I need is the metadata for a music file so that I can get the song's artist (as well as icon/picture).

I've tried and implemented 'Chrome Extension Cli' (https://www.npmjs.com/package/chrome-extension-cli) into my project for the sake of webpacks, but every time I attempt to use something like 'jsmediatags' for example, I get met with errors upon errors.

Does anyone know how to do achieve this through a Chrome Extension?

0 Answers
Related