nilsHaus Posted December 3, 2006 Share Posted December 3, 2006 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 comment Share on other sites More sharing options...
lav-chan Posted December 3, 2006 Share Posted December 3, 2006 Um. $imageabs2(72,72,,,,,4,4,$replace(%path%,%filename_ext%,)folder.jpg,NOKEEPASPECT) ? Link to comment Share on other sites More sharing options...
morca007 Posted December 3, 2006 Share Posted December 3, 2006 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) Link to comment Share on other sites More sharing options...
2III7 Posted December 3, 2006 Share Posted December 3, 2006 just my little modest foobar :D Link to comment Share on other sites More sharing options...
srn Posted December 4, 2006 Share Posted December 4, 2006 modded Spex' config Link to comment Share on other sites More sharing options...
zzap Posted December 4, 2006 Share Posted December 4, 2006 I'm new at modding Foobar, so please try not to laugh at me too much. Link to comment Share on other sites More sharing options...
Punio4 Posted December 4, 2006 Share Posted December 4, 2006 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 comment Share on other sites More sharing options...
bbmartini Posted December 5, 2006 Share Posted December 5, 2006 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 comment Share on other sites More sharing options...
lassekongo83 Posted December 5, 2006 Share Posted December 5, 2006 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 comment Share on other sites More sharing options...
lav-chan Posted December 5, 2006 Share Posted December 5, 2006 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 comment Share on other sites More sharing options...
Ryne Posted December 5, 2006 Share Posted December 5, 2006 Fixed* Link to comment Share on other sites More sharing options...
lassekongo83 Posted December 5, 2006 Share Posted December 5, 2006 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 comment Share on other sites More sharing options...
Harlem39s Finest Posted December 5, 2006 Share Posted December 5, 2006 my foobar thanks to the person who made original SCP config :) Link to comment Share on other sites More sharing options...
2III7 Posted December 5, 2006 Share Posted December 5, 2006 how to add the total time of selected tracks to trackinfo mod? Link to comment Share on other sites More sharing options...
Punio4 Posted December 5, 2006 Share Posted December 5, 2006 How to change in Spex's configuration the first tick to check if the track is replaygained, instead if it has lyrics? Link to comment Share on other sites More sharing options...
lav-chan Posted December 5, 2006 Share Posted December 5, 2006 $if($meta_test(lyrics),<WHATEVER IF YES>,<WHATEVER IF NO>) Link to comment Share on other sites More sharing options...
Punio4 Posted December 5, 2006 Share Posted December 5, 2006 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 comment Share on other sites More sharing options...
Bzz! Posted December 5, 2006 Share Posted December 5, 2006 What are some good tutorials to get a nice foobar? Link to comment Share on other sites More sharing options...
OmART Posted December 5, 2006 Share Posted December 5, 2006 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 comment Share on other sites More sharing options...
Bubbabyte Posted December 5, 2006 Share Posted December 5, 2006 getting in the christmas spirit.. Link to comment Share on other sites More sharing options...
nilsHaus Posted December 6, 2006 Share Posted December 6, 2006 How do I make buttons in the trackinfo mod panel? Link to comment Share on other sites More sharing options...
Bubbabyte Posted December 6, 2006 Share Posted December 6, 2006 How do I make buttons in the trackinfo mod panel? here you go... this is the config i used, i just edited the images. http://www.hydrogenaudio.org/forums/index....showtopic=49867 Link to comment Share on other sites More sharing options...
lav-chan Posted December 6, 2006 Share Posted December 6, 2006 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 comment Share on other sites More sharing options...
bbmartini Posted December 6, 2006 Share Posted December 6, 2006 just a quick job on the buttons bubba linked. i need to clean them up a bit. Link to comment Share on other sites More sharing options...
Punio4 Posted December 6, 2006 Share Posted December 6, 2006 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 comment Share on other sites More sharing options...
Recommended Posts