WSH Panel Mod script discussion/help
@morphguy12, make sure you download the latest common6.js to your pc. use Online update on the context menu or extract from the full zip if you don't have that option. i haven't tested this and also there is quite a major flaw with how i designed my original code for my image scripts. because the artist name source was always your file tags, the case didn't seem important as i thought it was something that isn't going to change. but downloading artist names from last.fm probably isn't going to match your tags 100% of the time. in your simliar artist panel:images = []; function on_metadb_changed() { if (li.metadb_changed()) { //li.metadb returns true or false depending on whether the artist has changed. we don't want to update if the artist hasn't changed. images = []; files = []; for (i = 0; i < Math.min(3, li.items); i++) { files[i] = []; var folder = p.data_folder + p.eval("$crc32(" + li.names[i] + ")"); if (p.fso.FolderExists(folder)) files[i] = files[i].concat(utils.Glob(folder + "\\*.jpg").toArray(), utils.Glob(folder + "\\*.jpeg").toArray(), utils.Glob(folder + "\\*.png").toArray(), utils.Glob(folder + "\\*.gif").toArray()); if (p.fso.FileExists(files[0])) images[i] = gdi.Image(files[0]); } window.Repaint(); } } then inside the on_paint function, you should have an array called images to use. images[0] being the first, images[1] the second and images[2] the third... @neothe0ne, never had a problem with the menu not displaying properly.