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.
  • Posts

    • I just started using Teams (and “New” Oiutlook) at work (instead of Slack) and both are truly abysmal pieces of software.
    • If you are willing to go to approx $200, then as mentioned in your other thread I think a refurbished Pixel 8 will be a great deal that will last you for years. I recently recommended that to someone at work, he was on a strict £200 budget, which got him an excellent conditioned refurbished Pixel 8 here. He's since told me its the best phone he's ever had and feels its a massive upgrade over his old Samsung A series device. I don't know the sites which deal in refurbished devices in the US, however I’m sure you will have some options like we do here. Failing that Ebay is also quite good in my experience. If you wanted something a bit cheaper, then you could maybe go for an older Pixel 7, these will still get security updates until the end of 2027. Even after that you have good third party OS support from LineageOS. It doesn't have to be a Pixel though, you can buy many older devices for a good deal that would be better than a new $100 phone and flash LineageOS to them: https://wiki.lineageos.org/devices/
    • I don't use one drive, but then I don't use any cloud storage, not even Icloud on my mac. If I did use cloud storage, then I would not use One drive, not because there is anything wrong with it, but because I can use Icloud. The only reason I see to use one drive is if your job requires you to have access to it
    • Not built in, which is not a bad thing. There are ways of adding cloud storage to it, Dropbox is the most well know that also have a client for Linux, but there are others.
  • Recent Achievements

    • First Post
      DragonOfMercy earned a badge
      First Post
    • First Post
      bella52 earned a badge
      First Post
    • Reacting Well
      Techinmay earned a badge
      Reacting Well
    • Collaborator
      WndSks went up a rank
      Collaborator
    • One Month Later
      Sopa flores earned a badge
      One Month Later
  • Popular Contributors

    1. 1
      +primortal
      505
    2. 2
      PsYcHoKiLLa
      206
    3. 3
      +Edouard
      154
    4. 4
      Steven P.
      87
    5. 5
      ATLien_0
      78
  • Tell a friend

    Love Neowin? Tell a friend!