provide a way to sync between visualization and sound
workaround for http://musicpd.org/mantis/view.php?id=2503
This commit is contained in:
@@ -521,11 +521,16 @@ void ReadConfiguration(ncmpcpp_config &conf)
|
||||
conf.mpd_music_dir = v + "/";
|
||||
}
|
||||
}
|
||||
if (cl.find("visualizer_fifo_path") != std::string::npos)
|
||||
else if (cl.find("visualizer_fifo_path") != std::string::npos)
|
||||
{
|
||||
if (!v.empty())
|
||||
conf.visualizer_fifo_path = v;
|
||||
}
|
||||
else if (cl.find("visualizer_output_name") != std::string::npos)
|
||||
{
|
||||
if (!v.empty())
|
||||
conf.visualizer_output_name = v;
|
||||
}
|
||||
else if (cl.find("mpd_port") != std::string::npos)
|
||||
{
|
||||
if (StrToInt(v))
|
||||
|
||||
Reference in New Issue
Block a user