Help - Search - Members - Calendar
Full Version: Columns UI / Panels UI appearance
Hydrogenaudio Forums > Hosted Forums > foobar2000 > 3rd Party Plugins - (fb2k)
Pages: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132
Foxhawk
QUOTE (blaxima @ Sep 29 2006, 02:43) *
words


ty good sir, problem solved handily. cool.gif

next question (blatantly lying earlier)

http://www.foxhawk.com/Files/Images/nextstep.png

I want to make the album art much bigger (out to the text). Experimenting with the parameters was ineffective, and I wasn't able to find a source that explains what their usage.

also, please ignore the crazy track order and all of that jazz tongue.gif
marc2003
QUOTE (Foxhawk @ Sep 29 2006, 07:59) *
I want to make the album art much bigger (out to the text). Experimenting with the parameters was ineffective, and I wasn't able to find a source that explains what their usage.

also, please ignore the crazy track order and all of that jazz tongue.gif


right here's my code for this setup



row height 15
group rows 6

(which gives a group height of 90. see code below to see i've set my image height/width to 84)

group display
CODE
$font(Tahoma,10,bold,118-150-173)
$imageabs2(84,84,,,,,5,3,'default.jpg',)
$imageabs2(84,84,,,,,5,3,$replace(%path%,%filename_ext%,)folder.png,)
$alignabs(92,,$add(%_width%,-107),20,left,top)
$if2(%album artist%,%artist)
$alignabs(92,14,$add(%_width%,-107),20,left,top)
$upper(%album%)
$alignabs(92,28,$add(%_width%,-107),20,left,top)
$font(,8,,)'('%date%')'


job done. smile.gif
ubi
Long time no foobar... I've been using linux for the past nine months and using foobar with wine wasn't just a walk in the park. I had problems using audio with wine and i had to use amarok instead of foobar. Now I'm dual booting and had to do little something to make my foobar look the way I like it. I was very impressed what has happened in such a short time because before I started using linux I played a lot with foobar 0.8.3 and all the versions before it. Some great plug-ins you guys have made for our brand new version 0.9 foobar! smile.gif
But back to the topic... I came across with tool++'s config and loved it. I took the code and modified it to my liking and needs.



I changed:
the font (Frutiger Linotype)
colours (to match my theme)
the way code present VA albums
art for no album (myxomatosis's pngs from the foo_toaster topic)
and many many little things like paddings and so on...

I've always liked minimalistic layouts, but this time I decided to leave the albumart showing (did another setup without it). That's why my albumlist and toolbars are on auto-hide so they are present only when I need them.

And big thanks go to tool++ for providing the original code and always giving me great ideas with his setups! And yes, I'm a transparency addict! biggrin.gif
Ran Sagy
I've used marc's code to embed albumart into my group headers. Some of my images though, Are not equal in width and height. How do i tell it to stretch across the entire 'box' i gave it?
Raan
Updated version.

marc2003
QUOTE (ChaosBladE @ Sep 29 2006, 11:38) *
I've used marc's code to embed albumart into my group headers. Some of my images though, Are not equal in width and height. How do i tell it to stretch across the entire 'box' i gave it?


it shouldn't matter anymore if your images are not 1:1. with the latest version of this component, imageabs2 shrinks to fit.

if the actual images are smaller than how you want displayed, then there is your problem. images are not stretched to fit if they are too small - a good thing imho. they would look ****. if this is the case maybe you need to source your album art again or change your intended image size. smile.gif
aliendesaster
QUOTE (ubi @ Sep 29 2006, 11:56) *
Long time no foobar... I've been using linux for the past nine months and using foobar with wine wasn't just a walk in the park. I had problems using audio with wine and i had to use amarok instead of foobar. Now I'm dual booting and had to do little something to make my foobar look the way I like it. I was very impressed what has happened in such a short time because before I started using linux I played a lot with foobar 0.8.3 and all the versions before it. Some great plug-ins you guys have made for our brand new version 0.9 foobar! smile.gif
But back to the topic... I came across with tool++'s config and loved it. I took the code and modified it to my liking and needs.



I changed:
the font (Frutiger Linotype)
colours (to match my theme)
the way code present VA albums
art for no album (myxomatosis's pngs from the foo_toaster topic)
and many many little things like paddings and so on...

I've always liked minimalistic layouts, but this time I decided to leave the albumart showing (did another setup without it). That's why my albumlist and toolbars are on auto-hide so they are present only when I need them.

And big thanks go to tool++ for providing the original code and always giving me great ideas with his setups! And yes, I'm a transparency addict! biggrin.gif

Looks nice. Could you upload images & code?
Ran Sagy
Well, The smallest images i have are 300x266 or something off-norm like that. I shouldn't have a problem displaying those in a tiny 85x85 box in foobar, should i?

Right now, I can't make the images use the whole 85x85 box, i suppose the function just resizes it with constraints to ratio, giving an 85x75 box or something odd like that. I can post a screen shot if you didn't get my odd explanation tongue.gif
marc2003
QUOTE (ChaosBladE @ Sep 29 2006, 14:56) *
Well, The smallest images i have are 300x266 or something off-norm like that. I shouldn't have a problem displaying those in a tiny 85x85 box in foobar, should i?

Right now, I can't make the images use the whole 85x85 box, i suppose the function just resizes it with constraints to ratio, giving an 85x75 box or something odd like that. I can post a screen shot if you didn't get my odd explanation tongue.gif


yup you're right. we are still stuck with the need for 1:1 pictures. my images were only a few pixels out, say 300x297 and because they displayed properly with the new dll (compared to showing lines through with the old version) i thought the issue had been fixed. i suppose my images must have not fitted properly too but the difference was too small to register on my screen. with yours being 30 pixels or 10% then it's very noticeable indeed.

guess it's wait for a fix or resize your art manually. blink.gif

luckily i resized all mine when we were stuck to the png format when the plugin was first used for album art. i used irfanview to do the whole lot. takes a matter of seconds using batch convert. smile.gif
ubi
QUOTE (aliendesaster @ Sep 29 2006, 15:51) *
QUOTE (ubi @ Sep 29 2006, 11:56) *

Long time no foobar... I've been using linux for the past nine months and using foobar with wine wasn't just a walk in the park. I had problems using audio with wine and i had to use amarok instead of foobar. Now I'm dual booting and had to do little something to make my foobar look the way I like it. I was very impressed what has happened in such a short time because before I started using linux I played a lot with foobar 0.8.3 and all the versions before it. Some great plug-ins you guys have made for our brand new version 0.9 foobar! smile.gif
But back to the topic... I came across with tool++'s config and loved it. I took the code and modified it to my liking and needs.



I changed:
the font (Frutiger Linotype)
colours (to match my theme)
the way code present VA albums
art for no album (myxomatosis's pngs from the foo_toaster topic)
and many many little things like paddings and so on...

I've always liked minimalistic layouts, but this time I decided to leave the albumart showing (did another setup without it). That's why my albumlist and toolbars are on auto-hide so they are present only when I need them.

And big thanks go to tool++ for providing the original code and always giving me great ideas with his setups! And yes, I'm a transparency addict! biggrin.gif

Looks nice. Could you upload images & code?

Well there is not much to upload just use tool++īs code (from this thread) as a base and modify it as you like. And the images you can get from this thread smile.gif
Ran Sagy
Guess ill just go find 1:1 ratio album art for all my albums tongue.gif
Masahiko


I used foo_uie_single_column_playlist but finaly i revert to columns_ui for many reasons :
- High CPU usage on loading long playlists with covers
- Smoother scrolling in long playlists with columns_ui
- Easier to config with columns_ui (but less functions, it's true)

But i keep trackinfo by Terrestrial smile.gif
Art
QUOTE (Idec Sdawkminn @ Sep 29 2006, 04:27) *
First of all, just a minor thing, I used to use
CODE
$div($mul(a,b),c)
but now use
CODE
$muldiv(a,b,c)
since it does the same thing and is shorter and less to look through.


Thanks - that makes things a lot clearer. smile.gif
QUOTE
I would take you up on your offer, but I've decided against using the single column component. I already spent a lot of time and effort getting mine how I wanted it in 0.8.3 and now that there is a new way that allows me to do the same thing in way less time and using way less thinking, it would be kinda degrading to the setup I put so much into. Maybe you could call me old-fashioned. Thanks anyway, though.

No problem! I think I'll go back to columns_ui too - the cpu usage of single_columns is a nuisance, but the RAM usage is just ubelievable... tongue.gif
Sure it looks nice, but that's not what Foobar was made for. wink.gif You're not old fashioned, you're just practical. I threw out fancy things like shadows and the right nackground image - it's more practical now and looks better, still I want to switch back to columns_ui.


QUOTE (KyPeN @ Sep 28 2006, 17:09) *
Ayreon rocks! They are tied with Dream Theater for my favorite artists.

Ayeron? What kind of music do they play? I love DT too, but didn't hear Ayeron (though the name itself rings a bell).
bozo950
finally i got something working biggrin.gif

thx to all community modders wink.gif
aliendesaster
QUOTE (ubi @ Sep 29 2006, 16:30) *
[...]

Still, you could spend the time to do it?
snively
QUOTE (snively @ Sep 28 2006, 21:19) *
I'm just wondering.. is anyone else able to highlight a bunch of songs in singe columns playlist and then right click and select the "sort" option?


does anyone know how else i could sort the playlist? is that what the group [%album%] is?
Yotsuya
You can sort the playlist from two different places:

File> Preferences> General> "Sort incoming files by:"
-or-
Edit> Sort> "Sort by..."

The first one will autosort playlists when you add files from a commandline, album list, a browser panel, etc. The second one will immediately sort whatever playlist is active.
Foxhawk
QUOTE (marc2003 @ Sep 29 2006, 03:47) *
QUOTE (Foxhawk @ Sep 29 2006, 07:59) *

I want to make the album art much bigger (out to the text). Experimenting with the parameters was ineffective, and I wasn't able to find a source that explains what their usage.

also, please ignore the crazy track order and all of that jazz tongue.gif


right here's my code for this setup

(setup)

row height 15
group rows 6

(which gives a group height of 90. see code below to see i've set my image height/width to 84)

group display

(code)
job done. smile.gif


I can get the image to display at about this size, but my config is much bigger, and I can't the image to get any bigger than this little block. (most of the params are blank in this shot)

Screenshot
OnPoint
so, whats the deal with these config codes? where do they go?
marc2003
QUOTE (Foxhawk @ Sep 29 2006, 17:24) *
I can get the image to display at about this size, but my config is much bigger, and I can't the image to get any bigger than this little block. (most of the params are blank in this shot)

Screenshot


perhaps read my post again and see that i specified i wanted my image 84x84 pixels big. now look at the code to see where i used the number 84. self-explanatory surely? laugh.gif
Yotsuya
foxhawk:

Load your folder.jpg in irfanview or any other image viewer, what size is the image?

While $imageabs2() will shrink images to fit the size specified, it will not expand images to fit the size specified. So cannot make a 100x100 size image fit in a 200x200 size spot.
Foxhawk
QUOTE
perhaps read my post again and see that i specified i wanted my image 84x84 pixels big. now look at the code to see where i used the number 84. self-explanatory surely? laugh.gif


yeayea, but that doesn't work. if I put, say, 200x200, it only shows a tiny square of the image where the bottom right corner would normally be


@ yot: I have a number of image of differing sizes... this one is 1015x1015 (not a typo) so it should have plenty of room to expand.
marc2003
QUOTE (Foxhawk @ Sep 29 2006, 17:59) *
yeayea, but that doesn't work. if I put, say, 200x200, it only shows a tiny square of the image where the bottom right corner would normally be


@ yot: I have a number of image of differing sizes... this one is 1015x1015 (not a typo) so it should have plenty of room to expand.


ok, i just got some album art 953x953 and here it is my group header @200x200 dry.gif



CODE
$imageabs2(200,200,,,,,5,3,$replace(%path%,%filename_ext%,)%filename%.jpg,)


i have no idea why yours does not work. sad.gif
Idec Sdawkminn
QUOTE (Art @ Sep 29 2006, 08:44) *
QUOTE (KyPeN @ Sep 28 2006, 17:09) *

Ayreon rocks! They are tied with Dream Theater for my favorite artists.

Ayeron? What kind of music do they play? I love DT too, but didn't hear Ayeron (though the name itself rings a bell).


According to Wikipedia, they sound like Devin Townsend.

Here's the Ayreon entry at Wikipedia and here's the list of guest artists he has featured on his albums. PM me if you want to hear a sample.
Comwan
[img=http://img244.imageshack.us/img244/4476/foobisyg2.th.png]

My latest. Most of the code is "borrowed" from someone on this thread hehe smile.gif
saberrider


Changed to vertical alignment. smile.gif
Foxhawk
hmm... got it by resaving the file as a .png (and making the requisite imageabs change)... pinch.gif

thanks for your help (I'm sure i'll need more dry.gif )
kyller
I want to config my fb2k identical to the iTunes (LOOK HERE), but with the album art in the screen below.

Now it's like this:


Could someone help me?
unart
QUOTE (cartman(2vd) @ Sep 28 2006, 23:45) *
QUOTE (unart @ Sep 28 2006, 21:13) *

My new foo screen including album cover in playlist and a clock displaying elapsed time.




how did you made that circle thingy? is there some smart way or you just overwrite 12 images depending on timeelapsed?

I do not know any smart way. You're right, I use 12 different images.
Raan
QUOTE (FalledAngel @ Sep 30 2006, 00:16) *
I want to config my fb2k identical to the iTunes (LOOK HERE), but with the album art in the screen below.

Now it's like this:


Could someone help me?

I can try. To make the titlebar and general background look like that you need a Windowblinds skin or a Visual Style. (Like this one: http://www.deviantart.com/deviation/2041057/ )

You can't change the look of the volume bar, as far as I know.

You can cut the buttons out of that screenshot, make PNGs out of them, and use them for buttons in foobar by rightclicking your button panel, choosing "customize" and picking the images for the right functions in there.

You can just cut out the top info window from the screenshot, paint over the text with the same colour as the background, and then use that image as background in trackinfomod. The text should be real easy to pull off, and you could probably do the progress bar by using something like this for the horizontal position of the symbol:
$add(<starting position>,$muldiv(<length of progress bar>,%playback_time_seconds%,%length_seconds%))

The bottom info window should be the same, just cut out what you want for a background and put it in the trackinfomod window and put some text on there.

There's a few manuals around and posts about most things, but if you need help with the specifics of something, you can PM me and I'll try to help you figure it out. Though I'm by no means an expert. Definitely still learning. Someone please correct me if I'm wrong about something.
moglenstar
QUOTE (FalledAngel @ Sep 29 2006, 23:16) *
I want to config my fb2k identical to the iTunes (LOOK HERE), but with the album art in the screen below.

Now it's like this:


Could someone help me?


i've made an itunes style trackinfo_mod config
1) not playing
2) paused
3) playing


download

extract the "itunes" folder to either your foobar profile directory, or your foobar program directory

then paste the bits from the included txt file into trackinfo mod
KyPeN
For those trying to adapt my code, you will want to set row height to 22 with column header being 4. Also, you will probably have to adjust the year text depending on your resolution. I appologize I didn't make that clear and am going to fix my original post now.

See the updated post here.
Foxhawk
Just getting to work editing your theme...

How do I change the graphics on the song that's currently playing?

got this one on my own!

ALSO:

My imageabs2 function is working great now at 200,200... when I try to change that res down, though, the image disappears! (to 192x192, for instance)


Needed a restart! /me tips hat to spex04.
kyller
Look what i've done until now:



QUOTE (moglenstar @ Sep 29 2006, 20:23) *
i've made an itunes style trackinfo_mod con...

Really thanks, moglenstar!!
But I didn't understand a few things:

- Why my trackinfomod is strange in sizes?
- Another error here, the bar exceeds the rectangle?
- What I have to do to align the things? I mean, the top left buttons in the middle of the volume-bar, bit moved-away trackinfomod and searchbar and the top right button? In the same way, the spacements in the bottom of the foobar.. i don't know how to align, to say another example, the bottom right buttons to the most right....
- Can trackinfomod has rounded borders, like the original itunes?

QUOTE (Raan @ Sep 29 2006, 19:57) *
I can try. To make the titlebar and general b...

Raan, you help me a lot! Really thanks, you are wonderful!


ehehe, i have more questions laugh.gif

1 - Can I put an image in the left side of my playlists?
2 - What I have to write to show how many musics I have in my library, how much (in days) they can play, and how many GBs I have of musics, in the trackinfomod in bottom?
3 - Can foobar2000 have a playlist like the original iTunes related to radio online?
spex04
QUOTE (Foxhawk @ Sep 30 2006, 01:32) *
ALSO:

My imageabs2 function is working great now at 200,200... when I try to change that res down, though, the image disappears! (to 192x192, for instance)


When you change the imageabs2 resize parameters, you need to close/re-open foobar, so that it clears the image cache. That's why it didn't work earlier for you either.
tomthomson
My latest foobar creation:

Playing:


Single/album view + unhided sidebar:


Switchable sidebar with hidden tabs:
Strictly4me
@tomthomson
How you made this nice progessbar? Code maybe? tongue.gif

THX, ((((( Strictly4me )))))
Raan
QUOTE (FalledAngel @ Sep 30 2006, 03:59) *
1 - Can I put an image in the left side of my playlists?
2 - What I have to write to show how many musics I have in my library, how much (in days) they can play, and how many GBs I have of musics, in the trackinfomod in bottom?
3 - Can foobar2000 have a playlist like the original iTunes related to radio online?

1 - Yeah, you can configure the column at the farthest left to show an image when playing, that's what you're asking, right? All the code that column would need is
$if(%isplaying%,imageabs(V,H,<filepath>),)
You can cut that image out of the screenshot too, and then make the background transparent with GIMP or something so it doesn't look odd. EDIT: ....wait, no, I'm way too used to using single_column_playlist, I'm actually not sure about showing images in the columns_ui playlist. I'm no help today. Anyone else?

2 - That I don't know. I imagine you'd need a plugin to claculate those values dynamically, but I'm not sure if such a plugin exists.

3 - Well, I haven't tried iTunes, so I don't know exactly how that playlist works, but I imagine it can. You'd probably have to set up the playlist manually though.
Dead Phoenix
I'm building a new layout, and this here is the first step. The only thing new in this shot is the spanking new analog clock. After that I'm going to get rid of the stereo/lcd panel and write up a new single column viewer code.

tomthomson
@Strictly4me

actually, I'm just loading some pictures, anyway heres the code and the pictures

CODE
$if($and(%playback_time%,%length%),
$puts(percent,$num($muldiv(%_time_elapsed_seconds%,100,%_time_total_seconds%),2))
$imageabs(860,0,'images\layout\progress\x'$substr($get(percent),1,1)'.png',)
$imageabs(910,0,'images\layout\progress\x'$substr($get(percent),2,2)'.png',)
$font(7 Segment,26,boldglow-, 255-255-255)
$alignabs(878,255,100,40,,)
$get(percent)
$font(Franklin Gothic Medium,20,boldglow-, 255-255-255)' %'
,
$imageabs(860,0,'images\layout\progress\x0.png',)
$imageabs(910,0,'images\layout\progress\x0.png',)
)


files:
http://www13.rapidupload.com/d.php?file=dl&filepath=4584
Strictly4me
@tomthomson
Thanks again! I will give it a try. wink.gif


((((( Strictly4me )))))
stampgevaar
My foobar it's not that fancy but it does what it has to do and I like it a lot tongue.gif

http://img242.imageshack.us/img242/2373/fo...hristophvt7.jpg
xchaser
Here is mine nothing special and thanks Russell777

fwqhgads
Just got foobar2000 yesterday, and spent a few hours customizing it. Alot of trial and error. =(

I used brumal's fcs as a base, and customized the layout to my own liking. Pretty simple, but user friendly.

blaxima
Removed image
snively
i don't know if this is right for the thread, and if it's not tell me smile.gif

is there a way to merge play_counter stats with play_count? it's really messing up my autoplay lists when i want to add songs with 100+ plays but play_count has say 40 and counter has 65 so the song doesn't get added. i had it working in my old config but i lost it due to having to format for the first time in years because of some error.
Yotsuya
blaxima:

You're in luck I've already made one of those for mine :)

CODE
$puts(album_mode,$if($and($strcmp($mod(%totaltracks%),%_itemcount%),$strcmp($mod(%tracknumber%),%_itemindex%)),1,))

// Progress Bar
$if(%isplaying%,
$drawrect($if($get(album_mode),160,20),14,$sub(%_width%,$add($if($get(album_mode),160,20),100)),$sub(%_height%,14),brushcolor-null pencolor-233-233-233)
$drawrect($add($if($get(album_mode),160,20),3),16,$muldiv($muldiv(100,%playback_time_seconds%,%length_seconds%),$sub(%_width%,$add($if($get(album_mode),160,20),100)),100),$sub(%_height%,18),brushcolor-233-233-233)
,)


- I use the top line to determine if a line is an album or not. If you just want to use track number replace the $get(album_mode) portions with %tracknumber%.

- 160 and 20 are my left offsets and 100 is my right offset, you'll probably want to adjust these to suit your layout.

- 14 is my top offset so the bar only appears on the second line of text, you'll probably want to adjust this to suit your layout as well.

Everything else pretty much auto-scales.
blaxima
@Yotsuya

Thanx for the quick response but it doesnt seem to be working for me.

I've been fooling around with it but no luck getting it to show

I'm just going to show you my code and if you could (please biggrin.gif) see if you could get a simple single line horizontal progressbar to show alongside the track that is playing only.

My Row height is 22
Group rows is 2
CODE
--------------------Item Display

//////////Boarders and Backgrounds//////////
$if(%_isplaying%,$drawrect(0,0,0,0,brushcolor-82-82-82 pencolor-169-169-255)
,
$ifequal($mod(%_playlist_number%,2),0,
$drawrect(-1,0,0,1,brushcolor-238-238-238 pencolor-228-228-228)
,
$drawrect(-1,0,0,1,brushcolor-238-238-238 pencolor-248-248-248)
)
)

//////////Play Button//////////
$padding(2,0)
$alignabs(4,2,%_width%,21,left,center)
$if(%_isplaying%,$font(franklin gothic medium,9,boldshadow glowalpha-150,238-238-238)
$char(9658)

//////////Track Info//////////
$font(AvantGarde LT Medium Caps,7,,128-128-255),$font(AvantGarde LT Medium Caps,7,,128-128-255))
$alignabs(22,1,%_width%,21,left,top)
$if(%_isplaying%,$font(,7,,169-169-255),$font(,7,shadow glowalpha-20,180-180-180))
[Disc %discnumber% ][%tracknumber%. ]

$if(%_isplaying%,$font(,7,,238-238-238),$font(,7,,168-175-181))
$if($meta_test(album artist),%artist%' - ')
$if(%_isplaying%,$font(,7,shadow glowalpha-30,168-175-181),$font(,7,shadow glowalpha-30,128-128-128))
%title%

//////////Time//////////
$padding(2,0)
$align(right,middle)
$if(%_isplaying%,$font(AvantGarde LT Medium Caps,7,,169-169-250),$font(,7,shadow glowalpha-20,180-180-180))
$if(%_isplaying%,- %playback_time_remaining%,%length%)

//////////File Size//////////
$if(%_isplaying%,$font(,6, shadow glowalpha-30,203-206-211),$font(,6,shadow glowalpha-20,180-180-180))
$alignabs(23,0,%_width%,21,left,bottom)
$div(%filesize%,1048576)'.'$substr($muldiv(%filesize%,100,1048576),2,3)mb' ']
$puts(show,$num($muldiv(1000,$info(bitrate),1411),3))
$if(%isplaying%,$if($stricmp($get(show),1000),
$font(,,$get(font_options),250-250-250)$repeat($char(10),8)$get(active)ucm$puts(flag2,1),
'.'$substr($get(show),3,3)))
Yotsuya
blaxima:
The reason my previous code did nothing is because you have a mismatched bracket in your File Size code on the line after $alignabs() where you display the file size. I suspect this is also causing you trouble displaying the bitrate and "flags" (I dont know what those are supposed to be).

Here is your corrected code with a very simple progress bar added for the now-playing track:

CODE
//////////Boarders and Backgrounds//////////
$if(%_isplaying%,$drawrect(0,0,0,0,brushcolor-82-82-82 pencolor-169-169-255)
,
$ifequal($mod(%_playlist_number%,2),0,
$drawrect(-1,0,0,1,brushcolor-238-238-238 pencolor-228-228-228)
,
$drawrect(-1,0,0,1,brushcolor-238-238-238 pencolor-248-248-248)
)
)

//////////Play Button//////////
$padding(2,0)
$alignabs(4,2,%_width%,21,left,center)
$if(%_isplaying%,$font(franklin gothic medium,9,boldshadow glowalpha-150,238-238-238)
$char(9658)

//////////Track Info//////////
$font(AvantGarde LT Medium Caps,7,,128-128-255),$font(AvantGarde LT Medium Caps,7,,128-128-255))
$alignabs(22,1,%_width%,21,left,top)
$if(%_isplaying%,$font(,7,,169-169-255),$font(,7,shadow glowalpha-20,180-180-180))
[Disc %discnumber% ][%tracknumber%. ]

$if(%_isplaying%,$font(,7,,238-238-238),$font(,7,,168-175-181))
$if($meta_test(album artist),%artist%' - ')
$if(%_isplaying%,$font(,7,shadow glowalpha-30,168-175-181),$font(,7,shadow glowalpha-30,128-128-128))
%title%

//////////Time//////////
$padding(2,0)
$align(right,middle)
$if(%_isplaying%,$font(AvantGarde LT Medium Caps,7,,169-169-250),$font(,7,shadow glowalpha-20,180-180-180))
$if(%_isplaying%,- %playback_time_remaining%,%length%)

//////////File Size//////////
$if(%_isplaying%,$font(,6, shadow glowalpha-30,203-206-211),$font(,6,shadow glowalpha-20,180-180-180))
$alignabs(23,0,%_width%,21,left,bottom)
[$div(%filesize%,1048576)'.'$substr($muldiv(%filesize%,100,1048576),2,3)mb' ']
$puts(show,$num($muldiv(1000,$info(bitrate),1411),3))
$if(%isplaying%,$if($stricmp($get(show),1000),
$font(,,$get(font_options),250-250-250)$repeat($char(10),8)$get(active)ucm$puts(flag2,1),
'.'$substr($get(show),3,3)))

/// Progress Bar ///
$if(%isplaying%,
$drawrect(100,14,$muldiv($muldiv(100,%playback_time_seconds%,%length_seconds%),$sub(%_width%,200),100),5,brushcolor-130-130-255)
$drawrect(100,14,$sub(%_width%,200),5,brushcolor-null pencolor-255-255-255)
,)
blaxima
@Yotusya
biggrin.gif biggrin.gif biggrin.gif
Thanx alot

It worked like a charm except that when a track first starts the bar stretches across the entire row but I know thats not the code


EDIT actually now looking at it there is a .6 or other number being added after MB in the track that is playing


EDIT Never mind i got rid of it
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2009 Invision Power Services, Inc.