Help - Search - Members - Calendar
Full Version: title formatting (feature request)
Hydrogenaudio Forums > Hosted Forums > foobar2000 > General - (fb2k)
windoze9x
instead of having to edit something like this:

$num(%_playlist_number%,3). [%artist% - ]$if(%title%,['['%album%[ #[%disc%/]$num(%tracknumber%,2)]'] ']%title%,%_filename_ext%)[ %_length%]

to format the playlist titles.

Is there anyway it could be coded so the user only had to enter something like:

%A - %C - %N - %T
(artist - cd title - track number - track title)

This would certainly make for less of a headache when trying to customise the title formatting. Thanks for taking the time to read this.
Canar
QUOTE(windoze9x @ Apr 27 2003 - 05:27 PM)
instead of having to edit something like this:

$num(%_playlist_number%,3). [%artist% - ]$if(%title%,['['%album%[ #[%disc%/]$num(%tracknumber%,2)]'] ']%title%,%_filename_ext%)[ %_length%]

to format the playlist titles.

Is there anyway it could be coded so the user only had to enter something like:

%A - %C - %N - %T
(artist - cd title - track number - track title)

This would certainly make for less of a headache when trying to customise the title formatting.  Thanks for taking the time to read this.

Your "%A" string works out to %artist% - %album% - %tracknumber% - %title%, which corresponds to the tags being used. This method is much more powerful, more straight-forward to learn, and makes more sense than some arcane %A. Please get the comparison right when criticizing the title formatting strings.
_Shorty
6 of one, half dozen of the other...sure, it's faster to type %A - %C etc, but it's harder to read and remember what's what. Much simpler just to have %artist% etc, more typing I can handle. I'd rather save having to learn more cryptic items than save time to type a few things, personally.
Curi0us_George
%A and %C and whatnot don't work because it woould break way too much stuff. The database (and several of the tagging formats as well) supports arbitrary names. So while %artist% is a valid entry, so is %a%, or %blorp%, or %whateverelseyouwanttonameyourentry%.

Allowing things like %A would cause problems because: 1, it's not possible to create a new custom shortcut for every new tag someone comes up with, and 2. %A %C look like "%A %" with a C stuck on the end to the title formatter, i.e. it thinks it should find the "A " entry.
anza
You can use $puts(A,%artist%) and $get(A) etc to go around this..
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.