Help - Search - Members - Calendar
Full Version: Foobar2000 format strings
Hydrogenaudio Forums > Hosted Forums > foobar2000 > General - (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
Olive
wink.gif

In order not to have %album% repeated I use something about as basic as
$if($strcmp(%tracknumber%,01),$if2(%album% - ,'n/a - '))

You mean dividers like this?

As for streams titles hmm I think you have to use <whatever>%title% instead of %_filename%, and make sure "Show dynamic info" is checked (in prefs|display) as well as "Enable dynamic track titles" (in prefs|http reader)
MrEnergizer
QUOTE(Olive @ Jan 26 2005, 05:01 PM)

3) Who's the girl in your avatar? =)
You shouldn't have told everyone it wasn't you JEN..........you might not get your post responded to as quickly now!! wink.gif

oh it wasnt you........I need to read more carefully b4 posting sad.gif
JEN
Darn! crying.gif

I blame poorimpulsectrl mad.gif

Oh well, looks like I will have to show you guys my real picture.

As its better biggrin.gif
MrEnergizer
smile.gif @ JEN
haloeight
QUOTE(Olive @ Feb 1 2005, 04:56 PM)
wink.gif

In order not to have %album% repeated I use something about as basic as
$if($strcmp(%tracknumber%,01),$if2(%album% - ,'n/a - '))

You mean dividers like this?

As for streams titles hmm I think you have to use <whatever>%title% instead of %_filename%, and make sure "Show dynamic info" is checked (in prefs|display) as well as "Enable dynamic track titles" (in prefs|http reader)
*



I have drawn a diagram of what I'd like

user posted image

The 2nd column on the left (containing 16B - How To Live 100 Years) shows %_directoryname% . I want a divider (the red line drawn) to be placed in between files from different directories.

I have drawn red x's through the redundant directory names on the left - I just want it so that the first time a file from a directory is displayed, the directory name is displayed on the left. For all other files from the same directory , I don't want the directory name displayed. I see this in many people's configurations.

Regarding the radio stuff, I have dynamic info checked , etc. What I need is the IF statement to add, so that if I am listening to an internet radio station, it will display %title% instead of %_filename%.
Olive
Separators: Add this to the colour tab - although it's probably not the fastest method unsure.gif

//txt
|//txt
|//bg
|//bg
//
|//bg
|//left
|//top frame
$if($and($not($strcmp($add(1,%_playlist_number%),2)),
$strcmp($substr(%_filename%,1,2),01)),0000FF,000000)
|//right
|//bottom

No repeat: $if($strcmp($substr(%_filename%,1,2),01),%_directoryname%,)

Dynamic titles: $if($strcmp($substr(%_path_raw%,1,7),'http://'),[%artist% - ]%title%,%_filename%)
haloeight
Thank you so much Olive. I will give that a try now.

So just to clarify - I should past the separators part to all the columns I have, into their colour fields?

And the no repeat parte to the display tab of my directory column?

dynamic titles to the display tab of my filename column?

Sorry for the dumb questions and thanks again .
Olive
Yes... You could use globals|colours instead of pasting to all columns -)
Note that I correlated your use of %_directoryname% and %_filename% to the screenshot you posted, and then assumed your naming pattern to be artist - album\tracknumber - title.ext. That will only work in that case, but if you got other patterns we can still add some $and() -)

Edit: BTW the comments were there to locate the top frame, you must delete them (replace |//txt with | etc.)
F. ex.
ffffff||000000||||$if($and($not($strcmp($add(1,%_playlist_number%),2)),
$strcmp($substr(%_filename%,1,2),01)),0000FF,000000)||
haloeight
QUOTE(Olive @ Feb 2 2005, 10:31 AM)
Yes... You could use globals|colours instead of pasting to all columns -)
Note that I correlated your use of %_directoryname% and %_filename% to the screenshot you posted, and then assumed your naming pattern to be artist - album\tracknumber - title.ext. That will only work in that case, but if you got other patterns we can still add some $and() -)

Edit: BTW the comments were there to locate the top frame, you must delete them (replace |//txt with | etc.)
F. ex.
ffffff||000000||||$if($and($not($strcmp($add(1,%_playlist_number%),2)),
$strcmp($substr(%_filename%,1,2),01)),0000FF,000000)||
*



Holy %*$%*(! Thank you so much Olive. I took your streaming radio string and managed to figure out how to get it to work with my existing string. Now the name of a stream will show if I'm listening to radio, otherwise my normal string seems to work fine!

Going to play with your strings on removing redundant directories and adding dividers between different directories. I tried putting them in earlier today and it seems there are some things I need to fix.

Thank you again!

esonique
i know you all are going to hate me, but! i've been checking out all these crazy designs you've all been making and wanted to know if there was a place you could point me to to learn all this string formatting. i know foobar comes with a semi-manual but is there a site i can go to that will explain all this.

Thanks
DustMagnet
QUOTE(esonique @ Feb 9 2005, 05:27 PM)
i know you all are going to hate me, but!  i've been checking out all these crazy designs you've all been making and wanted to know if there was a place you could point me to to learn all this string formatting. i know foobar comes with a semi-manual but is there a site i can go to that will explain all this.

Thanks
*



Sorry, I'm not aware of any resource like that. I learned string formatting by following this thread and hacking an early formatting string from Jan S that I liked, consulting the syntax help page that comes with Foobar (Prefs > Display > Title formatting > Help button). You can learn a lot by changing strings and seeing what happens.
esonique
thats kinda what i figured. okay im gonna do it the honorable way and RTFM!!!

Thanks for the reply biggrin.gif
esonique
another question. how would i view a .fcs i've downloaded to use as a template to play with? i cant seem to find it anywhere in prefs.
topdownjimmy
QUOTE(esonique @ Feb 10 2005, 05:47 PM)
another question.  how would i view a .fcs i've downloaded to use as a template to play with?  i cant seem to find it anywhere in prefs.
*



in columns_ui settings, in the "other" tab, click the "import" button and import the fcs file. if you've already done some configuring of your own and you don't want to lose it, be sure to "export" your config to an fcs file so you can recover it later.
schonenberg
There's so many posts here. I could never try them all. Can someone recommend one excellent title formatting string?
Audioslave.swe
This is my current look:

http://tono.aspero.biz/foobar2000/foobar2000.PNG

I am thinking of updating when i see your cool configs though ^^
TomGroove
QUOTE(Audioslave.swe @ Feb 28 2005, 12:49 PM)
This is my current look:

http://tono.aspero.biz/foobar2000/foobar2000.PNG

I am thinking of updating when i see your cool configs though ^^
*



why don't you try the columns UI biggrin.gif

http://www.hydrogenaudio.org/forums/index....showtopic=28647
dikonstrukt
QUOTE(Moonwhaler @ Dec 29 2004, 03:58 PM)
I'm very sorry. I had a little error in "my" code that showed 10 gray dots when a song was unrated. This should be fixed with this string:

CODE
$if(%rating%,$repeat(000000|000000●,%rating%)$repeat(C0C0C0|C0C0C0●,$sub(5,%rating%)),C0C0C0|C0C0C0●●●●●)



Regards,
Moon
*



Hi Moon,
I get the rating showing up in the Track Info correctly, but all that shows in teh rating column in 5 grey circles... What am I missing?

Thx.
Shade[ST]
This isn't very complex formatting, but I worked for quite a bit on both my systray strings, and my colour scheme

http://startrooper.free.fr/fb2k1.png
http://startrooper.free.fr/fb2k2.png

CODE
$padcut(:: ['['#%tracknumber%']'] [%album%],55)$char(13)$char(10)
$padcut(:: [$if($and(%va%,%performer%),%va% - %artist%,$if2(%va%,%artist%))],55)
[$char(13)$padcut(:: '('$if($or(%performer%,$not(%va%)),%performer%,%artist%)')',55)]$char(13)$char(10)
$padcut(:: [%title%],55)


which gives a popup :
:: [#01] Disque 1
:: Trésors du Cinéma - Richard Strauss
:: (Orchestre de Philadelphie)
:: Ainsi Parlait Zarathoustra

or, in less-tagged files,
:: [#09] The Cello Suites : Inspired by Bach (Disc 1)
:: Yo-Yo Ma
:: Suite No. 2, Courante

and it also truncates the titles, artists and disc names to prevent double-line entries.
mleko
how to align %_length% to right of playlist (without using ui columns)??

user posted image
richard123
QUOTE(mleko @ Aug 25 2005, 04:55 AM)
how to align %_length% to right of playlist (without using ui columns)??

*

$tab()%_length% or $char(9)%_length%
aimlessdrive440
QUOTE
ideas i'm playing with:
-check mark appears on left when track has been submitted to audioscrobbler
-playing track color fades from bright blue to white as track approaches end
-playcounts are brighter for more recently played tracks, and fade up to white from previous shade as track approaches 50%

-topdownjimmy from the gallery thread


Forgive my noobness, the little I do know about scripting can't even touch this. I'd owe you guys big if you could show me how to do these 3 things.
aimlessdrive440
Okay, as I've been waiting for a reply here, I've been making attempts at coding this myself. After about 10 collective hours (I told you I was a newbie) I've managed to come close to getting my 2nd question figured out. "-playing track color fades from bright blue to white as track approaches end"

Here's the code I made, It's uber-sloppy and I can't think of any better solutions.

CODE
//**************************
//********** Countdown
//**************************
$puts(10_color,158E21|2177A5)
$puts(9_color,168420|2891C8)
$puts(8_color,177B20|3EA3D9)
$puts(7_color,17711F|4EAADC)
$puts(6_color,18681F|61B4E0)
$puts(5_color,195E1E|71BBE3)
$puts(4_color,1A541D|7BC0E6)
$puts(3_color,1B4B1D|86C6E8)
$puts(2_color,1B411C|96CDEB)
$puts(1_color,1C381C|A8D6EE)

//10

$if(%_isplaying%,$ifgreater(11,%_time_remaining_seconds%,$get(10_color)$num(%_playlist_number%,$len(%_playlist_total%)).' ',))
$if(%_isplaying%,$ifgreater(11,%_time_remaining_seconds%,$get(10_color)[$get(artist) - ],))
$if(%_isplaying%,$ifgreater(11,%_time_remaining_seconds%,$get(10_color)[$get(album) - ],))
$if(%_isplaying%,$ifgreater(11,%_time_remaining_seconds%,$get(10_color)[$get(title)]                           ,))
$if(%_isplaying%,$ifgreater(11,%_time_remaining_seconds%,%_time_remaining_seconds%,))

//If time remaining is greater than 10 seconds, show normal string.

$if(%_isplaying%,$ifgreater(%_time_remaining_seconds%,10,438B7C$num(%_playlist_number%,$len(%_playlist_total%)).' '[$get(artist) - ][$get(album) - ][A0EBE1$get(title)]                           ,))


Is there a function that I could use as an "equal to"? For example $function(%_time_remaining_seconds%,9)

Any help would be greatly appreciated.
richard123
QUOTE(aimlessdrive440 @ Sep 4 2005, 03:24 PM)
Is there a function that I could use as an "equal to"? For example $function(%_time_remaining_seconds%,9)

Any help would be greatly appreciated.
*

$strcmp is a popular choice. For example,
$strcmp($num(%_time_remaining_seconds%,2),09)

see titleformat_help.html in your foobar directory
hunted
QUOTE(aimlessdrive440 @ Sep 4 2005, 12:24 PM)

Is there a function that I could use as an "equal to"? For example $function(%_time_remaining_seconds%,9)

Any help would be greatly appreciated.
*



I would use a select for this
CODE

$puts(10_color,158E21|2177A5)
$puts(9_color,168420|2891C8)
$puts(8_color,177B20|3EA3D9)
$puts(7_color,17711F|4EAADC)
$puts(6_color,18681F|61B4E0)
$puts(5_color,195E1E|71BBE3)
$puts(4_color,1A541D|7BC0E6)
$puts(3_color,1B4B1D|86C6E8)
$puts(2_color,1B411C|96CDEB)
$puts(1_color,1C381C|A8D6EE)

// this limits to 11 colors, the 10 count down ones, and the normal one
$select($min(%_time_remaining_seconds%,11),
$get(1_color) DISPLAY STUFF HERE,
$get(2_color) DISPLAY STUFF HERE,
$get(3_color) DISPLAY STUFF HERE,
$get(4_color) DISPLAY STUFF HERE,
$get(5_color) DISPLAY STUFF HERE,
$get(6_color) DISPLAY STUFF HERE,
$get(7_color) DISPLAY STUFF HERE,
$get(8_color) DISPLAY STUFF HERE,
$get(9_color) DISPLAY STUFF HERE,
$get(10_color) DISPLAY STUFF HERE,
DISPLAY NORMAL STUFF HERE)

although putting the same thing but changing the color 10 times is kind of redundant, I would maybe use another variable like curr_color, which would be set depending on the time left like above, and use that for all tracks.
aimlessdrive440
Thank you both very much for your help. I took richard's idea first since that's what I saw when I revisited this thread. I don't quite understand how the $min function works and I'd rather not invest the time to experiment with it seeing as the $strcmp is just about as efficient (uber-redundant). The important thing is that I at least got the string made though right? So here's my final code for the fade dealy:
CODE
//**************************
//********** Countdown
//**************************
//Color

$puts(10_color,158E21|2177A5)
$puts(9_color,168420|2891C8)
$puts(8_color,177B20|3EA3D9)
$puts(7_color,17711F|4EAADC)
$puts(6_color,18681F|61B4E0)
$puts(5_color,195E1E|71BBE3)
$puts(4_color,1A541D|7BC0E6)
$puts(3_color,1B4B1D|86C6E8)
$puts(2_color,1B411C|96CDEB)
$puts(1_color,1C381C|A8D6EE)

//String mess

//10

$if($and(%_isplaying%,$strcmp($num(%_time_remaining_seconds%,2),10)),$get(10_color)$num(%_playlist_number%,$len(%_playlist_total%)).' ',)
$if($and(%_isplaying%,$strcmp($num(%_time_remaining_seconds%,2),10)),$get(10_color)[$get(artist) - ],)
$if($and(%_isplaying%,$strcmp($num(%_time_remaining_seconds%,2),10)),$get(10_color)[$get(album) - ],)
$if($and(%_isplaying%,$strcmp($num(%_time_remaining_seconds%,2),10)),$get(10_color)[$get(title)]                           ,)
$if($and(%_isplaying%,$strcmp($num(%_time_remaining_seconds%,2),10)),A0EBE1%_time_remaining_seconds%,)

//9

$if($and(%_isplaying%,$strcmp($num(%_time_remaining_seconds%,2),09)),$get(9_color)$num(%_playlist_number%,$len(%_playlist_total%)).' ',)
$if($and(%_isplaying%,$strcmp($num(%_time_remaining_seconds%,2),09)),$get(9_color)[$get(artist) - ],)
$if($and(%_isplaying%,$strcmp($num(%_time_remaining_seconds%,2),09)),$get(9_color)[$get(album) - ],)
$if($and(%_isplaying%,$strcmp($num(%_time_remaining_seconds%,2),09)),$get(9_color)[$get(title)]                           ,)
$if($and(%_isplaying%,$strcmp($num(%_time_remaining_seconds%,2),09)),A0EBE1%_time_remaining_seconds%,)

//8

$if($and(%_isplaying%,$strcmp($num(%_time_remaining_seconds%,2),08)),$get(8_color)$num(%_playlist_number%,$len(%_playlist_total%)).' ',)
$if($and(%_isplaying%,$strcmp($num(%_time_remaining_seconds%,2),08)),$get(8_color)[$get(artist) - ],)
$if($and(%_isplaying%,$strcmp($num(%_time_remaining_seconds%,2),08)),$get(8_color)[$get(album) - ],)
$if($and(%_isplaying%,$strcmp($num(%_time_remaining_seconds%,2),08)),$get(8_color)[$get(title)]                           ,)
$if($and(%_isplaying%,$strcmp($num(%_time_remaining_seconds%,2),08)),A0EBE1%_time_remaining_seconds%,)

//7

$if($and(%_isplaying%,$strcmp($num(%_time_remaining_seconds%,2),07)),$get(7_color)$num(%_playlist_number%,$len(%_playlist_total%)).' ',)
$if($and(%_isplaying%,$strcmp($num(%_time_remaining_seconds%,2),07)),$get(7_color)[$get(artist) - ],)
$if($and(%_isplaying%,$strcmp($num(%_time_remaining_seconds%,2),07)),$get(7_color)[$get(album) - ],)
$if($and(%_isplaying%,$strcmp($num(%_time_remaining_seconds%,2),07)),$get(7_color)[$get(title)]                           ,)
$if($and(%_isplaying%,$strcmp($num(%_time_remaining_seconds%,2),07)),A0EBE1%_time_remaining_seconds%,)

//6

$if($and(%_isplaying%,$strcmp($num(%_time_remaining_seconds%,2),06)),$get(6_color)$num(%_playlist_number%,$len(%_playlist_total%)).' ',)
$if($and(%_isplaying%,$strcmp($num(%_time_remaining_seconds%,2),06)),$get(6_color)[$get(artist) - ],)
$if($and(%_isplaying%,$strcmp($num(%_time_remaining_seconds%,2),06)),$get(6_color)[$get(album) - ],)
$if($and(%_isplaying%,$strcmp($num(%_time_remaining_seconds%,2),06)),$get(6_color)[$get(title)]                           ,)
$if($and(%_isplaying%,$strcmp($num(%_time_remaining_seconds%,2),06)),A0EBE1%_time_remaining_seconds%,)

//5

$if($and(%_isplaying%,$strcmp($num(%_time_remaining_seconds%,2),05)),$get(5_color)$num(%_playlist_number%,$len(%_playlist_total%)).' ',)
$if($and(%_isplaying%,$strcmp($num(%_time_remaining_seconds%,2),05)),$get(5_color)[$get(artist) - ],)
$if($and(%_isplaying%,$strcmp($num(%_time_remaining_seconds%,2),05)),$get(5_color)[$get(album) - ],)
$if($and(%_isplaying%,$strcmp($num(%_time_remaining_seconds%,2),05)),$get(5_color)[$get(title)]                           ,)
$if($and(%_isplaying%,$strcmp($num(%_time_remaining_seconds%,2),05)),A0EBE1%_time_remaining_seconds%,)

//4

$if($and(%_isplaying%,$strcmp($num(%_time_remaining_seconds%,2),04)),$get(4_color)$num(%_playlist_number%,$len(%_playlist_total%)).' ',)
$if($and(%_isplaying%,$strcmp($num(%_time_remaining_seconds%,2),04)),$get(4_color)[$get(artist) - ],)
$if($and(%_isplaying%,$strcmp($num(%_time_remaining_seconds%,2),04)),$get(4_color)[$get(album) - ],)
$if($and(%_isplaying%,$strcmp($num(%_time_remaining_seconds%,2),04)),$get(4_color)[$get(title)]                           ,)
$if($and(%_isplaying%,$strcmp($num(%_time_remaining_seconds%,2),04)),A0EBE1%_time_remaining_seconds%,)

//3

$if($and(%_isplaying%,$strcmp($num(%_time_remaining_seconds%,2),03)),$get(3_color)$num(%_playlist_number%,$len(%_playlist_total%)).' ',)
$if($and(%_isplaying%,$strcmp($num(%_time_remaining_seconds%,2),03)),$get(3_color)[$get(artist) - ],)
$if($and(%_isplaying%,$strcmp($num(%_time_remaining_seconds%,2),03)),$get(3_color)[$get(album) - ],)
$if($and(%_isplaying%,$strcmp($num(%_time_remaining_seconds%,2),03)),$get(3_color)[$get(title)]                           ,)
$if($and(%_isplaying%,$strcmp($num(%_time_remaining_seconds%,2),03)),A0EBE1%_time_remaining_seconds%,)

//2

$if($and(%_isplaying%,$strcmp($num(%_time_remaining_seconds%,2),02)),$get(2_color)$num(%_playlist_number%,$len(%_playlist_total%)).' ',)
$if($and(%_isplaying%,$strcmp($num(%_time_remaining_seconds%,2),02)),$get(2_color)[$get(artist) - ],)
$if($and(%_isplaying%,$strcmp($num(%_time_remaining_seconds%,2),02)),$get(2_color)[$get(album) - ],)
$if($and(%_isplaying%,$strcmp($num(%_time_remaining_seconds%,2),02)),$get(2_color)[$get(title)]                           ,)
$if($and(%_isplaying%,$strcmp($num(%_time_remaining_seconds%,2),02)),A0EBE1%_time_remaining_seconds%,)

//1

$if($and(%_isplaying%,$strcmp($num(%_time_remaining_seconds%,2),01)),$get(1_color)$num(%_playlist_number%,$len(%_playlist_total%)).' ',)
$if($and(%_isplaying%,$strcmp($num(%_time_remaining_seconds%,2),01)),$get(1_color)[$get(artist) - ],)
$if($and(%_isplaying%,$strcmp($num(%_time_remaining_seconds%,2),01)),$get(1_color)[$get(album) - ],)
$if($and(%_isplaying%,$strcmp($num(%_time_remaining_seconds%,2),01)),$get(1_color)[$get(title)]                           ,)
$if($and(%_isplaying%,$strcmp($num(%_time_remaining_seconds%,2),01)),A0EBE1%_time_remaining_seconds%,)


$if(%_isplaying%,$ifgreater(%_time_remaining_seconds%,10,438B7C$num(%_playlist_number%,$len(%_playlist_total%)).' '[$get(artist) - ][$get(album) - ][A0EBE1$get(title)]                           ,))


Once again, I appreciate the prompt feedback. So now for another one of my questions, "-check mark appears on left when track has been submitted to audioscrobbler".

Thanks in advance for your continued support smile.gif
Silverbolt
QUOTE(aimlessdrive440 @ Sep 4 2005, 08:51 PM)
So now for another one of my questions, "-check mark appears on left when track has been submitted to audioscrobbler".
*

I don't think there's any way you can determine if a track's been submitted through titleformatting yet, but here's something similar:
CODE
$if($greater($muldiv(%_time_elapsed_seconds%,100,%_time_total_seconds%),49),$char(10003))

It'll display a check mark once the track hits >= 50%. Note that it'll still display a check even if foo_audioscrobbler doesn't actually submit, i.e. you manually seek to 50+% instead of playing the track.
Crazysah
How do you add these format stings?
Silverbolt
QUOTE(Crazysah @ Sep 5 2005, 05:08 AM)
How do you add these format stings?
*

if you're using..
the default UI, Preferences > Display > Title formatting > paste in the Playlist tab
Columns UI (for fb2k 0.9 beta), Preferences > Display > Columns UI > Playlist view > Columns tab > paste in Display tab in the column of your choice (or create a new column)
Columns UI (for fb2k 0.8.3), Preferences > Display > Columns UI > Columns tab > same as above
butmunch
I don't like being spoonfed, but i'ma t a loss. Is there anyway to make things appear for about 5 seconds, and then change (say like, song info for 5 seconds, and then tech infor for the next five) continually, for the track info box. I've tried innumerable things, but can never get it to stay long enough, or work correctly sad.gif
Silverbolt
QUOTE(butmunch @ Sep 6 2005, 01:22 PM)
Is there anyway to make things appear for about 5 seconds, and then change (say like, song info for 5 seconds, and then tech infor for the next five) continually...
*

CODE
$if($greater($mod(%_time_elapsed_seconds%,10),4),Song info,Tech info)
butmunch
QUOTE(Silverbolt @ Sep 6 2005, 09:30 PM)
QUOTE(butmunch @ Sep 6 2005, 01:22 PM)
Is there anyway to make things appear for about 5 seconds, and then change (say like, song info for 5 seconds, and then tech infor for the next five) continually...
*

CODE
$if($greater($mod(%_time_elapsed_seconds%,10),4),Song info,Tech info)

*



I love you tongue.gif
takt
Does anyone have some sort of script that will sort albums by one artist, albums by various artists, and single files not in an album?

Currently I have just the sorting by albums by one artist.


Anyone point me in the right direction?

0.8.3/columns_ui
name12345
Can anyone explain me the "%piece subsection%" field? I didn't find any refence sad.gif Another question: In 0.9 there's the option to count sub-items in the album list. Is there any function to make this number available for scripting?
enjoilax
Could someone check to see that I'm doing this right?
CODE

$if(%_isplaying%,$blend(FFFFFF|FFFFFF,FFFFFF|FFFFFF,%playback_time_seconds%,10)
$select($add(1,$mod(%playback_time_seconds%,10)),
//●••••,•●•••,••●••,•••●•,••••●,•••●•,••●••,•●•••)
●••••,●●•••,●●●••,●●●●•,●●●●●,•●●●●,••●●●,•••●●,••••●,•••••)
,%tracknumber%)

Its not working (as in the circle does not move back and forth)
I use 0.8.3

Edit - original found here: http://www.hydrogenaudio.org/forums/index....%97%8F%E2%97%8F,
e2zippo
I have a problem, don't know if i'm in the right forum or not
I can't see any filenames when i do a playlist search, it's all white!

http://web.telia.com/~u22513836/wierd.jpg

I'm using Columns UI and a some fsc from around here.

Please help a poor noob wink.gif
tagliebe
Hi guys!

Maybe someone can use this. I wrote some quick 'n' dirty python code to create a multi-color-gradient progress bar for foobar. There's a progressBar function with the following arguments:

progressBar(var, lowVal, highVal, trueStr, falseStr, gradients)

It reproduces the behavior of $progress2().

If you call it like this:

progressBar('%bitrate%', 0, 310, chr(187), '$rgb(100,100,100)' + chr(187), [((172,96,38), (239,164,5), 12), ((239,164,5), (89,198,230), 12), ((89,198,230), (255,255,255), 12)])

Then you get a string that looks like this in trackinfo panel:
IPB Image

(It's still a first draft for my personal needs)
haloeight
If a flac file has an embedded cue sheet, what string do I need to make foobar display title and artist information for each subtrack?

This is my playlist formatting string. Proper display of cuesheet track titles and artists works when using an external cue sheet but I'm not sure on what kind of "if" statement I need to do the same for embedded cue sheets.

CODE
%directoryname% \ $if($strcmp($ext(%_path%),cue),$if2(%_subsong%' - ',)$if2(%artist%' - ',)$if2(%title%,),$if($strcmp($substr(%_path_raw%,1,7),'http://'),%title%,%_filename%))
gfngfgf
QUOTE(enjoilax @ May 3 2006, 09:26 PM) *

Could someone check to see that I'm doing this right?

It works for me. If this is for your playlist, make sure you check "show dynamic information in playlist" or something like that under "Preferences->Display".
chrisrico
I spent some time working on a config for foo_osd. I broke out my programming skills (a bit rusty) and came up with this. I like the simple text look, and I like having a bunch of information showing about the track, but I didn't like having a really long OSD. So I decided to try to make one that would scroll long names for you automatically. It does just that, and you can set the max length before it starts to scroll via (one of the only, also color) easily changeable variables in the config. I have to warn you, it's pretty messy, I tried to clean it up, but...

Anyway, here's a little animation (in 2x speed) of it in action. Each part scrolls independantly, and they stay at the end for about 10 seconds, then go back to the beginning...

IPB Image

Hope somebody can enjoy it.

edit... Going to have to link it... it's too big! Maybe someone can clean it up or something. Oh, and I forgot to mention, that font is ProFont TrueType 9 point... on a 1920x1200 resolution, it's quite small.

Link!
Wicoith
QUOTE(chrisrico @ May 10 2006, 10:48) *

I spent some time working on a config for foo_osd. I broke out my programming skills (a bit rusty) and came up with this. I like the simple text look, and I like having a bunch of information showing about the track, but I didn't like having a really long OSD. So I decided to try to make one that would scroll long names for you automatically. It does just that, and you can set the max length before it starts to scroll via (one of the only, also color) easily changeable variables in the config. I have to warn you, it's pretty messy, I tried to clean it up, but...

Anyway, here's a little animation (in 2x speed) of it in action. Each part scrolls independantly, and they stay at the end for about 10 seconds, then go back to the beginning...

IPB Image

Hope somebody can enjoy it.

edit... Going to have to link it... it's too big! Maybe someone can clean it up or something. Oh, and I forgot to mention, that font is ProFont TrueType 9 point... on a 1920x1200 resolution, it's quite small.

Link!

Sweet! I cant' download it though, could you up it somewhere else? And is it possible to choose between a small and a wide bar?
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-2008 Invision Power Services, Inc.