X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=stat.c;h=514ca3f3b7f065e6d1a06e4a0528581eb6ff047b;hp=93607df710cf389f0a8c9e3a03517a0df00bfc70;hb=192417698d9dab017ef6108fa6e9fd5ea1dc5633;hpb=152ea84aba06555f8b828fce19d9531e97ff0b21 diff --git a/stat.c b/stat.c index 93607df7..514ca3f3 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", @@ -68,7 +66,7 @@ const char *status_item_list[NUM_STAT_ITEMS] = { [SI_AFS_MODE] = "afs_mode", [SI_ATTRIBUTES] = "attributes", - [SI_DBINFO3] = "dbinfo3", + [SI_DIRECTORY] = "dir", [SI_DECODER_FLAGS] = "decoder_flags", [SI_AUDIOD_STATUS] = "audiod_status", @@ -76,12 +74,14 @@ const char *status_item_list[NUM_STAT_ITEMS] = { [SI_UPTIME] = "uptime", [SI_OFFSET] = "offset", - [SI_LENGTH] = "length", + [SI_SECONDS_TOTAL] = "seconds_total", [SI_STREAM_START] = "stream_start", [SI_CURRENT_TIME] = "current_time", [SI_AUDIOD_UPTIME] = "audiod_uptime", - [SI_SELECTOR] = "dbtool" + [SI_IMAGE_ID] = "image_id", + [SI_LYRICS_ID] = "lyrics_id", + [SI_DURATION] = "duration" }; static void dump_stat_client_list(void)