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
radfaraf
Nice work ALfred wink.gif
Stefoufou
hello,
i ve got a problem with my foobar script sad.gif
when i write it there is no problem but when i want to add colors the tracknumbers arent aligned ! i dont understand why... please help me wink.gif
Screenshot
Script

i hope you can tip me tongue.gif

edit : i ve updated screen and script but i ve got some pb again :/
musicmusic
QUOTE(Stefoufou @ Jun 14 2003 - 05:25 PM)
hello,
i ve got a problem with my foobar script sad.gif
when i write it there is no problem but when i want to add colors the tracknumbers arent aligned ! i dont understand why... please help me wink.gif

it is because the colour codes are counted in $padcut . you need to keep colour codes out of $padcut , or change script to account for it (may need $if() for that) .

theres too many $puts for me to make any sense of your script, but judging by screenshot you need to put colour code before $padcut(), using something like $if($strcmp($num(%tracknumber%,2),02),colourcode,) so it only changes colour for artist title . or maybe theres somethign else you need to do .
Stefoufou
QUOTE(musicmusic @ Jun 14 2003 - 08:57 AM)
QUOTE(Stefoufou @ Jun 14 2003 - 05:25 PM)
hello,
i ve got a problem with my foobar script sad.gif
when i write it there is no problem but when i want to add colors the tracknumbers arent aligned ! i dont understand why... please help me wink.gif

it is because the colour codes are counted in $padcut . you need to keep colour codes out of $padcut , or change script to account for it (may need $if() for that) .

theres too many $puts for me to make any sense of your script, but judging by screenshot you need to put colour code before $padcut(), using something like $if($strcmp($num(%tracknumber%,2),02),colourcode,) so it only changes colour for artist title . or maybe theres somethign else you need to do .

ok thanks you wink.gif
i understand because it doesnt work. what does "$strcmp" mean ? it dont know how to use this syntaxe sad.gif
i will return to change my script and find a solution...
musicmusic
QUOTE(Stefoufou @ Jun 14 2003 - 06:33 PM)
ok thanks you wink.gif
i understand because it doesnt work. what does "$strcmp" mean ? it dont know how to use this syntaxe sad.gif
i will return to change my script and find a solution...

I think you should look through the titleformatting help, the answer is there:
QUOTE
- $strcmp(x,y) - returns "1" when strings x and y are identical, empty string otherwise; intended for use with $if()


Basically it is used to compare strings, so in this case to check tracknumber.
yaman666
QUOTE(Stefoufou @ Jun 14 2003 - 08:25 AM)
hello,
i ve got a problem with my foobar script sad.gif
when i write it there is no problem but when i want to add colors the tracknumbers arent aligned ! i dont understand why... please help me wink.gif
Screenshot
Script

i hope you can tip me tongue.gif

edit : i ve updated screen and script but i ve got some pb again :/

The easiest thing to do would be to pad/truncate inside the select statement, like this:

Old:
CODE
//infos artiste et album
//
$puts(infos,
$padcut(
$select($min(%tracknumber%,6),
+$repeat($get(trait),35),
|$get(artiste),
|$get(album),
|$get(bitrate),
|$get(annee),
|$repeat( ,35)
)
,35)
)

Change to:
CODE
//infos artiste et album
//
$puts(column,35)
$puts(infos,
$select($min(%tracknumber%,6),
+$repeat($get(trait),$get(column)),
|$get(bleu1)$padcut( $get(artiste),$get(column)),
|$get(bleu2)$padcut( $get(album),$get(column)),
|$get(bleu3)$padcut( $get(bitrate),$get(column)),
|$get(bleu4)$padcut( $get(annee),$get(column)),
|$repeat( ,$get(column))
)
)
Stefoufou
@ yaman666 : thanks you very much your solution is very well wink.gif now i can continue my work whithout any problems
forgive me if i dont speak more but my english isnt very good !

@ musicmusic : i hadnt seen that there was a help ! i always look at it now smile.gif
Supachikn
CODE
$puts(artistcolor,0600F2)$puts(genrecolor,F20018)$puts(tracknumbercolor,00F21F)$puts(yearcolor,0E7EE4)$puts(albumcolor,4AE1DA)$puts(codeccolor,E37748)$puts(tagscolor,E9D843)$puts(titlecolor,DA529C)$puts(separatorcolor,797979)$puts(artist,$char(3)$get(artistcolor)$char(3)$padcut([%artist%],45)$char(3)$char(3))$puts(year,$char(3)$get(yearcolor)$char(3)$padcut([%year%][%date%],45)$char(3)$char(3))$puts(album,$char(3)$get(albumcolor)$char(3)$padcut([%album%],45)$char(3)$char(3))$puts(genre,$char(3)$get(genrecolor)$char(3)$padcut($caps([%genre%]),25)$char(3)$char(3))$puts(codec,$char(3)$get(codeccolor)$char(3)$padcut([$caps(%__codec%)],25)$char(3)$char(3))$puts(tags,$char(3)$get(tagscolor)$char(3)$padcut($caps([%__tagtype%]),25)$char(3)$char(3))$puts(tracknumber,$char(3)$get(tracknumbercolor)$char(3)$num(%tracknumber%,2)$char(3)$char(3))$puts(title,$char(3)$get(titlecolor)$char(3)%title%$char(3)$char(3))$puts(backslash,$char(3)$get(separatorcolor)$char(3)\$char(3)$char(3))$puts(pipe,$char(3)$get(separatorcolor)$char(3)$char(9474)$char(3)$char(3))$puts(space,$char(160))$if($stricmp($num(%tracknumber%,1),1),$get(artist)$get(space)$get(backslash)$get(space)$get(genre)$get(space)$get(backslash)$get(space)$get(tracknumber)$get(space)$get(backslash)$get(space)$get(title),)$if($stricmp($num(%tracknumber%,1),2),$get(space)$get(year)$get(space)$get(backslash)$get(space)$get(codec)$get(space)$get(backslash)$get(space)$get(tracknumber)$get(space)$get(backslash)$get(space)$get(title),)$if($stricmp($num(%tracknumber%,1),3),$get(space)$get(space)$get(album)$get(space)$get(backslash)$get(space)$get(tags)$get(space)$get(backslash)$get(space)$get(tracknumber)$get(space)$get(backslash)$get(space)$get(title),)$ifgreater($num(%tracknumber%,1),3,$get(space)$get(space)$pad(,45)$get(space)$get(pipe)$get(space)$pad(,25)$get(space)$get(pipe)$get(space)$get(tracknumber)$get(space)$get(pipe)$get(space)$get(title),)


For this to work, you're going to need a fixed width font. Personally, I use lucida console.
verloren
QUOTE(AlfredSka @ Jun 14 2003 - 05:18 AM)
So it looks like I've gotten myself into a project which is a bit too time consuming for me, especially considering I'm soon leaving the country for a month and a half.  I put together a basic web page which can be used share playlist, statusbar, etc formatting scripts.  You can view the functional, but without content version of it here

I'm basically willing to give it away in hopes that someone would be willing to put time into collecting and posting the scripts in a much easier to navigate system than this thread is turning into.  I've even included some short instructions on how to maintain the site (not to mention you can PM me to ask anything).  The whole page is included in the following file: Ff2kWeb10.zip.  It has been written in simple HTML, without the use of frontpage or dreamweaver.

Anyways, even if my specific page outline doesn't get utilized, I think it would be very worthwile to have a separate page dedicated to formatting strings (much like the GUI thread did with "foobar Looks").  As it is now 4:17am, I'm going to bed, good day all.

~Alfred Ska

Alfred,

I'll take it on, so long as nobody else has grabbed it.

I like your layout, so would be happy to use that.

Let me know if this is agreeable for you, and I'll start to set it up. It can use either http://audio.ciara.us/foobar2000/ or http://foobar2000.samharris.us - anyone have a preference?

Cheers, Paul
Nivo
QUOTE(pootify @ Jun 10 2003 - 10:44 PM)
oh yeah, for those of you who wanted the code for this layout:

click here for the code

i like this one a lot... but what status bar code are youre using? Mind posting it here too?
Thanks smile.gif
upNorth
The status bar looks pretty much like one I posted some pages back.
Status Bar Code
Not sure if it is exactly the same, but you could try it.
sthayashi
I have a slight problem with the code I adapted from upNorth

What it Looks like

The Code

The only changes I made were:
a ) changing the characters so that I can use Lucida Console
b ) Added an extra space so that singles are aligned properly.

The problem is that for that first Soundtrack, all of its songs shifted over further than every with every other song.

The Incredible Machine Soundtrack as well as the rusted root song is where it typically is.

How can I solve this? Thanks.
upNorth
QUOTE(sthayashi @ Jun 17 2003 - 11:00 PM)
I have a slight problem with the code I adapted from upNorth

What it Looks like

The Code

The only changes I made were:
a ) changing the characters so that I can use Lucida Console

Don't know what you needed to do, but that's the same font as I use...
If you mean changing to $char(XXXX) I would like to know where I can find those codes smile.gif
QUOTE(sthayashi @ Jun 17 2003 - 11:00 PM)
b ) Added an extra space so that singles are aligned properly.

Guess you pushed the artist more to the right, I reckoned someone would want it like that.
QUOTE(sthayashi @ Jun 17 2003 - 11:00 PM)
The problem is that for that first Soundtrack, all of its songs shifted over further than every with every other song.

The Incredible Machine Soundtrack as well as the rusted root song is where it typically is.

How can I solve this?  Thanks.

If I understand you correctly you want the tracknumbers on a straight line.
Rewrite this:
CODE
$if(%singletrack%,  $puts(space,$get(len_min))  ,  $puts(space,$ifgreater($get(len_tag),$get(len_min),$get(len_tag),$get(len_min)))  
)

into this:
CODE
$puts(space,$get(len_min))

Then use the variable "space" to cut the info in the album column.
I have it the way it is because I don't want to cut info, just to make it look better.

Did this answer anything? smile.gif

Btw:I use a slightly updated version of that code myself, but I used yours when I wrote this.
If you don't use the %singletrack% everything is fine, but files with that tag shows up like (...) now.
Another thing you could do if you don't use Replaygain, is removing the $get(rpg) at the bottom.
sthayashi
QUOTE(upNorth @ Jun 17 2003 - 02:51 PM)
Don't know what you needed to do, but that's the same font as I use...
If you mean changing to $char(XXXX) I would like to know where I can find those codes smile.gif


If I understand you correctly you want the tracknumbers on a straight line.
Rewrite this:
CODE
$if(%singletrack%,  $puts(space,$get(len_min))  ,  $puts(space,$ifgreater($get(len_tag),$get(len_min),$get(len_tag),$get(len_min)))  
)

into this:
CODE
$puts(space,$get(len_min))

Then use the variable "space" to cut the info in the album column.
I have it the way it is because I don't want to cut info, just to make it look better.

Did this answer anything? smile.gif

Btw:I use a slightly updated version of that code myself, but I used yours when I wrote this. 
If you don't use the %singletrack% everything is fine, but files with that tag shows up like (...) now.
Another thing you could do if you don't use Replaygain, is removing the $get(rpg) at the bottom.

Excellent, It looks a lot better to me, at least on my main computer.

As for finding the char codes, what I did was the following.

1. Opened up the Character map via:
Start Menu -> Accessories -> System Tools -> Character Map

2. Selected the character I wanted:
Character map

3. Wrote down the unicode for that character (U-251C in that picture)

4. Went to calculator and found the decimal equivalent for that, which is 9500 for 251C.

5. $char(9500) corresponds to that character.


For some reason, your code didn't work for me in Lucida Console, only Terminal. Since I prefer Lucida Console over terminal, I switch out all the code until it looked right.

Thanks for contributing it. I do appreciate it.

And thanks for cleaning that little mess up for me.
AlfredSka
QUOTE(verloren @ Jun 17 2003 - 07:28 AM)
QUOTE(AlfredSka @ Jun 14 2003 - 05:18 AM)
So it looks like I've gotten myself into a project which is a bit too time consuming for me, especially considering I'm soon leaving the country for a month and a half.  I put together a basic web page which can be used share playlist, statusbar, etc formatting scripts.  You can view the functional, but without content version of it here

I'm basically willing to give it away in hopes that someone would be willing to put time into collecting and posting the scripts in a much easier to navigate system than this thread is turning into.  I've even included some short instructions on how to maintain the site (not to mention you can PM me to ask anything).  The whole page is included in the following file: Ff2kWeb10.zip.  It has been written in simple HTML, without the use of frontpage or dreamweaver.

Anyways, even if my specific page outline doesn't get utilized, I think it would be very worthwile to have a separate page dedicated to formatting strings (much like the GUI thread did with "foobar Looks").  As it is now 4:17am, I'm going to bed, good day all.

~Alfred Ska

Alfred,

I'll take it on, so long as nobody else has grabbed it.

I like your layout, so would be happy to use that.

Let me know if this is agreeable for you, and I'll start to set it up. It can use either http://audio.ciara.us/foobar2000/ or http://foobar2000.samharris.us - anyone have a preference?

Cheers, Paul

Hey Paul, glad to hear someone's willing to pick up where I left off. There is another thread on the subject here, and I think you may be able to receive help from other sources. If you need any initial help in understanding the page beyond what the short instructions supply, feel free to email me (I'll PM you my email address). Best of luck.

~Alfred Ska
vatten
QUOTE(AlfredSka @ Jun 17 2003 - 10:57 PM)
QUOTE(verloren @ Jun 17 2003 - 07:28 AM)
QUOTE(AlfredSka @ Jun 14 2003 - 05:18 AM)
So it looks like I've gotten myself into a project which is a bit too time consuming for me, especially considering I'm soon leaving the country for a month and a half.  I put together a basic web page which can be used share playlist, statusbar, etc formatting scripts.  You can view the functional, but without content version of it here

I'm basically willing to give it away in hopes that someone would be willing to put time into collecting and posting the scripts in a much easier to navigate system than this thread is turning into.  I've even included some short instructions on how to maintain the site (not to mention you can PM me to ask anything).  The whole page is included in the following file: Ff2kWeb10.zip.  It has been written in simple HTML, without the use of frontpage or dreamweaver.

Anyways, even if my specific page outline doesn't get utilized, I think it would be very worthwile to have a separate page dedicated to formatting strings (much like the GUI thread did with "foobar Looks").  As it is now 4:17am, I'm going to bed, good day all.

~Alfred Ska

Alfred,

I'll take it on, so long as nobody else has grabbed it.

I like your layout, so would be happy to use that.

Let me know if this is agreeable for you, and I'll start to set it up. It can use either http://audio.ciara.us/foobar2000/ or http://foobar2000.samharris.us - anyone have a preference?

Cheers, Paul

Hey Paul, glad to hear someone's willing to pick up where I left off. There is another thread on the subject here, and I think you may be able to receive help from other sources. If you need any initial help in understanding the page beyond what the short instructions supply, feel free to email me (I'll PM you my email address). Best of luck.

~Alfred Ska

No offence but wouldn't it be better if the page was dynamic? That way the owners of the skins can easily update and edit their skins/layouts which means a faster page and also less work for you wink.gif Just an idea, problem is, its a lot harder to find a good host then. Well oh well.. Plone would work I guess.


http://foobar2000.samharris.us would be my preference biggrin.gif
verloren
I have a pretty reasonable hosting service, but pretty negligible coding skills beyond simple HTML. So making stuff dynamic is great, if somebody can do it for me smile.gif

Cheers, Paul
smok3
just uploaded the latest-greatest config, (check my page, scroll to bottom), looks very similar to older ones, but with some semi-intelligent behaviour when 'song' is detected to be a stream.

textwriter plugin uses something like (for 'play string'):
CODE
foobar playing: $if(%title%,%title%,%_filename_ext%)
$if(%artist%, :: %artist%,)
$if(%album%, :: /%album%/,)

$if(%_time_total%,
.$lower(
$ext(%_path%)
)
,
)
Geezer
Here is an image of my config. I give my thanks to upNorth, as I borrowed his config and made some changes to suit my taste.

foobar2000

I did as sthayashi, changed the graphics to Unicode characters, as the fonts Terminal and Lime didn't suit me. I run with Lucidia Console 9p Bold.

I was trying to set a locked colum for the song titles like discussed earlier, but didn't manage to do get it to work. I would like to limit the left side with album info, and cut of long album names and set the start of the right side at a locked value.
cRoMo
Hello guys smile.gif
I made my own formatting, based on UpNorth's styling with colors borrowed from anza's and pootify's formatting. I wanted to have advanced %performer% and %album artist% stuff (BTW: changed it a little), so that's why I have based my work on UpNorth's styling. Almost everything works OK for me now, but there's one problem that I'd like to solve and actually don't know how to. It's about adding a space beetween white dividing lines and artist, genre, album and year fields. For now they keep flowing together and don't look as clear as I'd like to.
Here's the code, and here's the screenshot with visual explanation of my problem.

Could you please help me and show how to add that space, so I could be the most happy man in the world smile.gif

BTW: Is there any reference document (RFC) which regulates the name of %album artist% tag? I ask because I can see %album artist% tag in UpNorth's formatting as good as %albumartist% in tama's formatting. Which is correct, or maybe both if it's not regulated by any RFC?
upNorth
My latest config (still a work in progress though):
screenshot
code (playlist, status bar, window title)
*Added some codec and bitrate info to albums (none for single files).
*Visual changes.
*First attempt to add some kind of trackrating, visible in the rightmost column (green dots beside the Replaygain info).
I like the idea of easily seeing the songs I really like in an album. I use a custom %trackrating% tag asigned the value 0, 1 or 2.
The meaning is intended to be 0=bad, 1=ok(/I like this one) and 2=good(/gives me goosebumps smile.gif ).
Not sure if i really need the 0, as I've never used it.
Can easily be expanded to take more values, but I don't want too many because it complicates the decision and makes it more arbitrary.

@cRoMo: You visual problem is one thing I've fixed. As for the %album artist% tag, I think that is a custom tag someone came up with along the way.
I have problems with the split %album artist% for syntax highlighting, so %albumartist% might be a better choice.
I use %various% most of the time and %album artist% only for DJ compilations

Btw: There might sometimes be some minor visual problems for files with only a few tags, but this is no problem if you have at least %artist% and %title%, or none at all.
Not really a problem I encounter too often, but I will fix it later.
gimle
QUOTE(upNorth @ Jun 23 2003 - 05:09 AM)
My latest config (still a work in progress though):
screenshot
code (playlist, status bar, window title)
*Added some codec and bitrate info to albums (none for single files).
*Visual changes.
*First attempt to add some kind of trackrating, visible in the rightmost column (green dots beside the Replaygain info).
I like the idea of easily seeing the songs I really like in an album. I use a custom %trackrating% tag asigned the value 0, 1 or 2.
The meaning is intended to be 0=bad, 1=ok(/I like this one) and 2=good(/gives me goosebumps smile.gif ).
Not sure if i really need the 0, as I've never used it.
Can easily be expanded to take more values, but I don't want too many because it complicates the decision and makes it more arbitrary.

@cRoMo: You visual problem is one thing I've fixed. As for the %album artist% tag, I think that is a custom tag someone came up with along the way.
I have problems with the split %album artist% for syntax highlighting, so %albumartist% might be a better choice.
I use %various% most of the time and %album artist% only for DJ compilations

Btw: There might sometimes be some minor visual problems for files with only a few tags, but this is no problem if you have at least %artist% and %title%, or none at all.
Not really a problem I encounter too often, but I will fix it later.

hi your script its great biggrin.gif, but something its wrong in my foobar ;\ i have mp3 and m3u fine sad.gif
Screenshot

what can be?
gimle
QUOTE(gimle @ Jun 23 2003 - 12:29 PM)
QUOTE(upNorth @ Jun 23 2003 - 05:09 AM)
My latest config (still a work in progress though):
screenshot
code (playlist, status bar, window title)
*Added some codec and bitrate info to albums (none for single files).
*Visual changes.
*First attempt to add some kind of trackrating, visible in the rightmost column (green dots beside the Replaygain info).
I like the idea of easily seeing the songs I really like in an album. I use a custom %trackrating% tag asigned the value 0, 1 or 2.
The meaning is intended to be 0=bad, 1=ok(/I like this one) and 2=good(/gives me goosebumps smile.gif ).
Not sure if i really need the 0, as I've never used it.
Can easily be expanded to take more values, but I don't want too many because it complicates the decision and makes it more arbitrary.

@cRoMo: You visual problem is one thing I've fixed. As for the %album artist% tag, I think that is a custom tag someone came up with along the way.
I have problems with the split %album artist% for syntax highlighting, so %albumartist% might be a better choice.
I use %various% most of the time and %album artist% only for DJ compilations

Btw: There might sometimes be some minor visual problems for files with only a few tags, but this is no problem if you have at least %artist% and %title%, or none at all.
Not really a problem I encounter too often, but I will fix it later.

hi your script its great biggrin.gif, but something its wrong in my foobar ;\ i have mp3 and m3u fine sad.gif
Screenshot

what can be?

that songs dont have track number, this is the error, sorry tongue.gif
upNorth
Hope this helps smile.gif
The last track in every album will need a %lasttrack% tag with some value asigned to it (I use %lasttrack% = yes), but this is only for the visual appearance.
An album will also need at least 5 tracks (6 if %disc% tag is used), to display all info and visuals.
Your Jennifer Lopez album looks like a single with too few tracks for this.
Concerning your Jewel album you need to set tracknumbers. You can use the "auto track number" in masstagger to do this.
For single tracks that does not belong to an album, you can use the %singleartist% to override the formatting done to tracks that belongs to an album. That way you don't need to remove the tracknumber and such.
Albums with various artist is displayed correctly if the %various% tag is present.
If you use Replaygain, that info will show up to the right of the length of each track, as a dark gray |A| for album gain and a light gray |T| for tracks with track gain only (the value is in the statusbar...).

If this didn't help please elaborate your description of the problem.

edit: Nice to see you solved it smile.gif
Jaro
upNorth can You upload font from playlist?
upNorth
U can use this posted by musicmusic a few pages back.
QUOTE(musicmusic @ Jun 8 2003 - 09:21 PM)
If you want Lucida Console ANSI I can upload it.. (edit: http://members.lycos.co.uk/musicf/test/Lucon1.ttf )
(I assume you know how to install fonts..)
Geezer
Oh, I had missed that font in this topic! So my work replacing graphic characters with Unicode was unnecessary. Well, Better late than never. smile.gif



upNorth, I didn't fully understand the post you did earlier telling how to put the tracknumbers in a straight row (cutting long info on the left column with albuminfo).

QUOTE
If I understand you correctly you want the tracknumbers on a straight line.
Rewrite this:
CODE
$if(%singletrack%,  $puts(space,$get(len_min))  ,  $puts(space,$ifgreater($get(len_tag),$get(len_min),$get(len_tag),$get(len_min)))  
)

into this:
CODE
$puts(space,$get(len_min))

Then use the variable "space" to cut the info in the album column.
I have it the way it is because I don't want to cut info, just to make it look better.

Did this answer anything? smile.gif


I found the string and can replace it. But should I then enter a string in the beginning setting the variable space to a number which is the column that I want the right part to begin?

Like this: $puts(space,40) ?
musicmusic
QUOTE(Geezer @ Jun 24 2003 - 04:10 PM)
Oh, I had missed that font in this topic! So my work replacing graphic characters with Unicode was unnecessary. Well, Better late than never. smile.gif

Its still better to use the unicode font rather than Lucida Console ANSI (I only posted the font incase he didnt know how to change the chars from character map). (Does "Lucida Console ANSI" not come with Win 2k or Win XP ? Im not sure where I got it from then.. )

I posted the $char() codes I thought were the Lucida Console (Unicode) equivilent ones in that post too, but Im not sure if they were correct, but I think you got them...
sthayashi
QUOTE(Geezer @ Jun 24 2003 - 07:10 AM)
Oh, I had missed that font in this topic! So my work replacing graphic characters with Unicode was unnecessary. Well, Better late than never. smile.gif

I picked it up, but going through this topic is getting to be cumbersome. I had a rough time finding UpNorth's original code (and even further, since his code was derived from others, but I like his interpretation on it the best).

There was rumor that we would get a page for Format strings. Does anyone know where the status is on that? I know that I'd be happy to contribute some time and effort to see that it gets done.?
Geezer
QUOTE(Geezer @ Jun 24 2003 - 07:10 AM)
Like this: $puts(space,40) ?

Well, I should have tried before I asked, as it did work... almost completely.

It does put the tracknumbers in a straight row, but when the album title or artist is very long, it pushed just that rows track to the right. I would have prefered it to cut it off and have all tracknumbers in a row. Sorry to bug about this, but maybe there is an easy solution? (I'm really bad at coding)
cRoMo
I wonder if it is possible to add "Total album time" field in the playlist? I suppose, that it wouldn't be difficult to manage for cue sheet based on the one audio file, since we can take that file's play time lenght and put it there. The problem is to get the total time of album which consists of separate audio files. Is it possible to sum the time of all the files which form the album?
upNorth
QUOTE(Geezer @ Jun 24 2003 - 11:06 PM)
QUOTE(Geezer @ Jun 24 2003 - 07:10 AM)
Like this: $puts(space,40) ?

Well, I should have tried before I asked, as it did work... almost completely.

It does put the tracknumbers in a straight row, but when the album title or artist is very long, it pushed just that rows track to the right. I would have prefered it to cut it off and have all tracknumbers in a row. Sorry to bug about this, but maybe there is an easy solution? (I'm really bad at coding)

What you need to do, is to cut the info that is used in the first column. Artist, album, genre, disc, discname and so on.
IIRC this has to be done before you add colors, because the color codes is counted or something, but I'm not sure as I don't use it.
kljs
My fb2k

I am using upnorth's format strings for playlist, and I get the weird looking A........

am I missing some fonts or Unicode?

Using WinXP SP1........
damjanek
@kljs
just use this font.....
http://members.lycos.co.uk/musicf/test/Lucon1.ttf
kljs
already install, same thing.....weird looking A's.....
SafirXP
http://www32.brinkster.com/safirjamil/foobar2.htm just made this one... hope u guys like it! B)
CJC
gimle, what visual style or theme are u using for windows?
SafirXP
StyleXP & the style is WindowsMAX Thin! btw what does "gimle" mean?
gimle
QUOTE(CJC @ Jun 26 2003 - 08:16 AM)
gimle, what visual style or theme are u using for windows?

i use Classix 10k 2.0, you can find more Classix's themes her biggrin.gif , oh and wallpaper for that theme you can find in Florian Freundt

this is a screenshot of the full theme, and mi mod of Florian Freundt's wallpaper biggrin.gif
SafirXP
i had wondered.. what gimle was... blink.gif

anyways, awesome visual style. already d0wnloaded & applied!
Geezer
QUOTE(kljs @ Jun 26 2003 - 01:22 AM)
already install, same thing.....weird looking A's.....

Have you changed to the Lucidia Console ANSI font in Preferences - Display - Playlist Font?
GoWaN
I have made a little modification of upnorth code to be used with andale mono, in case anyone is interesed here it is:
Format string
Edit: my web server doesn't like direct links to txt files so look for nuevo format string
upNorth
MY latest playlist formatting.
Changes:
(1) Added optional cutting of the first column.
(2) Added mode select. (Album/Single).
(3) Bug fixes.

screenshot (top:Album mode, bottom:Single mode)
Playlist code

(1), (2) and the width of the first column is set at the top of the code.
Looks like this:
CODE
//**************************************
// Config
//**************************************

//Mode select: 1=album, 0=single
$puts(mode,1)

//width of column1
$puts(l_min,32)

//Cut column1 if content is longer than l_min?
//1=cut, 0=don't cut
$puts(cut_column1,0)


Default is as you can see: width 32, album mode and no cutting. This makes it look like before.

Edit: Updated playlist code because of a small fix.
tengcm
QUOTE(upNorth @ Jun 28 2003 - 06:45 AM)
MY latest playlist formatting.
Changes:
(1) Added optional cutting of the first column.
(2) Added mode select. (Album/Single).
(3) Bug fixes.

screenshot (top:Album mode, bottom:Single mode)
Playlist code

(1), (2) and the width of the first column is set at the top of the code.
Looks like this:
CODE
//**************************************
// Config
//**************************************

//Mode select: 1=album, 0=single
$puts(mode,1)

//width of column1
$puts(l_min,32)

//Cut column1 if content is longer than l_min?
//1=cut, 0=don't cut
$puts(cut_column1,0)


Default is as you can see: width 32, album mode and no cutting. This makes it look like before.

Hi, nice playlist formatting but can anybody let me know how to apply the format stings ?
I'm a newbies

thanks for the help
kljs
I am still getting those weird A's....using WinXP SP1 and upnorth's playlist format string.........the font has been installed...

Fb2k formatting weirdness

help!!!

[edit] nevermind....I was using the wrong font...didn't realize it...sorry...
Max
I have a question. Is there a command for Total Time Played???

And another one: How i can make that if the quality of an MPC file over q7 that he writes: HQ into the Copy Command or the Playlist?
upNorth
This works for both playlist and copy command.
CODE
$if($strcmp(%__mpc_profile%,''BrainDead''),'HQ')

Expand it to suit your needs for the rest of the profiles.
Max
QUOTE(upNorth @ Jun 28 2003 - 10:31 AM)
This works for both playlist and copy command.
CODE
$if($strcmp(%__mpc_profile%,''BrainDead''),'HQ')

Expand it to suit your needs for the rest of the profiles.

Great, THX!!!
Max
A new Question

Is it possible: If Artist = Album then write album: Selftitled???
upNorth
QUOTE(Max @ Jun 29 2003 - 02:26 AM)
A new Question

Is it possible: If Artist = Album then write album: Selftitled???

If you put this where you want the album info, it should do the job.
CODE
$if($strcmp($lower(%album%),$lower(%artist%)),Selftitled,%album%)

This will put 'Selftitled' if they are the same and the name of the album if they are not.

I included the lower() in case the case is not the same for album and artist.
If it is you could get away with
CODE
$if($strcmp(%album%,%artist%),Selftitled,%album%)
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.