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

    • I agree when are you going to read this (really poor BTW) article?
    • I disagree; they come off very "bitchy" and "whiny". Make a great product and combine that with a great price (free) and people will come over to your side. Or build it and they will come as they say. Constantly trying to get attention by complaining all the time, will turn people off to your product.
    • It use to be a nightmare, with LibreOffice supporting a newer draft ODF standard by default, and Microsoft Office supporting the older non-draft standard. Now that they both support the same version of ODF, they should be interoperable.
    • Brave Browser 1.91.171 by Razvan Serea Brave Browser is a lightning-fast, secure web browser that stands out from the competition with its focus on privacy, security, and speed. With features like HTTPS Everywhere and built-in tracker blocking, Brave keeps your online activities safe from prying eyes. Brave is one of the safest browsers on the market today. It blocks third-party data storage. It protects from browser fingerprinting. And it does all this by default. Speed - Brave is built on Chromium, the same technology that powers Google Chrome, and is optimized for speed, providing a fast and responsive browsing experience. Brave Browser also features Brave Rewards, a system that rewards users with Basic Attention Tokens (BAT) for viewing opt-in ads. This innovative system provides an alternative revenue model for content creators and a way to support the Brave community. SlimBrave Neo takes all the good things about Brave and makes them even better by keeping everything clean, light, and privacy-focused. It removes the extra clutter, turns off features you might not need, and cuts down on anything that could slow you down or collect unnecessary data. Because it relies on simple settings and policies instead of modifying the browser itself, you still get full Brave compatibility—just in a smoother, lighter, and more privacy-friendly package. Brave Browser 1.91.171 changelog: General Fixed Cardano not being disabled on upgrade to Brave Origin. Upgraded Chromium to 149.0.7827.103. Origin Removed “Survey Panelist” setting from brave://settings/privacy. Fixed P3A and usage ping under brave://settings/privacy being displayed on first launch on Linux. Upgraded Chromium to 149.0.7827.103. Download: Brave Browser 64-bit | 1.2 MB (Freeware) Download: Brave Browser 32-bit View: Brave Homepage | Offline Installers | Screenshot Get alerted to all of our Software updates on Twitter at @NeowinSoftware
    • Hi. As the title suggests, I can't access the forum on my phone. I'm using Edge on Android and when I try to navigate to the forum I get a "we value your privacy" popup and none of the buttons are clickable. It effectively stonewalls me from reading any forum content.
  • Recent Achievements

    • Rookie
      Marzoid went up a rank
      Rookie
    • Community Regular
      coch went up a rank
      Community Regular
    • One Year In
      slackerzz earned a badge
      One Year In
    • One Year In
      highriskpaym earned a badge
      One Year In
    • One Month Later
      highriskpaym earned a badge
      One Month Later
  • Popular Contributors

    1. 1
      +primortal
      519
    2. 2
      PsYcHoKiLLa
      190
    3. 3
      +Edouard
      156
    4. 4
      Steven P.
      84
    5. 5
      ATLien_0
      75
  • Tell a friend

    Love Neowin? Tell a friend!