Wow, quite a creative thread here, isn't it nice when folks write the code using their native language so that nobody understands what the buttons or the comments mean? Image may be NSFW.
Clik here to view.
Anyway, joking aside, tass_co is correct, CORS is really a pain in the a... when trying to use local resources in a local site in Javascript. I've experienced the same in my Earth skin, where I also had to create a local server to use whatever images and clips related to my skin. The only difference is that I used the HTTP Server extension of NPM to run the server within the Node.js environment (though you can do it using Python as well, like tass_co did)... As for audio metadata like covers and such, maybe this can help:
https://stackoverflow.com/questions/29881237/how-can-i-get-the-cover-of-an-mp3-file
If you like videos, this is an example:
https://forum.rainmeter.net/viewtopic.php?t=44937#p231218
Some references:
https://www.w3schools.com/html/html5_audio.asp
https://www.w3schools.com/html/html5_video.asp
Notice that using a local server should generally be needed if defining those resources in Javascript, as the video example above needs no local server to use the video file directly but defined in HTML. I guess you could create all the layout and navigation without any resources in the HTML, then dynamically write the resources from the plain .ini or from a .lua script into the HTML as you navigate the list, followed by updating the WebView measure to reload the page, but that would be kind of a questionable approach, and I'm not 100% sure it will work and avoid CORS for all cases.
Clik here to view.

Anyway, joking aside, tass_co is correct, CORS is really a pain in the a... when trying to use local resources in a local site in Javascript. I've experienced the same in my Earth skin, where I also had to create a local server to use whatever images and clips related to my skin. The only difference is that I used the HTTP Server extension of NPM to run the server within the Node.js environment (though you can do it using Python as well, like tass_co did)...
https://stackoverflow.com/questions/29881237/how-can-i-get-the-cover-of-an-mp3-file
If you like videos, this is an example:
https://forum.rainmeter.net/viewtopic.php?t=44937#p231218
Some references:
https://www.w3schools.com/html/html5_audio.asp
https://www.w3schools.com/html/html5_video.asp
Notice that using a local server should generally be needed if defining those resources in Javascript, as the video example above needs no local server to use the video file directly but defined in HTML. I guess you could create all the layout and navigation without any resources in the HTML, then dynamically write the resources from the plain .ini or from a .lua script into the HTML as you navigate the list, followed by updating the WebView measure to reload the page, but that would be kind of a questionable approach, and I'm not 100% sure it will work and avoid CORS for all cases.
Statistics: Posted by Yincognito — Today, 3:55 am — Replies 7 — Views 132