This allows download of covers from audiobookcovers.com which is “a way to search for and download new artwork quickly and easily, without worrying about different image hosts, getting the highest image quality, or Reddit's interface.”
Now shows 3 different sizes 640px, 1280px and Original.
CURRENTLY: Original only shows if it is a JPG. (Something to fix in the next version)
Nice one! I had a look through and saw your uncertainty about Replace "|" "$verticalBar()": web sources use | to separate values in searches or tag labels as you’ve already been using. If any data from the website response like a title or description includes | intentionally, it'll be mistaken for a separated value and mess up your results.
There’s other characters that can be troublesome like newlines and quotation marks but you can be inventive replacing them back and forth while processing:
Point is though, you don't need it for covers so you can safely remove that line but if you do need to extract metadata that's long and descriptive even if it's unlikely it's a good idea to use $verticalBar() as Mp3Tag uses that function to put back a | in Adjust Tags.
Only other thing I could suggest is given there’s not any other data like a title being returned by the response, the cover preview gets a bit glitchy and shoots off to the right-hand side without any other columns. The response does return various sizes for each image so you could implement a solution similar to this.
I would love to do that but I’m not really sure what my output should be. I can construct any links required from the UUIDs I have, BUT I have no idea what Mp3tag wants/expects to make the columns.
I checked out the example you pointed to but it’s way too complicated for me.
When the output buffer called Output has every column value piped in the right order then each result separated by a newline, it'll display as you want it in "List of search results", just as an example:
OutputTo "Output"
# URL
SayOutput "temp"
#Say ".jpg"
Say "|"
### Cover - preview/thumbnail cover
Say "https://images.audiobookcovers.com/jpeg/320/"
SayOutput "temp"
Say ".jpg"
Say "|"
### test
Say "Hello World"
Say "|"
### Preview & "This album on AudiobookCovers.com"
Say "https://audiobookcovers.com/images/"
SayOutput "temp"
#Say "|"
SayNewLine
Set "temp"
FindInLine "<picture>" 1 1
Not sure about the error above but I can confirm on Windows the search function on AudiobookCovers itself is barely working right now. The web source will still try to display no results as if it found something.
I think the “Original” cover size has lost functionality, sadly but might still work for 1280/640px.