media library: fix infinite loop if listallinfo fails

This commit is contained in:
Andrzej Rybczak
2015-09-27 12:03:58 +02:00
parent d96a6f0b65
commit c6506d77fd
4 changed files with 26 additions and 3 deletions

View File

@@ -394,6 +394,8 @@ bool addSongToPlaylist(const MPD::Song &s, bool play, int position = -1);
const MPD::Song *currentSong(const BaseScreen *screen);
MPD::SongIterator getDatabaseIterator(MPD::Connection &mpd);
std::string timeFormat(const char *format, time_t t);
std::string Timestamp(time_t t);