Foobar2000 Customization Topic


Recommended Posts

nilsHaus

Yes, you can use the $imageabs2 function I think, but you'll have to point it to that folder, full path. Unless of you course you shorten it with variables.

Link to post
Share on other sites
lav-chan

Um.

$imageabs2(72,72,,,,,4,4,$replace(%path%,%filename_ext%,)folder.jpg,NOKEEPASPECT)

?

Link to post
Share on other sites
morca007

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

Link to post
Share on other sites
2III7

fooce7.png

just my little modest foobar :D

Link to post
Share on other sites
zzap

I'm new at modding Foobar, so please try not to laugh at me too much.

foobar412.png

Link to post
Share on other sites
Punio4

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?

Link to post
Share on other sites
bbmartini

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/

Link to post
Share on other sites
lassekongo83

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?

Link to post
Share on other sites
lav-chan

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).

Link to post
Share on other sites
lassekongo83

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. :)

Link to post
Share on other sites
Harlem39s Finest

my foobar

Untitled-1.png

thanks to the person who made original SCP config :)

Link to post
Share on other sites
2III7

how to add the total time of selected tracks to trackinfo mod?

Link to post
Share on other sites
Punio4

How to change in Spex's configuration the first tick to check if the track is replaygained, instead if it has lyrics?

Link to post
Share on other sites
lav-chan

$if($meta_test(lyrics),<WHATEVER IF YES>,<WHATEVER IF NO>)

Link to post
Share on other sites
Punio4

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

Link to post
Share on other sites
OmART

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 ;)

Link to post
Share on other sites
Bubbabyte

getting in the christmas spirit..

foobardt5.th.jpg

Link to post
Share on other sites
nilsHaus

How do I make buttons in the trackinfo mod panel?

Link to post
Share on other sites
lav-chan
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

Link to post
Share on other sites
bbmartini

untitled1dg0.jpg

just a quick job on the buttons bubba linked. i need to clean them up a bit.

Link to post
Share on other sites
Punio4

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. :)

Link to post
Share on other sites
This topic is now closed to further replies.
  • Recently Browsing   0 members

    No registered users viewing this page.