Remove parentheses from default song_list_format and browser_sort_format
This commit is contained in:
@@ -231,7 +231,7 @@
|
|||||||
## Note: colors can be nested.
|
## Note: colors can be nested.
|
||||||
##
|
##
|
||||||
#
|
#
|
||||||
#song_list_format = {%a - }{%t}|{$8%f$9}$R{$3(%l)$9}
|
#song_list_format = {%a - }{%t}|{$8%f$9}$R{$3%l$9}
|
||||||
#
|
#
|
||||||
#song_status_format = {{%a{ "%b"{ (%y)}} - }{%t}}|{%f}
|
#song_status_format = {{%a{ "%b"{ (%y)}} - }{%t}}|{%f}
|
||||||
#
|
#
|
||||||
@@ -274,7 +274,7 @@
|
|||||||
#
|
#
|
||||||
#browser_sort_mode = type
|
#browser_sort_mode = type
|
||||||
#
|
#
|
||||||
#browser_sort_format = {%a - }{%t}|{%f} {(%l)}
|
#browser_sort_format = {%a - }{%t}|{%f} {%l}
|
||||||
#
|
#
|
||||||
##### columns settings #####
|
##### columns settings #####
|
||||||
##
|
##
|
||||||
|
|||||||
@@ -315,7 +315,7 @@ bool Configuration::read(const std::vector<std::string> &config_paths, bool igno
|
|||||||
});
|
});
|
||||||
p.add("message_delay_time", &message_delay_time, "5");
|
p.add("message_delay_time", &message_delay_time, "5");
|
||||||
p.add("song_list_format", &song_list_format,
|
p.add("song_list_format", &song_list_format,
|
||||||
"{%a - }{%t}|{$8%f$9}$R{$3(%l)$9}", [](std::string v) {
|
"{%a - }{%t}|{$8%f$9}$R{$3%l$9}", [](std::string v) {
|
||||||
return Format::parse(v);
|
return Format::parse(v);
|
||||||
});
|
});
|
||||||
p.add("song_status_format", &song_status_format,
|
p.add("song_status_format", &song_status_format,
|
||||||
@@ -398,7 +398,7 @@ bool Configuration::read(const std::vector<std::string> &config_paths, bool igno
|
|||||||
return verbose_lexical_cast<SortMode>(v);
|
return verbose_lexical_cast<SortMode>(v);
|
||||||
});
|
});
|
||||||
p.add("browser_sort_format", &browser_sort_format,
|
p.add("browser_sort_format", &browser_sort_format,
|
||||||
"{%a - }{%t}|{%f} {(%l)}", [](std::string v) {
|
"{%a - }{%t}|{%f} {%l}", [](std::string v) {
|
||||||
return Format::parse(v, Format::Flags::Tag);
|
return Format::parse(v, Format::Flags::Tag);
|
||||||
});
|
});
|
||||||
p.add("song_columns_list_format", &song_columns_mode_format,
|
p.add("song_columns_list_format", &song_columns_mode_format,
|
||||||
|
|||||||
Reference in New Issue
Block a user