summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: ef76f1a)
raw | patch | inline | side by side (parent: ef76f1a)
author | Max Kellermann <max.kellermann@gmail.com> | |
Fri, 17 Mar 2017 22:21:36 +0000 (23:21 +0100) | ||
committer | Max Kellermann <max.kellermann@gmail.com> | |
Fri, 17 Mar 2017 22:23:32 +0000 (23:23 +0100) |
src/mpdclient.c | patch | blob | history | |
src/mpdclient.h | patch | blob | history | |
src/screen_client.c | patch | blob | history |
diff --git a/src/mpdclient.c b/src/mpdclient.c
index 7707893a2f54338178a321157dfc2ddbdac4a5a7..2ae91b46a1dbc9af56040e9b986a9c4dd0bf67e8 100644 (file)
--- a/src/mpdclient.c
+++ b/src/mpdclient.c
if (c->status == NULL)
return mpdclient_handle_error(c);
- c->update_id = mpd_status_get_update_id(c->status);
-
c->volume = mpd_status_get_volume(c->status);
/* check if the playlist needs an update */
diff --git a/src/mpdclient.h b/src/mpdclient.h
index fb083b9c4fe2cd23d21644cfe85698250b7cca60..1d4dbc94de6f86da2ace405056756e446dfa306a 100644 (file)
--- a/src/mpdclient.h
+++ b/src/mpdclient.h
const struct mpd_song *song;
int volume;
- unsigned update_id;
/**
* A bit mask of idle events occurred since the last update.
diff --git a/src/screen_client.c b/src/screen_client.c
index f291c7c57380b21bcf842aadf3001046114a599d..c70257fe7020891658a4f727d65b74c7a5e267da 100644 (file)
--- a/src/screen_client.c
+++ b/src/screen_client.c
return;
}
- /* set update_id to make sure the browse callback gets called
- even if the update has finished before status is updated */
- c->update_id = id;
-
if (path != NULL && *path != 0) {
char *path_locale = utf8_to_locale(path);
screen_status_printf(_("Database update of %s started"), path);