Recommended Posts

Yeah, my code works the same. If you click the stars (under the artist name) accordingly, it should rate the file, and store it (if you set it up) in the .txt file.

No, if i move the mouse on the stars, they colors up, but if i click on them, nothing appens, like if the rating couuld not be saved... :(

Try replacing your current rating code with this:

$if(%rating%,
$ifequal($num(%rating%,2),00,$imageabs(26,20,images\rating0.png,),)
$ifequal($num(%rating%,2),01,$imageabs(26,20,images\rating1.png,),)
$ifequal($num(%rating%,2),02,$imageabs(26,20,images\rating2.png,),)
$ifequal($num(%rating%,2),03,$imageabs(26,20,images\rating3.png,),)
$ifequal($num(%rating%,2),04,$imageabs(26,20,images\rating4.png,),)
$ifequal($num(%rating%,2),05,$imageabs(26,20,images\rating5.png,),)
,$imageabs(26,20,images\rating0.png,))

$puts(rating,$if2(%rating%,0))
$button(26,20,0,0,13,13,,,Rate 1,)
$button(26,20,13,0,13,13,,,Rate 2,)
$button(26,20,26,0,13,13,,,Rate 3,)
$button(26,20,39,0,13,13,,,Rate 4,)
$button(26,20,52,0,13,13,,,Rate 5,)

Try replacing your current rating code with this:

$if(%rating%,
$ifequal($num(%rating%,2),00,$imageabs(26,20,images\rating0.png,),)
$ifequal($num(%rating%,2),01,$imageabs(26,20,images\rating1.png,),)
$ifequal($num(%rating%,2),02,$imageabs(26,20,images\rating2.png,),)
$ifequal($num(%rating%,2),03,$imageabs(26,20,images\rating3.png,),)
$ifequal($num(%rating%,2),04,$imageabs(26,20,images\rating4.png,),)
$ifequal($num(%rating%,2),05,$imageabs(26,20,images\rating5.png,),)
,$imageabs(26,20,images\rating0.png,))

$puts(rating,$if2(%rating%,0))
$button(26,20,0,0,13,13,,,Rate 1,)
$button(26,20,13,0,13,13,,,Rate 2,)
$button(26,20,26,0,13,13,,,Rate 3,)
$button(26,20,39,0,13,13,,,Rate 4,)
$button(26,20,52,0,13,13,,,Rate 5,)

The problem persist, but now if i move the mouse on the stars, nothing happens... :(

Did you set the storage method for the custom info plugin? Preferences -> Tools -> Custom Info -> Storage Method selection: Text file (fb2k\custominfo.txt) then click switch.

Yeaaaaaaaaah!!!!!! :D

Thanks a lot!!! :D

Now it works perfectly!!! :D

I owe you a favour! :)

Group:

$imageabs(,,\images\album_bg.png,)

$padding(4,0)

$font(segoe ui,9,bold glow- glowexpand-0 glowalpha-125,255-255-255)

$align(left,middle)$caps2($if(%album artist%,%album artist%,%artist%))

$align(right,middle)$caps2(%album%) - $replace($replace(%date%,20,''),19,'')

Item:

$if(%isplaying%,$imageabs(,,\images\main_bg_playing.png,)$font(segoe ui,8,,85-56-40),$imageabs(,,\images\main_bg.png,)$font(,8,,80-80-80))

$padding(16,3)$align(left,center)

$caps2(%title%)

$align(right,bottom)
$font(segoe ui,8,,)
[%playback_time% / ]%length%

@ynnoj - i'm still working on those proposed human/tangerine style buttons, just got a lot of work to do with college atm :)

Thanks dude, greatly appreciated. :wub:

Hi,

Here my Foobar at the moment :D

Many thanks to all the ppl that helped out \o/ thks

foobiebe9.th.png

and its part of this desk : http://www.deviantart.com/deviation/41190505/

Bye

:o That is so cool! Anyway you can post the setup and what you used? Please? :D

Taken from hydrogen audio:

Here's the code of my playlist:

Row Height: 23 - Order by %artist%

Item Display:

CODE

$imageabs(10,$if($strcmp(%tracknumber%,01),0,$add(23,$mul(-23,%tracknumber%))),neo1\albumborder.png,)

$imageabs(11,$if($strcmp(%tracknumber%,01),1,$add(24,$mul(-23,%tracknumber%))),$replace($replace(cover\%artist% - %album%.png,',',),?,),)

$font(calibri,8,boldshadow glowalpha-50,)

$if($strcmp(%tracknumber%,01),$alignabs(100,-3,120,110,,)%date%,)

$if($strcmp(%tracknumber%,01),$imageabs(100,15,neo1\line2.png,))

$font(calibri,8,boldshadow glowalpha-50,100-100-100)

$if($strcmp(%tracknumber%,02),$alignabs(100,-3,140,110,,)%album%,)

$if(%_selected%,$drawrect(246,0,0,0,brushcolor-220-220-220 pencolor-null))

$if(%_isplaying%,$drawrect(246,0,0,0,brushcolor-40-40-40 pencolor-null))

$font(calibri,8,boldshadow glowalpha-50,70-70-70)

$alignabs(250,-1,$sub(%_width%,300),12,,)%title%

$alignabs($sub(%_width%,127),-1,120,20,right,)%length%

$alignabs(250,10,220,110,,)$font(calibri,7,bold,170-170-170)

$if($strcmp(%play_counter%,?),No plays,%play_counter% Plays) - $if($meta(LYRICS),Lyrics available,No Lyrics)

$alignabs($sub(%_width%,126),13,120,20,right,)

$font(wingdings,6,bold,170-170-170)$repeat(,%rating%)

$if(%isplaying%,

$drawrect(246,0,0,0,brushcolor-40-40-40 pencolor-null)

$alignabs(250,-2,900,200,,)$font(Wingdings 3,17,bold glow-100-100-100,250-250-250)m

$font(calibri,8,boldshadow glow-50-90-100,170-230-250)

$alignabs(272,-1,$sub(%_width%,318),12,,)%title%

$alignabs($sub(%_width%,127),-1,120,20,right,)%length%

$alignabs(272,10,120,110,,)$font(calibri,7,boldshadow glow-70-70-70,180-180-180)

$if($strcmp(%play_counter%,?),No plays,%play_counter% Plays) - $if($meta(LYRICS),Lyrics available,No Lyrics)

$alignabs($sub(%_width%,126),13,120,20,right,)$font(wingdings,6,boldshadow glow-70-70-70,180-180-180)$repeat(,%rating%)

)

Group Display:

CODE

$font(calibri,9,boldshadow glowalpha-50,)

$alignabs(10,-2,580,110,,)%artist%

$imageabs(9,15,neo1\line3.png,)

Where do you put all that code? I put the trackmod infos right, i'm trying to get mine to look like Cepi btw.

This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.