summaryrefslogtreecommitdiff
path: root/src/settings.cpp
diff options
context:
space:
mode:
authorAndrzej Rybczak <electricityispower@gmail.com>2009-03-07 12:26:16 +0100
committerAndrzej Rybczak <electricityispower@gmail.com>2009-03-07 12:26:16 +0100
commita4599fffe706e63688d5b1ab23160d8d55d8a9eb (patch)
tree98f6cbfe51b2bd52953bbb79001728ccf4ab45b2 /src/settings.cpp
parent93fd687ec1b30a9dd89e1972a2237d6d70228e4d (diff)
speed up browsing media library
the way media library was searching for albums was wrong and by the way totally inefficient.
Diffstat (limited to 'src/settings.cpp')
-rw-r--r--src/settings.cpp6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/settings.cpp b/src/settings.cpp
index 50b3c0cf..ccca7bdf 100644
--- a/src/settings.cpp
+++ b/src/settings.cpp
@@ -224,7 +224,6 @@ void DefaultConfiguration(ncmpcpp_config &conf)
conf.song_status_format = "{(%l) }{%a - }{%t}|{%f}";
conf.song_window_title_format = "{%a - }{%t}|{%f}";
conf.song_library_format = "{%n - }{%t}|{%f}";
- conf.media_lib_album_format = "{(%y) }%b";
conf.tag_editor_album_format = "{(%y) }%b";
conf.browser_playlist_prefix << clRed << "(playlist)" << clEnd << ' ';
conf.pattern = "%n - %t";
@@ -506,11 +505,6 @@ void ReadConfiguration(ncmpcpp_config &conf)
if (!v.empty())
conf.song_library_format = v;
}
- else if (cl.find("media_library_album_format") != string::npos)
- {
- if (!v.empty())
- conf.media_lib_album_format = v;
- }
else if (cl.find("tag_editor_album_format") != string::npos)
{
if (!v.empty())