json_foreach function is buggy...
it simply goes through all elements of an array and copies into coverurl all image links instead of pasting just 1 and there is no way to stop it ..
need a function to break out the loop somehow..
OK, i've fixed this with a workaround for now, because json_foreach function IS BUGGY atm..
here is a fix for coverurl (make sure you put this block of code before json "ON"! statement in the discogs.src and comment out other coverurl related block code):
outputto "coverurl"
findinline "\"images\": [{\"uri\": " 1 1
if "\""
movechar 1
sayuntil "\""
endif
this code just gets 1st full-size image for the release if it's there .. no type checking or anything