settings: remove mpd_communication_mode as poling is no longer supported

This commit is contained in:
Andrzej Rybczak
2013-04-07 13:25:15 +02:00
parent 6a3eb73a49
commit 5c610b9a41
4 changed files with 0 additions and 11 deletions

View File

@@ -173,7 +173,6 @@ void Configuration::SetDefaults()
active_window_border = NC::Border::Red;
visualizer_color = NC::Color::Yellow;
media_lib_primary_tag = MPD_TAG_ARTIST;
enable_idle_notifications = true;
colors_enabled = true;
playlist_show_remaining_time = false;
playlist_shorten_total_times = false;
@@ -571,10 +570,6 @@ void Configuration::Read()
if (!v.empty())
color2 = stringToColor(v);
}
else if (name == "mpd_communication_mode")
{
enable_idle_notifications = v == "notifications";
}
else if (name == "colors_enabled")
{
colors_enabled = v == "yes";

View File

@@ -138,7 +138,6 @@ struct Configuration
mpd_tag_type media_lib_primary_tag;
bool enable_idle_notifications;
bool colors_enabled;
bool playlist_show_remaining_time;
bool playlist_shorten_total_times;