Recommended Posts

I got jealous of all these pretty Foobars, so I ditched my ugly but functional old config.

My (barely) modded version of Spex's Fb2k

Removed: datecheck, AS logo, Bottom Trackinfo_mod (didn't work for me/didn't need)

Changed: Playing color, covercheck string

Added: Quicksearch, Playlist tabs (for managing multiple playlists/searches), and Spectrum (only viewable in full screen, next to Top Trackinfo_mod)

myfb2kxm0.png

Also, another question for Spex.

I noticed that trackinfo can also have "buttons".

Would it be possible for the rating stars in the trackinfo to actually be... you know, used for rating :D?

yes it is. here is a sample of my code form my config a page or 2 back.

$if(%rating%,
$ifequal($num(%rating%,2),00,$imageabs(297,3,images\r0.png,),)
$ifequal($num(%rating%,2),01,$imageabs(297,3,images\r1.png,),)
$ifequal($num(%rating%,2),02,$imageabs(297,3,images\r2.png,),)
$ifequal($num(%rating%,2),03,$imageabs(297,3,images\r3.png,),)
$ifequal($num(%rating%,2),04,$imageabs(297,3,images\r4.png,),)
$ifequal($num(%rating%,2),05,$imageabs(297,3,images\r5.png,),)
,$imageabs(297,3,images\r0.png,))

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

//OR

//$puts(rating,$if2(%rating%,0))
//$button(297,3,0,0,13,13,,,TAG:SET:Rating:1,)
//$button(297,3,13,0,13,13,,,TAG:SET:Rating:2,)
//$button(297,3,26,0,13,13,,,TAG:SET:Rating:3,)
//$button(297,3,39,0,13,13,,,TAG:SET:Rating:4,)
//$button(297,3,52,0,13,13,,,TAG:SET:Rating:5,)

im using the custom info plugin. im not using the tag because foobar likes to delete other tags for some reason/

I have a problem with a progressbar in trackinfo mod.

I'm using this code for it.

$if(%isplaying%,
$puts(progress,$muldiv(%playback_time_seconds%,$sub(%_width%,24),%length_seconds%))
$drawrect(10,75,$sub(%_width%,20),8,brushcolor-null pencolor-120-120-120),)
$ifgreater($get(progress),0,$padding(9,75)$drawrect(3,2,$get(progress),4,brushcolor-90-90-90 pencolor-nulll),)

I can see it just fine but it won't update when I listen to music. What's wrong?

If you're using the very latest version of the component, you need to familiarise yourself with the new way of doing things. Specifically, you probably need to add this line in front of that code:

// PerSecond

Obviously, PerSecond is used when something needs to update every second. PerTrack is used for things that need to upgrade only once per track, including buttons. There's another one for images that only need to be drawn once, but i don't remember what it is (i haven't updated).

If you're using the very latest version of the component, you need to familiarise yourself with the new way of doing things. Specifically, you probably need to add this line in front of that code:

// PerSecond

Obviously, PerSecond is used when something needs to update every second. PerTrack is used for things that need to upgrade only once per track, including buttons. There's another one for images that only need to be drawn once, but i don't remember what it is (i haven't updated).

Thanks, that worked. :)

The tags are:

// lyrics & rating tagcheck

$alignabs($sub(%_width%,25),1,10,18,center,middle)$font(wingdings 2,10,,$if(%lyrics%,$if(%isplaying%,100-130-150,150-150-150),$if(%isplaying%,170-200-220,220-220-220)))P

$alignabs($sub(%_width%,14),1,10,18,center,middle)$font(wingdings 2,10,,$if(%rating%,$if(%isplaying%,100-130-150,150-150-150),$if(%isplaying%,170-200-220,220-220-220)))P

What do I have to switch %lyrics% with in order to chech for track replaygain info, that was the question :) %replaygain% doesn't work...

deltafoobarsk4.png

Took me a while to get rid of usual columns_ui style and get it how I wanted for funcionability :)

Mainly a mod of spex configuration, with some custom crap :p , I think it's just missing some buttons (currently controlled with the taskbar) and the right panel displays lyrics and album art if found, else it looks like on the screen ;)

What do I have to switch %lyrics% with in order to chech for track replaygain info, that was the question :) %replaygain% doesn't work...

Oh, i misunderstood. I thought you were asking the other way around.

There is no single tag for ReplayGain, so i'm not sure what exactly you're looking for. If you only use one type of ReplayGain, you can just substitute %lyrics% with the tag for that type. (The two types of ReplayGain are 'album' and 'track', if you weren't aware. The tag for album gain is %__replaygain_album_gain% and the tag for track gain is %__replaygain_track_gain%.) So for example if you want to just check for track gain (which is the only one i use), you would replace that lyrics line with:

$alignabs($sub(%_width%,25),1,10,18,center,middle)$font(wingdings 2,10,,$if(%__replaygain_track_gain%,$if(%isplaying%,100-130-150,150-150-150),$if(%isplaying%,170-200-220,220-220-220)))P

If you wanted to check for each of them (have separate tick marks, i mean), you would have to add an extra line of code. Something like:

$alignabs($sub(%_width%,36),1,10,18,center,middle)$font(wingdings 2,10,,$if(%__replaygain_album_gain%,$if(%isplaying%,100-130-150,150-150-150),$if(%isplaying%,170-200-220,220-220-220)))P

$alignabs($sub(%_width%,25),1,10,18,center,middle)$font(wingdings 2,10,,$if(%__replaygain_track_gain%,$if(%isplaying%,100-130-150,150-150-150),$if(%isplaying%,170-200-220,220-220-220)))P

(I'm just following the pattern there, i don't know if that '36' part is actually where you'd want to put it.)

Lastly you can do them both at the same time. In other words, the tick will show up if either or both types of ReplayGain is present. For that you'd do something like:

$alignabs($sub(%_width%,25),1,10,18,center,middle)$font(wingdings 2,10,,$if($or(%__replaygain_album_gain%,%__replaygain_track_gain%),$if(%isplaying%,100-130-150,150-150-150),$if(%isplaying%,170-200-220,220-220-220)))P

choose your destiny

Oh, i misunderstood. I thought you were asking the other way around.

There is no single tag for ReplayGain, so i'm not sure what exactly you're looking for. If you only use one type of ReplayGain, you can just substitute %lyrics% with the tag for that type. (The two types of ReplayGain are 'album' and 'track', if you weren't aware. The tag for album gain is %__replaygain_album_gain% and the tag for track gain is %__replaygain_track_gain%.) So for example if you want to just check for track gain (which is the only one i use), you would replace that lyrics line with:

$alignabs($sub(%_width%,25),1,10,18,center,middle)$font(wingdings 2,10,,$if(%__replaygain_track_gain%,$if(%isplaying%,100-130-150,150-150-150),$if(%isplaying%,170-200-220,220-220-220)))P

If you wanted to check for each of them (have separate tick marks, i mean), you would have to add an extra line of code. Something like:

$alignabs($sub(%_width%,36),1,10,18,center,middle)$font(wingdings 2,10,,$if(%__replaygain_album_gain%,$if(%isplaying%,100-130-150,150-150-150),$if(%isplaying%,170-200-220,220-220-220)))P

$alignabs($sub(%_width%,25),1,10,18,center,middle)$font(wingdings 2,10,,$if(%__replaygain_track_gain%,$if(%isplaying%,100-130-150,150-150-150),$if(%isplaying%,170-200-220,220-220-220)))P

(I'm just following the pattern there, i don't know if that '36' part is actually where you'd want to put it.)

Lastly you can do them both at the same time. In other words, the tick will show up if either or both types of ReplayGain is present. For that you'd do something like:

$alignabs($sub(%_width%,25),1,10,18,center,middle)$font(wingdings 2,10,,$if($or(%__replaygain_album_gain%,%__replaygain_track_gain%),$if(%isplaying%,100-130-150,150-150-150),$if(%isplaying%,170-200-220,220-220-220)))P

choose your destiny

Heh, thanx. %__replaygain_track_gain% is what I was looking for. :)

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

    • No registered users viewing this page.
  • Posts

    • My only concern would be the state of the battery. I'd be getting one from a place you trust and perhaps has a decent warranty.
    • Like yourself Steven P I have watched it from the days of William Hartnell, It was good when we had the Darlek's and the Cybermen. Sad to see one of the longest running shows in the world die a sad death.  
    • My problem with FF is I have to jump through hoops to get at least somewhat close to what Vivaldi gives me out of the box, with no real advantage that would make it worth my while. (But hey, apparently there's now at least experimental support for HDR in FF. I mean it's about a decade too late, but still...finally!) Brave I was never the least interested in, never saw the point, not to mention there's been quite a bit of drama surrounding them over the years. But I've been a faithful and very happy Opera user all the way back to 2001(ish), so once Vivaldi showed up following that awkward period of time after the key people left Opera and the company was sold, I never really looked back. And they never once made me question my choices.
    • Need to dust it again dangit, come on McDonalds, do your thing !?
    • I see it has more memory, more storage, a better CPU, and a stylus, as you said. Might be a good alternative. I see some refurbished for $150-200. I'm not scared of refurnbished, as a lot of parts in my house are refurbished/used. All are working atm.
  • Recent Achievements

    • One Month Later
      Sopa flores earned a badge
      One Month Later
    • First Post
      StaticMatrix earned a badge
      First Post
    • Week One Done
      StaticMatrix earned a badge
      Week One Done
    • Rookie
      lamborghiniv10 went up a rank
      Rookie
    • One Month Later
      pinnclepd earned a badge
      One Month Later
  • Popular Contributors

    1. 1
      +primortal
      506
    2. 2
      PsYcHoKiLLa
      207
    3. 3
      +Edouard
      152
    4. 4
      Steven P.
      88
    5. 5
      ATLien_0
      79
  • Tell a friend

    Love Neowin? Tell a friend!