do not support song format for command that is executed on song change

This commit is contained in:
Andrzej Rybczak
2009-08-23 21:42:54 +02:00
parent f5ea4634b1
commit 56fd7bd7fc
2 changed files with 6 additions and 4 deletions

View File

@@ -368,7 +368,7 @@ void NcmpcppStatusChanged(Connection *, StatusChanges changed, void *)
np = Mpd.GetCurrentSong();
if (!Config.execute_on_song_change.empty())
system(np.toString(Config.execute_on_song_change).c_str());
system(Config.execute_on_song_change.c_str());
if (Mpd.GetState() > psStop)
WindowTitle(utf_to_locale_cpy(np.toString(Config.song_window_title_format)));
if (Config.autocenter_mode && !myPlaylist->Main()->isFiltered())