summaryrefslogtreecommitdiff
path: root/src/config/Migrate.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'src/config/Migrate.cxx')
-rw-r--r--src/config/Migrate.cxx9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/config/Migrate.cxx b/src/config/Migrate.cxx
index 9c1ebf7df..fa401dd2d 100644
--- a/src/config/Migrate.cxx
+++ b/src/config/Migrate.cxx
@@ -56,8 +56,17 @@ MigrateCurlProxyConfig(ConfigData &config) noexcept
"proxy_password");
}
+static void
+MigrateMadConfig(ConfigData &config) noexcept
+{
+ MigrateParamToBlockParam(config, ConfigOption::GAPLESS_MP3_PLAYBACK,
+ ConfigBlockOption::DECODER, "plugin", "mad",
+ "gapless");
+}
+
void
Migrate(ConfigData &config) noexcept
{
MigrateCurlProxyConfig(config);
+ MigrateMadConfig(config);
}