Recommended Posts

^Dude, that looks pretty sweet. But you know, I think you should add glass to the bottom instead of a background image. Glass is supported by the new foo_ui_panels component.

Thanks :)

Glass at the bottom?

You mean, like this :D

fooglassxg2.th.jpg

small glitches with the buttons though :) but well.... satisfied, for now.

Could you post the code for that config Mr. Fuji? While I would change it a bit, I would love a starting point.

As already said... it's basically em3's layout....

It's really badly converted to ui_panels at the moment, but I'll post it anyway ;)

UI_Panels config:

// Background
$glass(0,0,0,58)

// Global
$panel(Playlist,Single Column Playlist,0,43,%_width%,$sub(%_height%,101),)
$panel(Buttons,Buttons,$sub($div(%_width%,2),110),$sub(%_height%,49),240,52,)

$puts(tracktitle,
	$if($meta_test(artist),%artist%,$substr(%_filename%,1,$sub($strstr(%_filename%, - ),1)))
	$if($or($meta_test(artist,title),$strstr(%_filename%, - )), - )
	$if($or($meta_test(title),$not($strstr(%_filename%, - ))),
	%title%,$substr(%_filename%,$add($strstr(%_filename%, - ),3),$len(%_filename%))))

$if(%album%,

	$puts(freespace,$sub(%_width%,38,$calcwidth($get(tracktitle)),$calcwidth(%album%)))
	$puts(space1,$sub($muldiv(%_width%,60,100),28,35))
	$puts(space2,$sub($muldiv(%_width%,40,100),8))

	$ifgreater($get(freespace),35,
		$puts(areaWidth1,$add($calcwidth($get(tracktitle)),$div($get(freespace),2)))
		$puts(areaWidth2,$add($calcwidth(%album%),$div($get(freespace),2)))
		,
		$ifgreater($calcwidth(%album%),$get(space2),
			$puts(areaWidth1,$get(space1))
			$puts(areaWidth2,$get(space2))
			,
			$puts(areaWidth1,$sub(%_width%,$calcwidth(%album%),28,35))
			$puts(areaWidth2,$add($calcwidth(%album%),8))
			)
		)

	,$puts(areaWidth1,$sub(%_width%,36))
	)

$puts(charWidth1,$div($calcwidth($get(tracktitle)),$len($get(tracktitle))))
$puts(charWidth2,$div($calcwidth(%album%),$len(%album%)))


// PerTrack
$if($and($stricmp(%_trackinfo_mode%,Follow Cursor),$stricmp(%_trackinfo_notrack%,1))
	,$imageabs(0,0,images\track_bg3.png,)
	,$if($and($stricmp(%_trackinfo_mode%,Now Playing),$stricmp(%_trackinfo_notrack%,1)),
		$imageabs(0,0,images\track_bg3.png,),
		$if(%isplaying%,$imageabs(0,0,images\track_bg1.png,),$imageabs(0,0,images\track_bg2.png,))
		)
	)

//$imageabs2(%_width%,3,0,0,0,0,0,$sub(%_height%,4),images\goldbar.png,nokeepaspect)
$button(5,5,0,0,17,18,,,Properties,)

$if($or(%isplaying%,$stricmp(%_trackinfo_mode%,Follow Cursor)),

	$puts(rating,$if2(%rating%,0))
	$button(26,20,0,0,13,17,images\rating$get(rating).png,images\rating1.png,Rate 1,)
	$button(26,20,13,0,13,17,images\rating$get(rating).png,images\rating2.png,Rate 2,)
	$button(26,20,26,0,13,17,images\rating$get(rating).png,images\rating3.png,Rate 3,)
	$button(26,20,39,0,13,17,images\rating$get(rating).png,images\rating4.png,Rate 4,)
	$button(26,20,52,0,13,17,images\rating$get(rating).png,images\rating5.png,Rate 5,)

	$padding(28,4)$align(left,top)
	$font(calibri,9,,0-77-153)

	$ifgreater($calcwidth($get(tracktitle)),$get(areaWidth1),
		$left($get(tracktitle),$sub($sub($len($get(tracktitle)),$div($sub($calcwidth($get(tracktitle)),$get(areaWidth1)),$get(charWidth1))),3))'...'
		,$get(tracktitle)
		)

	$padding(-20,0)$align(right,top)

	$if(%album%,
		$ifgreater($calcwidth(%album%),$get(areaWidth2),
			$left(%album%,$sub($sub($len(%album%),$div($sub($calcwidth(%album%),$get(areaWidth2)),$get(charWidth2))),3))'...'
			,%album%)
		)

	$alignabs($sub(%_width%,66),18,60,20,right,bottom)$font(calibri,8,,255-255-255)

	$div(%_filesize%,1048576).$num($div($mul($mod(%_filesize%,1048576),100),1048576),2) MB

	)


// PerSecond
$alignabs(110,18,160,20,left,bottom)$font(calibri,8,,255-255-255)

$if(%isplaying%,
	$if2($info(bitrate_dynamic),$info(bitrate)) KB/s [%samplerate%] Hz $caps([%__mp3_stereo_mode% ])$caps([%codec%])) $alignabs(280,20,60,18,center,bottom)$if(%isplaying%,$if(%play_count%,%play_count%x Played,Never Played),)

$imageabs2($ifgreater($muldiv($sub($muldiv(%_width%,81,80),4),%playback_time_seconds%,%length_seconds%),1,$muldiv($sub($muldiv(%_width%,81,80),4),%playback_time_seconds%,%length_seconds%),1),3,0,0,0,0,0,$sub(%_height%,52),images\goldbar.png,nokeepaspect)

Single Columns Playlist:

Group Display:

$imageabs2(%_width%,40,0,0,0,0,0,$sub(%_height%,40),images\vista_group.png,nokeepaspect alpha-180)
// PerTrack
$font(Segoe UI,9,bold glow-0-128-192 alpha-120,255-255-255)
$padding(10,4)
$align(left,top)
%artist%
$align(left,bottom)
%album%
$padding(0,0)
$align(right,top)
%date%
$align(right,bottom)
%genre%

Item Display:

$puts(tracktitle,
	$if($meta_test(artist),%artist%,$substr(%_filename%,1,$sub($strstr(%_filename%, - ),1)))
	$if($or($meta_test(artist,title),$strstr(%_filename%, - )), - )
	$if($or($meta_test(title),$not($strstr(%_filename%, - ))),
	%title%,$substr(%_filename%,$add($strstr(%_filename%, - ),3),$len(%_filename%))))

$puts(li,$calcwidth(%list_index%))
$puts(margins,$sub(%_width%,55,$add($get(li),16)))
$puts(charWidth,$div($calcwidth($get(tracktitle)),$len($get(tracktitle))))

$ifequal($mod(%_itemindex%,2),0,,$drawrect(0,0,0,0,pencolor-0-0-0 alpha-6))
$imageabs2($add($get(li),10),%_height%,0,0,0,0,0,0,images\li1.png,nokeepaspect)
$imageabs($add($get(li),9),0,images\li2.png,)

$if(%_selected%,
$imageabs(0,0,images\sel1.png,)
$imageabs2($add($get(li),9),%_height%,0,0,0,0,2,0,images\sel2.png,nokeepaspect)
$imageabs($add($get(li),9),0,images\sel3.png,)
$imageabs2(%_width%,%_height%,0,0,0,0,$add($get(li),11),0,images\sel4.png,nokeepaspect)
$imageabs($sub(%_width%,2),0,images\sel5.png,))

$padding(4,3)$align(left,top)
$if(%_selected%,$font(,,,0-77-153),$font(,,,0-0-0))
$if(%isplaying%,$imageabs($sub($div($add($get(li),11),2),6),4,images/playing.png,),%list_index%.)

$alignabs($add($get(li),16),3,%_width%,20,left,top)
$ifgreater($calcwidth($get(tracktitle)),$get(margins),
	$left($get(tracktitle),$sub($sub($len($get(tracktitle)),$div($sub($calcwidth($get(tracktitle)),$get(margins)),$get(charWidth))),3))'...'
	,$get(tracktitle))

$align(right,top)%length% 

$ifgreater($mul(%_height%,%_itemcount%),88,
$imageabs2(100,90,0,$sub($mul(%_height%,%_itemindex%),$add(%_height%,1)),,%_height%,$sub(%_width%,135),,images\ART_cd.png,)
$imageabs2(80,79,0,$sub($mul(%_height%,%_itemindex%),$add(%_height%,5)),,%_height%,$sub(%_width%,120),,$replace(%path%,%filename_ext%,cover.jpg),)
$imageabs2(100,90,0,$sub($mul(%_height%,%_itemindex%),$add(%_height%,1)),,%_height%,$sub(%_width%,135),,images\case.png,)
,)

Images and the button file:

images.zip

@spex04, some question about your great iTunes foobar. :rofl:

itunesfoobywipry6.th.png

1. How can I get the names of the albums, here?

And if I have a lot's of albums, is there a way to get the name to each album?

Ex
:

artist / album

genre

2. How can I replace the total tracks by the year of each album?

Ex:
1998, 2005...

3. And finally, I deleted the rating system but the length of the tracks are "blocked" at this place. How I move them?

(4.) Oh, there are no covers in my Single Column. I cannot get them! How do I do that?

Yes, I know, it's specially for my case but, I can't do that alone.

Many thanks in advance, spex04!

@spex04, some question about your great iTunes foobar. :rofl:

itunesfoobywipry6.th.png

1. How can I get the names of the albums, here?

And if I have a lot's of albums, is there a way to get the name to each album?

Ex
:

artist / album

genre

2. How can I replace the total tracks by the year of each album?

Ex:
1998, 2005...

3. And finally, I deleted the rating system but the length of the tracks are "blocked" at this place. How I move them?

(4.) Oh, there are no covers in my Single Column. I cannot get them! How do I do that?

Yes, I know, it's specially for my case but, I can't do that alone.

Many thanks in advance, spex04!

How did you arrange your music collection by track? Can you please give an insight on how you did it?

Scirwode

How did you arrange your music collection by track? Can you please give an insight on how you did it?

Scirwode

You want to know how I did the Single Column? With "Single Column Playlist" DLL and the spex04's code. In "Group by" I put %album%.

I'm not sure that's what you want... :unsure:

@apul

I think I can help,

1. You need to set the total tracks in your metadata. Just select all the tracks from the album and right click ->properties -> right click -> auto track number

2. Find %_itemcount% and replace it with %date%

3. Change the $alignabs code for the %playback_time_remaining%

4. Once you do #1 it will start displaying the album art

Can someone help me with this simple question? How can I fix this, my library is in order by artist and album, but the tracks in the albums are all out of order, how can I fix this? ( still have no idea what the hell i'm doing with foobar :ninja: )

foobarqc3.th.png

and how can I customize the track info panel to show info such as bitrate, ect.. like I've seen in some screenshots

Edited by ViperAFK

@ ViperAFK

1. When this happens to me, I go to my files and rename them "01 artist - track.ext" "02 artist - track.ext" and so forth in order. It fixes it but I bet someone knows a better way to do it.

2. %codec_profile% , %_bitrate% kbps

@slyph

1. Make sure the code for it is under // PerSecond

2. Try a smaller font size

3. Well there is a way by having it resize the image based on the number of tracks, but I only read and not actually used the code for that, and it was a while ago. Maybe someone will know it.

:p

@spex04, some question about your great iTunes foobar. :rofl:

itunesfoobywipry6.th.png

1. How can I get the names of the albums, here?

And if I have a lot's of albums, is there a way to get the name to each album?

Ex
:

artist / album

genre

2. How can I replace the total tracks by the year of each album?

Ex:
1998, 2005...

3. And finally, I deleted the rating system but the length of the tracks are "blocked" at this place. How I move them?

(4.) Oh, there are no covers in my Single Column. I cannot get them! How do I do that?

Yes, I know, it's specially for my case but, I can't do that alone.

Many thanks in advance, spex04!

Where can I get that config, please :p

:p

Where can I get that config, please :p

OMG im so confused, as a first time foobar user i can honestly say wtf with the skinning. Apul if you could somehow freeze or copy ur entire setup itd be greatly appreciated.

Ok guys, the "iTunes" foobar is here:

https://www.neowin.net/forum/index.php?show...#entry587998552

by spex04

Here's my foobar. Based on's bbmartini

Could some one help me with the reflection. I wanted to add the reflexion effect also to the cd case and the cd, not only the cover.

Here?s the scrip

$imageabs2(360,300,40,$sub($mul(%_height%,%_itemindex%),$add(%_height%,1)),,%_height%,,,C:\Program Files\foobar2000\components\cd.png,)
$imageabs2(360,300,,$sub($mul(%_height%,%_itemindex%),$add(%_height%,1)),,%_height%,,,C:\Program Files\foobar2000\components\cd_case\case.png,)
$imageabs2(225,220,,,,,31,38,$replace(%path%,%filename_ext%,folder.*),nokeepaspect)
$imageabs2(360,300,,,,,,,C:\Program Files\foobar2000\components\cd_case\gloss.png,alpha-160)


$imageabs2(300,230,0,0,0,0,-8,290,$replace(%path%,%filename_ext%,folder.jpg),ROTATEFLIP-6)

$imageabs2(0,0,0,0,0,0,0,290,/images\LE5\overlay3.png,)


$if(%_isplaying%,
$font(Calibri,18,bold glow-146-153-179 glowblur-10 glowalpha-220,22-22-31)
$alignabs(,335,280,200,center,)
%artist%

$font(Calibri,14,bold glow-146-153-179 glowblur-10 glowalpha-220,22-22-31)
$alignabs(,368,280,44,center,)
%title%
,
$font(Calibri,20,bold glow-146-153-179 glowblur-10 glowalpha-220,22-22-31)
$alignabs(,345,327,44,center,)
Not playing...
)

post-106812-1171714777_thumb.jpg

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

    • No registered users viewing this page.
  • Posts

    • I just started using Teams (and “New” Oiutlook) at work (instead of Slack) and both are truly abysmal pieces of software.
    • If you are willing to go to approx $200, then as mentioned in your other thread I think a refurbished Pixel 8 will be a great deal that will last you for years. I recently recommended that to someone at work, he was on a strict £200 budget, which got him an excellent conditioned refurbished Pixel 8 here. He's since told me its the best phone he's ever had and feels its a massive upgrade over his old Samsung A series device. I don't know the sites which deal in refurbished devices in the US, however I’m sure you will have some options like we do here. Failing that Ebay is also quite good in my experience. If you wanted something a bit cheaper, then you could maybe go for an older Pixel 7, these will still get security updates until the end of 2027. Even after that you have good third party OS support from LineageOS. It doesn't have to be a Pixel though, you can buy many older devices for a good deal that would be better than a new $100 phone and flash LineageOS to them: https://wiki.lineageos.org/devices/
    • I don't use one drive, but then I don't use any cloud storage, not even Icloud on my mac. If I did use cloud storage, then I would not use One drive, not because there is anything wrong with it, but because I can use Icloud. The only reason I see to use one drive is if your job requires you to have access to it
    • Not built in, which is not a bad thing. There are ways of adding cloud storage to it, Dropbox is the most well know that also have a client for Linux, but there are others.
  • Recent Achievements

    • First Post
      DragonOfMercy earned a badge
      First Post
    • First Post
      bella52 earned a badge
      First Post
    • Reacting Well
      Techinmay earned a badge
      Reacting Well
    • Collaborator
      WndSks went up a rank
      Collaborator
    • One Month Later
      Sopa flores earned a badge
      One Month Later
  • Popular Contributors

    1. 1
      +primortal
      505
    2. 2
      PsYcHoKiLLa
      206
    3. 3
      +Edouard
      154
    4. 4
      Steven P.
      87
    5. 5
      ATLien_0
      78
  • Tell a friend

    Love Neowin? Tell a friend!