Recommended Posts

i have a problem how can i make a button that sort the files by album im trying this and it doesnt work:

$button(575,13,0,0,24,24,images\iflex/sort.png,images\iflex/sorthov.png,'Sort by album',)

pls help! i dont like using keyboard shortcuts

$button(575,13,0,0,24,24,/images\iflex\sort.png,/images\iflex\sorthov.png,'Sort by album',)

$button(575,13,0,0,24,24,/images\iflex\sort.png,/images\iflex\sorthov.png,'Sort by album',)

u know what mate, i think that something its messes here, cause now it doesnt work even with regular buttons (toolbar ones), can someone send me a track_info_mod.dll cause mine its messed up or something :s, i re downloaded the latest version but im still having problems, i guess i will have to re download every component or re install :(

I'm very new in customizing foobar2000 and I have a problem with trackinfo config...

zwischenablage1zz0.jpg

This config should be already known (made by Alan Orozco)

My problem is: At the top where "Now playing" stands, I want to show up the current playback status (Now Playing, Paused, Stopped). For "Stopped" and "Playing" it works. But for "Paused" it won't and I don't know how to change the code to get it work.

I hope you unterstand my problem and somebody can help me.

I can't express myself in English that good.... :blush:

Greets

//change this var

$puts(prFolder,F:\Programme\foobar2000\)

//Don't edit anymore

$imageabs2(160,20,,,,,0,0,$get(prFolder)aofoo\block2.png,)

$alignabs(5,4,130,100,left,)
$if(%isplaying%,Now playing
$alignabs(105,4,50,100,right,)[%tracknumber%][ of %totaltracks%]
,
Stopped
)

$if(%isplaying%,
$puts(cover,$replace(%path%,%filename_ext%,folder.jpg)),
$puts(cover,$get(prFolder)aofoo\nocover.png)
)
$puts(reflection,$get(prFolder)aofoo\reflect.png)

$imageabs2(120,120,,,,,20,150,$get(cover),NOKEEPASPECT ROTATEFLIP-6)
$imageabs2(120,120,,,,,20,150,$get(reflection),)
$imageabs2(154,15,,,,,2,142,$get(prFolder)aofoo\albumshadow.png,)
$imageabs2(120,120,,,,,20,30,$get(cover),NOKEEPASPECT)

// PerSecond
$alignabs(,160,160,200,center,)
$if(%isplaying%,

$font(corbel,,bold,)
$iflonger(%title%,30,$padcut(%title%,26)'...',%title%)
$char(10)
$font(corbel,,,140-140-140)
%playback_time% / %length%

$alignabs(15,190,130,100,left,)
$font(corbel,,bold,)
Artist:
$char(10)
Album:
$char(10)
Genre:
$char(10)
Year:

$alignabs(15,240,130,100,left,)
$font(corbel,,bold,)
Bitrate:
$char(10)
Size:
$char(10)
Codec:

$alignabs(55,190,130,100,left,)
$font(corbel,,normal,70-70-70)
%artist%
$char(10)
$iflonger(%album%,18,$padcut(%album%,15)'...',%album%)
$char(10)
$iflonger(%genre%,18,$padcut(%genre%,15)'...',%genre%)
$char(10)
%date%

$alignabs(55,240,130,100,left,)
$font(corbel,,normal,70-70-70)
%bitrate% kbps
$char(10)
$div($muldiv(100,%_filesize%,1048576),100)','$mod($muldiv(100,%_filesize%,1048576),100) MB
$char(10)
%codec%
,
Play a song
$char(10)
'Come on, you know you want to'
)

Change this part...

$alignabs(5,4,130,100,left,)
$if(%isplaying%,Now playing
$alignabs(105,4,50,100,right,)[%tracknumber%][ of %totaltracks%]
,
Stopped
)

to this..

$alignabs(5,4,130,100,left,)
$if(%isplaying%,
$if(%ispaused%,Paused
$alignabs(105,4,50,100,right,)[%tracknumber%][ of %totaltracks%]
,
Now playing
$alignabs(105,4,50,100,right,)[%tracknumber%][ of %totaltracks%])
,
Stopped
)

@ ZappBrannigan

It's working... Thanks a lot :)

Now I have another question. What do I have to change, so that if an album has no albumart the "noalbum.png" is shown at the place where the albumarts normally are shown. Actually it's not and I don't know why.... :-/

Sorry for this stupid questions, but I really don't know... :(

This is how it looks at the moment:

zwischenablage1tq4.jpg

Edited by Blade86
Now I have another question. What do I have to change, so that if an album has no albumart the "noalbum.png" is shown at the place where the albumarts normally are shown. Actually it's not and I don't know why.... :-/

Replace this code

$if(%isplaying%,
$puts(cover,$replace(%path%,%filename_ext%,folder.jpg)),
$puts(cover,$get(prFolder)aofoo\nocover.png)
)

With this

$if($fileexists($replace(%path%,%filename_ext%,folder.jpg)),
$puts(cover,$replace(%path%,%filename_ext%,folder.jpg)),
$puts(cover,/aofoo\nocover.png)
)

give that a shot.

can anyone help here: why my music doesnt show?

post-45419-1174076932_thumb.jpg

trackinfo code:

$imageabs($sub($div(%_width%,2),512),0,vista1\back1.png,)
//$imageabs2(40,40,,,,,2,2,$replace(%path%,%filename_ext%,)folder.jpg,)

$button($sub($div(%_width%,2),236),94,0,0,0,0,vista1\now2.png,vista1\now1.png,Playing,)
$button($sub($div(%_width%,2),74),94,0,0,0,0,vista1\list2.png,vista1\list1.png,Playlist,)
$button($add($div(%_width%,2),88),94,0,0,0,0,vista1\lyric2.png,vista1\lyric1.png,Lyrics,)

$drawrect(0,124,%_width%,10,brushcolor-244-244-244 pencolor-null)

$if(%isplaying%,
$puts(progress,$muldiv(%playback_time_seconds%,$sub(%_width%,24),%length_seconds%))
$drawrect(10,85,$sub(%_width%,20),6,brushcolor-null pencolor-86-106-160),)
$ifgreater($get(progress),0,$padding(9,85)$drawrect(3,2,$get(progress),2,brushcolor-130-160-240 pencolor-nulll),)

$if(%_isplaying%,

$font(calibri,13,bold glow-130-160-240 glowalpha-80,250-250-250)
$alignabs(0,6,%_width%,30,center,)%artist%

$alignabs(0,30,%_width%,20,center,)
$font(calibri,8,bold glow-130-160-240 glowalpha-80,250-250-250)"%title%"

$alignabs(0,47,%_width%,20,center,)
$font(calibri,8,glow-180-180-180 glowalpha-50,220-220-220)from  
$font(calibri,8,glow-130-160-240 glowalpha-60,180-220-250)"%album%"

$alignabs(0,64,%_width%,20,center,)
$font(Calibri,8,glow-180-180-180 glowalpha-50,220-220-220)
$if($strcmp(%play_counter%,?),
Playing song for fist time,
$if($strcmp(%play_counter%,1),
Song played %play_counter% time',' on ,
Song played %play_counter% times. Last on )
$if($strcmp($left($right(%last_played%,10),1),1),Sunday', ',)
$if($strcmp($left($right(%last_played%,10),1),2),Monday', ',)
$if($strcmp($left($right(%last_played%,10),1),3),Tuesday', ',)
$if($strcmp($left($right(%last_played%,10),1),4),Wednesday', ',)
$if($strcmp($left($right(%last_played%,10),1),5),Thursday', ',)
$if($strcmp($left($right(%last_played%,10),1),6),Friday', ',)
$if($strcmp($left($right(%last_played%,10),1),7),Saturday', ',)
$right(%last_played%,8) at $right($left(%last_played%,16),5))


$button2($sub(%_width%,16),8,0,0,10,13,
'$font(Calibri,8,glow-75-80-120 glowalpha-70,250-250-250)?',
'$font(Calibri,8,glow-75-80-120 glowalpha-170,250-250-250)?',1 - Track info Mod,)

,
$imageabs($sub($div(%_width%,2),38),10,neo2\wmp1.png,)
)

i have it

Core (2006-11-25 09:21:34)
	foobar2000 core 0.9.4.2
foo_albumlist.dll (2006-11-25 13:49:06)
	Album List 3.2.0
foo_audioscrobbler.dll (2006-12-20 20:53:36)
	Audioscrobbler 1.3.5
foo_browser.dll (2006-12-04 09:42:48)
	Music Browser 1.2.3 [Dec  4 2006 - 09:42:32]
foo_cdda.dll (2006-11-25 09:19:46)
	CD Audio Decoder 2.1.1
foo_converter.dll (2006-11-25 09:20:00)
	Converter 1.0.1
foo_cwb_hooks.dll (2006-12-01 13:47:46)
	cwbowron's title format hooks 1.1.0beta [Dec  1 2006 - 13:47:34]
foo_dsp_std.dll (2006-11-25 09:20:12)
	Standard DSP array 1.0
foo_freedb2.dll (2006-08-29 14:43:04)
	freedb Tagger 0.5.2a
foo_input_std.dll (2006-11-25 09:19:14)
	FLAC Decoder 1.1.0
	Standard Input Array 1.0
	WMA Decoder 1.1
foo_masstag.dll (2006-11-25 09:18:42)
	Masstagger 1.6
foo_msnalt.dll (2006-11-14 00:27:20)
	MSN Now Playing (alt) 2.4
foo_out_ks.dll (2006-08-04 21:54:58)
	Kernel Streaming Output 1.2.2
foo_playlist_tree.dll (2006-06-26 11:42:12)
	Playlist Tree Panel 2.2.beta2 [Jun 26 2006 - 11:41:51]
foo_rgscan.dll (2006-11-25 09:18:18)
	ReplayGain Scanner 2.0.2
foo_ui_columns.dll (2006-11-22 08:05:24)
	Columns UI 0.1.3 beta 1v7
foo_ui_std.dll (2006-11-25 09:18:12)
	Default User Interface 0.9acc
foo_uie_albumart.dll (2006-10-15 13:57:16)
	Album Art Panel 0.2.5.1
foo_uie_lyrics_panel.dll (2006-06-09 00:58:30)
	Lyrics panel 0.34.1
foo_uie_single_column_playlist.dll (2007-01-09 15:43:08)
	Single Column Playlist Display 0.5.4 beta [Jan  9 2007 - 15:42:59]
foo_uie_tabs.dll (2006-07-08 04:18:32)
	Tabbed panel modifyed 0.2.1
foo_uie_trackinfo_mod.dll (2007-01-05 13:36:20)
	Track info panel mod 0.8.0 beta [Jan  5 2007 - 13:36:12]

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

    • No registered users viewing this page.