• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Piece title formatting
#1
There exists the possibility to customize the title formatting in the library. I would like to add the custom field with brackets or a hyphen or something similar, i.e.

%title% (%custom%) or %title% - %custom%

If %custom% is empty this does not look good. So it would be great if there would be a possibility to only show the brackets or hyphen if %custom% is not empty. Does there exist something like that? If not, could this be added? I do not know what would be the best solution to do this. In the end one needs something like an if-clause in the format string, but maybe it gets to complicated.
Reply
#2
Yes, it already exists with the advanced syntax for the song title formatting. You basically have to do

%TITLE% %CUSTOM: ${VALUE}%

The syntax is %FIELD: <value if defined>|<value if not defined>%

The value if not defined section is optional. ${VALUE} inserts the value of the field.

Mike
Reply
#3
Great! Works like a charm.
Reply




Users browsing this thread:
1 Guest(s)


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2024 MyBB Group.