fix compilation --without-taglib

This commit is contained in:
Andrzej Rybczak
2012-09-07 22:39:38 +02:00
parent c935dcf11a
commit a834a8b3af
4 changed files with 7 additions and 2 deletions

View File

@@ -349,6 +349,7 @@ void Display::Songs(NC::Menu<MPD::Song> &menu, HasSongs *screen, const std::stri
showSongs(menu, menu.drawn()->value(), *screen, format);
}
#ifdef HAVE_TAGLIB_H
void Display::Tags(NC::Menu<MPD::MutableSong> &menu)
{
const MPD::MutableSong &s = menu.drawn()->value();
@@ -365,6 +366,7 @@ void Display::Tags(NC::Menu<MPD::MutableSong> &menu)
menu << s.getName() << Config.color2 << " -> " << NC::clEnd << s.getNewURI();
}
}
#endif // HAVE_TAGLIB_H
void Display::Outputs(NC::Menu<MPD::Output> &menu)
{