diff options
author | Andrzej Rybczak <electricityispower@gmail.com> | 2015-09-27 12:03:58 +0200 |
---|---|---|
committer | Andrzej Rybczak <electricityispower@gmail.com> | 2015-09-27 12:05:05 +0200 |
commit | c6506d77fd55661c69e626bd19ef5c596e11a0da (patch) | |
tree | f41bcde75188b1467d16f32acba0a0f5306be70c /src/helpers.h | |
parent | d96a6f0b65dcfa7df9705e62e986c9bc110f8c25 (diff) |
media library: fix infinite loop if listallinfo fails
Diffstat (limited to 'src/helpers.h')
-rw-r--r-- | src/helpers.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/helpers.h b/src/helpers.h index 79dd6c64..9a100732 100644 --- a/src/helpers.h +++ b/src/helpers.h @@ -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); |