Skip to main content

Notice

Please note that most of the software linked on this forum is likely to be safe to use. If you are unsure, feel free to ask in the relevant topics, or send a private message to an administrator or moderator. To help curb the problems of false positives, or in the event that you do find actual malware, you can contribute through the article linked here.
Topic: feature request for title formating.... (Read 2010 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

feature request for title formating....

my playlist just like this:
Quote
001|--Album Artists-------------------------------------|01:track1------------------------------------------- length
002|      --Album--                                                       |02:track2                                                 length
003|                                                               |03:track3                                                             length
004|                                                               |04:track4                                                             length
005|                                                               |05:track5                                                             length

because i use $cut(--%album artists%--$repeat(-,80),80) to show the first track of the album,but the font width of char "-" don't have the same width with other letters,so the playlist always doesn't arranged in an order ....

so i request an feature of out put relative position and locate some string in specicy relative position,this feature will ease title formating code editing,and useful....
just like this:

Quote
001|--Album Artists--------------------------------|01:track1-----------------------------------------------  length
002|      --Album--                                           |02:track2                                                             length
003|                                                               |03:track3                                                             length
004|                                                               |04:track4                                                             length
005|                                                               |05:track5                                                             length

feature request for title formating....

Reply #1
Try using tabs ($char(9)) instead.

So your string would be something like:

%tracknumber%|$if($strccmp(%tracknumber%,1),--%album% %artist%$repeat(-,200),$if($strcmp(%tracknumber%,2),  --%album%--,))$char(9)|%tracknumber%:track%tracknumber%$if($strcmp(%tracknumber%,1),$repeat(-,200),)$char(9) %length%

plus some more stuff in there, but you get the point.  The tabs will give you 3 evenly spaced colums (use more tabs in a ratio if you want to change the releative size of the columns) and anything that is longer then the column size will just get cut off (that's why I put 200 '-''s in).

feature request for title formating....

Reply #2
thanks 4 ur help,problem solved......