add proper mpd password handling

This commit is contained in:
unknown
2008-08-20 12:35:08 +02:00
parent ea1b6d14d9
commit 19561bad4f
3 changed files with 16 additions and 11 deletions

View File

@@ -113,7 +113,7 @@ class MPDConnection
int GetElapsedTime() const { return isConnected && itsCurrentStatus ? itsCurrentStatus->elapsedTime : -1; }
unsigned int GetMaxPlaylistLength() { return itsMaxPlaylistLength; }
int GetPlaylistLength() const { return isConnected && itsCurrentStatus ? itsCurrentStatus->playlistLength : -1; }
int GetPlaylistLength() const { return isConnected && itsCurrentStatus ? itsCurrentStatus->playlistLength : 0; }
void GetPlaylistChanges(long long, SongList &) const;
string GetLastErrorMessage() const { return itsLastErrorMessage; }