X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=stat.c;h=eefac72c02fe343a1e0d4d19aed7f84387cb8269;hp=adff3b706ddbed2d1bf4dac6c46e41df5459e8a0;hb=4df56926d10669ec120510957d3aa3fddb16e3c6;hpb=a551870e3ac31ff77e1757f226d3e307e4ef83fc;ds=inline diff --git a/stat.c b/stat.c index adff3b70..eefac72c 100644 --- a/stat.c +++ b/stat.c @@ -44,11 +44,9 @@ static struct list_head client_list; static int initialized; static int num_clients; -/** - * the list of all status items sent by para_server/para_audiod - */ +/** The list of all status items used by para_server/para_audiod. */ const char *status_item_list[NUM_STAT_ITEMS] = { - [SI_STATUS_BAR] = "status_bar", + [SI_BASENAME] = "basename", [SI_STATUS] = "status", [SI_NUM_PLAYED] = "num_played", @@ -66,9 +64,9 @@ const char *status_item_list[NUM_STAT_ITEMS] = { [SI_AUDIO_INFO3] = "audio_file_info3", [SI_AFS_MODE] = "afs_mode", - [SI_DBINFO2] = "dbinfo2", + [SI_ATTRIBUTES] = "attributes", - [SI_DBINFO3] = "dbinfo3", + [SI_DIRECTORY] = "dir", [SI_DECODER_FLAGS] = "decoder_flags", [SI_AUDIOD_STATUS] = "audiod_status", @@ -81,7 +79,8 @@ const char *status_item_list[NUM_STAT_ITEMS] = { [SI_CURRENT_TIME] = "current_time", [SI_AUDIOD_UPTIME] = "audiod_uptime", - [SI_SELECTOR] = "dbtool" + [SI_IMAGE_ID] = "image_id", + [SI_LYRICS_ID] = "lyrics_id" }; static void dump_stat_client_list(void)