change default songid to -1 to let us know when the first song starts playing

This commit is contained in:
unK
2008-10-14 23:46:33 +02:00
parent d732c85537
commit c672e87655

View File

@@ -686,7 +686,7 @@ mpd_Status * mpd_getStatus(mpd_Connection * connection) {
status->playlistLength = -1;
status->state = -1;
status->song = 0;
status->songid = 0;
status->songid = -1;
status->elapsedTime = 0;
status->totalTime = 0;
status->bitRate = 0;