Help - Search - Members - Calendar
Full Version: Script Question
Hydrogenaudio Forums > Hosted Forums > foobar2000 > 3rd Party Plugins - (fb2k)
tberman333
I have a quick script question about finding an artist image... I like to store images in the artist folder and call it folder.jpg (like my album art). I also have music in a few different directories on my PC,. but they all have ..../artist/album

The artist folder has folder.jpg (artist image) and and the album folder also has folder.jpg (cover art).

Does anyone know of a way I can pull the artist image? I assume it is something similar to this (used to find the album art), but I can seem to figure it out:

CODE
$replace(%path%,%filename_ext%,folder.jpg)


I have tried

CODE
$replace(%path%,%directory%'/'%filename_ext%,folder.*)


and a few variations of that, but nothing seems to work.

Thanks in advance!
CepiPerez
Try this:
$left(%path%,$calcwidth(%album%))\folder.jpg
VeaaC
Or use

CODE

$replace(%path%,%filename_ext%,\..\folder.jpg)
Yotsuya
Yet another solution:
CODE
$replace(%path%,%directory%\%filename_ext%,folder.jpg)
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2008 Invision Power Services, Inc.