Replace status item DBINFO3 by DIRECTORY.
[paraslash.git] / stat.c
diff --git a/stat.c b/stat.c
index 93607df710cf389f0a8c9e3a03517a0df00bfc70..3ba13b7e0d0f7655692e4421e80b30c97e1719a2 100644 (file)
--- a/stat.c
+++ b/stat.c
@@ -44,11 +44,9 @@ static struct list_head client_list;
 static int initialized;
 static int num_clients;
 
 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] = {
 const char *status_item_list[NUM_STAT_ITEMS] = {
-       [SI_STATUS_BAR] = "status_bar",
+       [SI_BASENAME] = "basename",
        [SI_STATUS] = "status",
        [SI_NUM_PLAYED] = "num_played",
 
        [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_AFS_MODE] = "afs_mode",
        [SI_ATTRIBUTES] = "attributes",
 
-       [SI_DBINFO3] = "dbinfo3",
+       [SI_DIRECTORY] = "dir",
        [SI_DECODER_FLAGS] = "decoder_flags",
        [SI_AUDIOD_STATUS] = "audiod_status",
 
        [SI_DECODER_FLAGS] = "decoder_flags",
        [SI_AUDIOD_STATUS] = "audiod_status",