HydrogenAudio

Hosted Forums => foobar2000 => Support - (fb2k) => Topic started by: Cobra on 2003-03-13 20:10:21

Title: Changes in layout in 0.58
Post by: Cobra on 2003-03-13 20:10:21
I have major feature request:Minor requests:Foobar2000 v0.58 rocks, "[===============] <> X:XX / Y:YY" just increased functionality without bloating program with standard seekbars/indicators. Good idea, good work!

Just small info:
Title: Changes in layout in 0.58
Post by: TurinsRevenge on 2003-03-13 20:27:42
Maybe I'm misreading part of your post.  But you can change the characters and the length in the title formatting script.  Here's what I changed mine to:

Quote
$select($add($mod(%_time_elapsed_seconds%,4),1),'^','->','v','<-')   '['$progress(%_time_elapsed_seconds%,%_time_total_seconds%,40,'+','-')']'    %_time_elapsed%[ / %_time_total%]


I changed the 'spinning characters', the characters for the time bar as well as the current position, and the length of the time bar to 40.
Title: Changes in layout in 0.58
Post by: HansHeijden on 2003-03-13 20:38:53
Or try this
Quote
%_time_elapsed% $progress(%_time_elapsed_seconds%,%_time_total_seconds%,60,'-','|') %_time_remaining%  '('%_time_total%')'
Title: Changes in layout in 0.58
Post by: Messer on 2003-03-13 20:54:55
Quote
1) IIRC Garf said on IRC that indicator "- \ | /" is patented

Some Australian lawyer patented "circular transportation facilitation device" (also known as wheel), so nothing surprises me. One can't care about every stupid patent existing on this planet....

And as for the status bar - everything's just a configurable string, so I doubt that any of its parts will ever become clickable. I'm using this:
Code: [Select]
 [$upper($ext(%_filename_ext%))|]
[%__bitrate%k|]
[$div(%__samplerate%,1000)kHz]
$if(%__channels%,
$ifgreater(%__channels%,
2,%__channels%ch,$ifgreater(%__channels%,1,'(oo)','(o)')) ,)    
<tab>$if(%_time_total_seconds%,
'('$progress(%_time_elapsed_seconds%,%_time_total_seconds%,12,'I','-')')',)  
$if2(-%_time_remaining%,%_time_elapsed%)

[screenshot (http://www.dago.pmp.com.pl/foobar/fb2k.png)]
Title: Changes in layout in 0.58
Post by: musicmusic on 2003-03-13 21:04:46
my progress bar:

Code: [Select]
'|'$progress(%_time_elapsed_seconds%,%_time_total_seconds%,20,'»','–')'|'


looks less ugly, uses straight line (no gaps) with that double arrow as indicator, kinda mimics a normal slider. another indicator thing could be.

Code: [Select]
|¦|
which i was using before.
Title: Changes in layout in 0.58
Post by: Cobra on 2003-03-13 22:16:31
THX guys for info!

First post redesigned.

My status bar:

Quote
[%artist% - ]$if(%title%,['['%[ #[%disc%/]$num(%tracknumber%,2)]'] ']%title%,%_filename_ext%) <> [%__bitrate%kbps ][%__samplerate%Hz ]$if(%__channels%,$ifgreater(%__channels%,2,%__channels%ch,$ifgreater(%__channels%,1,stereo,mono)) ,)[%__extrainfo%] $select($add($mod(%_time_elapsed_seconds%,2),1),'COBRA ','RULEZ ') '['$progress(%_time_elapsed_seconds%,%_time_total_seconds%,20,'#','=')']' <> %_time_elapsed%[ / %_time_total%]
Title: Changes in layout in 0.58
Post by: bonj on 2003-03-14 06:38:51
Here's my progress bar:
Code: [Select]
'['$progress(%_time_elapsed_seconds%,%_time_total_seconds%,30,'FFFFFF|_|','FACCC9|')']'  '['%_time_elapsed%[ / %_time_total%]']'


It looks good on my desktop, but not as good for most other people.  Probably because of the font.

(http://home.attbi.com/~bonjx/progressbar.png)

Also, here's my dancing Kirby indicator:

Code: [Select]
$select($add($mod(%_time_elapsed_seconds%,30),1),'<(^-^)v','<(^-^<)','^(^-^<)','^(^-^)^','<(-.-)>','(>.<)','<(O.<)','<(O.O)>','<(o.O)v','v(o.o)v','^(º.o)v','^(º-º)^','v(O.º)^','v(O.o)>','(>o.o)>','(>-.-)^','^(^.^)^','<(^-^)>','v(^.^)v','(>.<)','<(o.o)>','<(O.o)>','<(o.O)>','<(O.o)>','<(o.O)>','(>.<)','<(º.o)>','<(o.º)>','<(º.o)>','<(º-º)v'
)


Edit: I just realized this is the tech support forum.  Sorry for the rather useless post
Title: Changes in layout in 0.58
Post by: Somebody on 2003-03-14 11:44:29
bonj, I subscribe to the many faces of your dancing Kirby.
Title: Changes in layout in 0.58
Post by: cje on 2003-03-17 11:17:03
Messer, how did you change the playbackbuttons? I prefer yours over the original buttons, but i can't find a way to change them.
Title: Changes in layout in 0.58
Post by: krmathis on 2003-03-17 12:09:33
Quote
Messer, how did you change the playbackbuttons? I prefer yours over the original buttons, but i can't find a way to change them.

I guess this can be done with Resource Hacker (http://www.users.on.net/johnson/resourcehacker/)!
But, I don`t know if Peter likes that we hack his program.. 
Title: Changes in layout in 0.58
Post by: Messer on 2003-03-17 12:43:07
Yes, that's how I did it - but I don't recommend this method since it is a hack
I like to keep Fb2k window as small as possible and original buttons were simply too large for me. Perhaps this could also be configurable ("asci-art skinnable")?
Title: Changes in layout in 0.58
Post by: vh1 on 2003-03-17 18:00:36
@Messer:
How'd you get that little music note next to your currently playing track?
Title: Changes in layout in 0.58
Post by: musicmusic on 2003-03-17 18:09:26
Quote
@Messer:
How'd you get that little music note next to your currently playing track?

im guessing he used $if(%_isplaying%,$char(9835), )

wont work with all fonts,
Title: Changes in layout in 0.58
Post by: Messer on 2003-03-17 18:13:14
Quote
Quote
@Messer:
How'd you get that little music note next to your currently playing track?

im guessing he used $if(%_isplaying%,$char(9835), )

wont work with all fonts,

Indeed. The font used is Lucida Console (the only reasonable fixed-width font IMO)
Title: Changes in layout in 0.58
Post by: musicmusic on 2003-03-17 18:22:49
Quote
The font used is Lucida Console (the only reasonable fixed-width font IMO)

i thought monofur (from dafont) was alright too. i used to use it in size 8 for playlist formatting.
Title: Changes in layout in 0.58
Post by: Messer on 2003-03-17 18:32:25
Quote
i thought monofur (from dafont) was alright too. i used to use it in size 8 for playlist formatting.

I agree, nice font, but 'note' character is missing
Title: Changes in layout in 0.58
Post by: Garf on 2003-03-17 18:59:16
Quote
  • IIRC Garf said on IRC that indicator "- \ | /" is patented  (Garf, can You verify that?) I don`t see any problem with this, but I just want to tell you, Z - just for info.

The patent certainly exists, but obviously it makes no sense to care for it - it's likely unenforcable in any case.
Title: Changes in layout in 0.58
Post by: MaxAuthority on 2003-03-17 20:53:31
Hmm, I cannot open the file (version 0.586) with Resource Hacker.

Did you use a different version or res hacker?
Title: Changes in layout in 0.58
Post by: GoWaN on 2003-03-17 22:29:42
Andale Mono is good too and is free.
http://prdownloads.sourceforge.net/corefon...ts/andale32.exe (http://prdownloads.sourceforge.net/corefonts/andale32.exe)
Title: Changes in layout in 0.58
Post by: Case on 2003-03-17 22:44:56
Quote
Hmm, I cannot open the file (version 0.586) with Resource Hacker.

Did you use a different version or res hacker?

All files are UPX compressed (except in 7-zip archive) to make the download smaller. If you need to hack the executable use UPX (http://upx.sourceforge.net/) to decompress the file first (upx -d foobar2000.exe).
Title: Changes in layout in 0.58
Post by: MaxAuthority on 2003-03-18 01:44:03
thanks, it UPX worked perfectly

When working with Resource Hacker I found more programs being compressed. Is UPX the only widespread format, or are there other you should know of, if using ResHacker?
Title: Changes in layout in 0.58
Post by: kode54 on 2003-03-18 11:47:24
I believe UPX is the most powerful free executable compressor. In many cases, even outdoes most of the available commercial executable compressors. It also has a built-in decompression feature, so you can restore your executables to their uncompressed form on disk. (Whereas with most commercial compressors, they tout irreversible compression as a security feature, but usually some hacker will come out with a decompressor a few days/weeks after the release.)
Title: Changes in layout in 0.58
Post by: Cobra on 2003-03-18 12:54:55
If you want to have basic and free protection and compression for your exe, use UPX+SCRAMBLER.
Just use best compression, additional compression and scrambler.

My post about that:
http://www.hydrogenaudio.org/forums/index....t=5239&hl=shell (http://www.hydrogenaudio.org/forums/index.php?act=ST&f=17&t=5239&hl=shell)