I've always found that warning odd, because I'm not sure how it ensures the on_size() call happens first and it worries me that on some occasion it might not...

Edit: However looking through all my scripts, only the one I glanced it to help trout has on_size() calling Window.Repaint() unnecessarily. I have one other (type of) script which employ this as well - via an intermediate function - so far it seems necessary to this (type of) script, i.e. I took it out and it broke...I'm going to meddle with it a bit more, although my view of the warning is still the same.

(thanks to marc2003 for your script capturing and saving last.fm images that we can use elsewhere, as I'm doing here!)

The above entries work well for single value artist tag fields, but currently don't retrieve anything for multivalue artist tag fields (the crc function generates a crc for the string of all the artists in the tag field, and there is no such folder). But most of the time I've got image folders for each of the artists separately and I'd like to add paths to each of those artists, if possible.

Is there some kind of loop I could add that would generate the separate paths for each artist in a multivalue artist tag field, and if so what would that look like? Whether the right answer is a loop or not, any suggestions appreciated!

I currently use a crude but effective way to download images for the nth artist for a track: I use your thumbs script and remap the artist field in the context menu to $meta(artist,n) and restart the song to trigger the search and download. If there is a more elegant way to grab images for all artiists for a multivalue artist track, suggestions are appreciated, including any tweaks to put in the thumbs script or common4.js.

this can display either album reviews or artist bios. the reason i've put this in a WSH panel is because i can support caching which means instant panel updates and offline usage after the initial download of each item. you can also switch between reviews and bios on the fly using the context menu.

existing users of my scripts need to extract the marc2003 folder from the zip as it contains a new file required by this script.

Marc, I'm very grateful for your work. Just tried out your allmusic script - with each and everything I select I get "no text" - I am really sure I copied everything over to the appdata marc2003 folder. The console has no error at all. Is there something I can do?

@Emerelle, do you not even see a "fetching info" message for a few seconds? if you see that before the "no text" message, it means the info wasn't found.

also, a limitation of the script is that the album must be on the allmusic site, even in artist bio mode. if there is no album tag, then the script won't run.

@mjm716, i've managed to stop the script erroring (extract marc2003 folder again and import the allmusic.txt into your panel) but i can't fix why it won't display various artist albums that do exist. you'll have to ask romor about that. i'm assuming they also fail in the foo_uie_biography panel as well???

@Dario, right click the panel and select "path to text file". use titleformatting to enter the filename. as an example, if the filename is "eac.log" and it sits in the same folder as the playing file then you would use

Adding examples to my post above:Joy Division - has text, exactly one match in the artist panel (found straight away using the webbuttons of your samples)Infected Mushroom - also has text, exactly one match, also found through the webbutton from the sample. Still no error in console.

Is it possibly incompatible with anything like the other bio panel?

PS: Ok, now I got for the first time the very same error like a couple of posts above - error in VB Script etc. It is the same message text as posted above.

I wasnt aware of an update, your post seemed not modified, I will download that again and report back. I also didnt know I should search for the album first, I will use this advance now.PS: Ok, now I see the update

I've tried about 50 tracks, and no errors, and I've finally been getting results from 'Various Artists' items - the approximate album name matching seems very robust.

Now comes the annoying follow-up wish! It would be fantastic to get it to scan the whole library instead of only the current track, to make a complete local data set. =D[Hopefully that's something I can figure out if you're not interested.]

I do have one general question that doesn't make any sense to me. The wsh script uses %album artist% (twice). I've tried changing that to %artist% instead (with the idea for example, that when it retrieves a compilation review, it could simply pull the normal artist bio). However, using %artist% returns no results, for regular albums or compilations (checked against known artists with bios). am I missing something?

The search string in romor's script contains "URL = "http://www.allmusic.com/search/albums/...", for a very good reason if one is looking for both an album review and the right artist bio in one elegant search. So if you want an artist bio not linked to an album search result, you need to do a different search. I think the code you need to borrow is already in the script.

For example, consider replacing the "then" portion of of the following "if" statement in the current script:

CODE

If Lcase(ARG(0)) = "various artists" And ARG(2) = "bio" Then Wscript.Quit() End If

So the "then" portion of the "if" statement above would conduct an artist search. I looked at the web page's source code for such a search result, and I believe you can use the same code as that used to assign artist_link in the current script to find an artist bio, keeping mind that the script will return the first matching search result, which may or may not be the artist you are looking for if it's a common name.

Make sure you quit the script at the end of this "then" section, and add an "else" line after your new code and just before the existing code that follows the "if" statement above so that the script continues to work as before for album artists that are not "various artists".

Make sure you quit the script at the end of this "then" section, and add an "else" line after your new code and just before the existing code that follows the "if" statement above so that the script continues to work as before for album artists that are not "various artists".

Thanks G - yes, for some reason, the script logic only sinks in briefly and disappears promptly again.

One other error to report:

If there is no internet connection, it really freaks out - sends many pop-up error reports that makes the app unresponsive.