I've searched and searched on this one and have come up empty. I've been playing with 2 FB2K builds, Xchange 360 and Nocturne from a couple folks over at DeviantArt that involve either FB2K title formatting or scripting of some sort I'm not familiar with. And from what I can make out, they're putting their code into 'foo uie graphical browser' panels.
My problem is where the code $puts() is looking for the album art file folder.jpg. My album art files are named with the value of the %album% ID3 tag in all my album folders, and I can't figure out if it's possible to change the code to have the $puts() variable recognize all my differently named album art files. Just replacing folder.jpg in the script with %album%.jpg doesn't seem to be something that the variable wants to see.
Here's the code for Xchange 360's right sidebar that's looking for the folder.jpg file. The line '$puts(kcp,$replace(%path%,%filename_ext%,)front.jpg)' near the top seems to be my problem:
$puts(img,'./skins/xchange')
//
// Cover Art Path ----<
//
$puts(kcp,$replace(%path%,%filename_ext%,)front.jpg)
//
// Cover Art Path ---->
//
$gp_set_text_rendering_hint(ct)
$gp_set_font(Tahoma,9,n)
$gp_set_string_format(center,center)
// COVER
$set_pen(045-045-050)
$set_brush(0-0-0)
$round_rect(3,2,$sub(%gb_width%,5),$sub(%gb_height%,4),6,6)
$if(%gb_mouse_over%,
$if(%gb_isplaying%,
$if2($draw_image(8,8,76,75,$get(kcp),255,nokeepaspect),
$gp_set_font(Tahoma,8,n)
$gp_set_brush(ffd0d0d0)
$gp_draw_string(%album artist%$char(10)%album%$char(10)$ifgreater(%totaldiscs%,1,'(disc '%discnumber%')',),8,8,$eval(%gb_width%-15),$eval(%gb_height%-15))
)
$draw_image(1,1,90,89,$get(img)'/bg/gb_playingh.png',255,)
,
$if2($draw_image(2,2,87,86,$get(kcp),255,nokeepaspect),
$set_pen(035-035-035)
$set_brush(0-0-0)
$round_rect(2,2,$sub(%gb_width%,4),$sub(%gb_height%,4),5,5)
$gp_set_brush(ffd0d0d0)
$gp_draw_string(%album artist%$char(10)%album%$char(10)$ifgreater(%totaldiscs%,1,'(disc '%discnumber%')',),5,5,$eval(%gb_width%-9),$eval(%gb_height%-9))
)
$draw_image(1,1,90,89,$get(img)'/bg/gb_hover.png',255,)
)
,
$if(%gb_isplaying%,
$if2($draw_image(8,8,76,75,$get(kcp),255,nokeepaspect),
$gp_set_font(Tahoma,8,n)
$gp_set_brush(fff0f0f0)
$gp_draw_string(%album artist%$char(10)%album%$char(10)$ifgreater(%totaldiscs%,1,'(disc '%discnumber%')',),8,8,$eval(%gb_width%-15),$eval(%gb_height%-15))
)
$draw_image(1,1,90,89,$get(img)'/bg/gb_playing.png',255,)
,
$if2($draw_image(4,4,84,83,$get(kcp),120,nokeepaspect),
$gp_set_brush(ff404040)
$gp_draw_string(%album artist%$char(10)%album%$char(10)$ifgreater(%totaldiscs%,1,'(disc '%discnumber%')',),5,5,$eval(%gb_width%-9),$eval(%gb_height%-9))
)
)
)
$if(%gb_focused%,
$if(%gb_isplaying%,
,
$draw_image(1,1,90,89,$get(img)'/bg/gb_focus.png',255,)
)
,)
Could someone more familiar with scripting tell me if this might be something that a simple change in code can address, or not.
Thanks folks