settings: remove mpd_communication_mode as poling is no longer supported
This commit is contained in:
@@ -36,8 +36,6 @@
|
|||||||
#
|
#
|
||||||
#mpd_crossfade_time = "5"
|
#mpd_crossfade_time = "5"
|
||||||
#
|
#
|
||||||
#mpd_communication_mode = "notifications" (polling/notifications)
|
|
||||||
#
|
|
||||||
##### music visualizer #####
|
##### music visualizer #####
|
||||||
##
|
##
|
||||||
## Note: In order to make music visualizer work you'll
|
## Note: In order to make music visualizer work you'll
|
||||||
|
|||||||
@@ -81,9 +81,6 @@ Set connection timeout to MPD to given value.
|
|||||||
.B mpd_crossfade_time = SECONDS
|
.B mpd_crossfade_time = SECONDS
|
||||||
Default number of seconds to crossfade, if enabled by ncmpcpp.
|
Default number of seconds to crossfade, if enabled by ncmpcpp.
|
||||||
.TP
|
.TP
|
||||||
.B mpd_communication_mode = MODE
|
|
||||||
If set to 'polling', ncmpcpp will constantly poll mpd for its status. If set to 'notifications', ncmppcp will make use of 'idle' command and wait for events. This is more efficient and responsive, but may cause some trouble with <mpd-0.15, so if you run such version and encounter strange bugs (e.g. current track time not being updated), you will either have to use 'polling' or upgrade your mpd.
|
|
||||||
.TP
|
|
||||||
.B visualizer_in_stereo = yes/no
|
.B visualizer_in_stereo = yes/no
|
||||||
Should be set to 'yes', if fifo output's format was set to 44100:16:2.
|
Should be set to 'yes', if fifo output's format was set to 44100:16:2.
|
||||||
.TP
|
.TP
|
||||||
|
|||||||
@@ -173,7 +173,6 @@ void Configuration::SetDefaults()
|
|||||||
active_window_border = NC::Border::Red;
|
active_window_border = NC::Border::Red;
|
||||||
visualizer_color = NC::Color::Yellow;
|
visualizer_color = NC::Color::Yellow;
|
||||||
media_lib_primary_tag = MPD_TAG_ARTIST;
|
media_lib_primary_tag = MPD_TAG_ARTIST;
|
||||||
enable_idle_notifications = true;
|
|
||||||
colors_enabled = true;
|
colors_enabled = true;
|
||||||
playlist_show_remaining_time = false;
|
playlist_show_remaining_time = false;
|
||||||
playlist_shorten_total_times = false;
|
playlist_shorten_total_times = false;
|
||||||
@@ -571,10 +570,6 @@ void Configuration::Read()
|
|||||||
if (!v.empty())
|
if (!v.empty())
|
||||||
color2 = stringToColor(v);
|
color2 = stringToColor(v);
|
||||||
}
|
}
|
||||||
else if (name == "mpd_communication_mode")
|
|
||||||
{
|
|
||||||
enable_idle_notifications = v == "notifications";
|
|
||||||
}
|
|
||||||
else if (name == "colors_enabled")
|
else if (name == "colors_enabled")
|
||||||
{
|
{
|
||||||
colors_enabled = v == "yes";
|
colors_enabled = v == "yes";
|
||||||
|
|||||||
@@ -138,7 +138,6 @@ struct Configuration
|
|||||||
|
|
||||||
mpd_tag_type media_lib_primary_tag;
|
mpd_tag_type media_lib_primary_tag;
|
||||||
|
|
||||||
bool enable_idle_notifications;
|
|
||||||
bool colors_enabled;
|
bool colors_enabled;
|
||||||
bool playlist_show_remaining_time;
|
bool playlist_show_remaining_time;
|
||||||
bool playlist_shorten_total_times;
|
bool playlist_shorten_total_times;
|
||||||
|
|||||||
Reference in New Issue
Block a user