fix assertion failure while trying to send play command in commands list

this fixes #3746
This commit is contained in:
Andrzej Rybczak
2013-04-27 19:11:16 +02:00
parent 54a1822db2
commit 7a470cdfbf
3 changed files with 34 additions and 15 deletions

View File

@@ -457,8 +457,8 @@ template <typename BufferT> void ShowTag(BufferT &buf, const std::string &tag)
buf << tag;
}
bool addSongToPlaylist(const MPD::Song &s, bool play, size_t position = -1);
void addSongsToPlaylist(const MPD::SongList &list, bool play, size_t position = -1);
bool addSongToPlaylist(const MPD::Song &s, bool play, int position = -1);
void addSongsToPlaylist(const MPD::SongList &list, bool play, int position = -1);
std::string Timestamp(time_t t);