I just tested and it indeed works!
Tip: Htmlviewurl works for local files too! :)I made an alias "alb" that passes the search string to a the file "album.html" as a parameter. So doing "alb beatl" passes "beatl". Album.html loops over a list of foldernames and displays an image if the foldername matches the passed string. Each displayed image links to a .m3u file that when run plays the tracks on the album.
So the plugin I requested here seems more and more doable:
https://www.donation....msg116150#msg116150A drawback with the current test is that you in advance must index the folders and make the .html. A script can do that if the folders are well structured but it is still not ideal. It's also not as easy select and run a displayed match as in FARR's default mode. It would definitely be better if FARR's default mode could show a list of linked images like that. I think such a feature could be useful for other stuff too, like displaying thumbnails when searching for images. Or searching anything else for which a thumbnail can be useful really.
Here's "album.html" (to be placed in helpers folder):
<HTML>
<HEAD>
</HEAD>
<BODY>
<FORM NAME="a">
<INPUT TYPE="hidden" NAME="b">
</FORM>
<SCRIPT LANGUAGE="javascript">
var loc = window.location
document.a.b.value = loc
var text = document.a.b.value
function delineate(str)
{
left = str.indexOf("?") + 1;
return(str.substring(left));
}
xx = delineate(text);
document.write(xx+"<br><br>");
function albummatch(zz)
{
var pos=zz.indexOf(xx)
if (pos>=0)
document.write("<a href='" +zz+ "/test.m3u'><img BORDER=0 src='" +zz+ "/folder.jpg' width=200 height=200></a><br>")
}
xarr = new Array("beatles - yellow submarine", "rolling stones - exile on main street", "beatles - abbey road")
for (var i = 0; i < xarr.length; i++) {
albummatch(xarr[i])
}
</script>
And the alias:
1000>>>album>->test param pass to album search .html | htmlviewurl %FARRDIR%\Helpers\album.html?$$1>+>^alb (.*)$
It also needs some folders and files of course.
edit: See the array "xarr" above for details.