settings: expand '~' to home directory in execute_on_player_song_change

This commit is contained in:
Andrzej Rybczak
2016-11-16 11:29:33 +01:00
parent e3bb8aaad5
commit 6d313a282b

View File

@@ -381,8 +381,8 @@ bool Configuration::read(const std::vector<std::string> &config_paths, bool igno
p.add("execute_on_song_change", assign_default<std::string>(
execute_on_song_change, "", adjust_path
));
p.add("execute_on_player_state_change", assign_default(
execute_on_player_state_change, ""
p.add("execute_on_player_state_change", assign_default<std::string>(
execute_on_player_state_change, "", adjust_path
));
p.add("playlist_show_mpd_host", yes_no(
playlist_show_mpd_host, false