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

    • HomeBank 5.10.1 by Razvan Serea HomeBank is a free software (as in "free speech" and also as in "free beer") that will assist you to manage your personal accounting. It is designed to easy to use and be able to analyse your personal finance and budget in detail using powerful filtering tools and beautiful charts. If you are looking for a completely free and easy application to manage your personal accounting, budget, finance then HomeBank should be the software of choice. HomeBank also benefits of more than 19 years of user experience and feedback, and is translated by its users in around 56 languages. Highlights: Cross platform, supports GNU/Linux, Microsoft Windows, Mac OS X Import easily from Intuit Quicken, Microsoft Money or other software Import bank account statements (OFX, QIF, CSV, QFX) Duplicate transaction detection Automatic cheque numbering Various account types : Bank, Cash, Asset, Credit card, Liability Scheduled transaction Category split Internal transfer Month/Annual budget Dynamic powerful reports with charts Automatic category/payee assignment Vehicule cost HomeBank 5.10.1 changelog: change: the input field helper icon + fixed some spacing inconsistency change: transaction, added some missing input tooltips and reworked existing change: category, payee and tag window add input now have a tooltip and button change: split window, refactored the layout change: split window, add display of memo and date wish : #2106800 budget report option to exclude transfers from unbudgeted line bugfix: prevent deletion of non pending transaction when rejecting bugfix: transaction warning for no rate faultly showing in transfer bugfix: report missing space for filter tooltip icon bugfix: budget report missing filter tooltip bugfix: manage account closed icon was hidding budget icon bugfix: #2154771 view transcations requires hitting Escape or X twice to close dialog bugfix: #2154337 transfer to/from closed account with different currency don't show the amount bugfix: #2154234 scheduled transaction recurring pattern daily value limited to 100 bugfix: #2149897 view split for closed accounts bugfix: #2148561 global time chart do not shows current period by default bugfix: #2148456 the main screen Total Chart is no longer showing an overall total bugfix: #2147497 editing a transaction resets scroll position bugfix: #2147377 balance mixup with transaction same day sort by amount bugfix: #2147052 quarter are wrong when fiscal year is jan 1 bugfix: #2147048 all events for the month are late but today is only the 1st bugfix: #2144993 impossible to search for transactions by value for values >999,99 bugfix: #2144698 adding new Category/Payee/Tags requires hitting -Enter- bugfix: #2144419 QIF Account name detection fail on import bugfix: #2142349 can't delete account groups bugfix: #2139409 account maximum limit is not fully used (example credit card) bugfix: #2133783 transfers shouldn't add to dashboard top spending reports Download: HomeBank 5.10.1 | 20.5 MB (Open Source) Download: 3rd party packages (macOSX. Ubuntu...etc) View: HomeBank Website | Support | Features | Screenshot Get alerted to all of our Software updates on Twitter at @NeowinSoftware
    • Same, price was right for my Home, laptop, phone. Works great!
    • Brave and Firefox. I’ve been using them as my primary browsers for a while now, perfect combo
    • They want Ring 0 access. Should be a hard no. A middle ground needs to be found.
  • Recent Achievements

    • One Year In
      Primer1st earned a badge
      One Year In
    • Experienced
      JayZJay went up a rank
      Experienced
    • Reacting Well
      Sir_Timbit earned a badge
      Reacting Well
    • Week One Done
      rubentuben8 earned a badge
      Week One Done
    • Week One Done
      ARaclen earned a badge
      Week One Done
  • Popular Contributors

    1. 1
      +primortal
      524
    2. 2
      PsYcHoKiLLa
      232
    3. 3
      Edouard
      135
    4. 4
      ATLien_0
      88
    5. 5
      Steven P.
      83
  • Tell a friend

    Love Neowin? Tell a friend!